CVE-2023-27162Openapi-generator Openapi Generator
Critical 9.1 No auth needed
Follow: this CVE · Openapi-generator · Openapi-generator Openapi Generator We alert you by email or Slack (account required).
- Priority
- 70
- CVSS 3.1
- 9.1
- EPSS
- 0.9% probability of exploitation in 30 days · percentile 60
- Auth required
- No
- Published
- Mar 31, 2023
- Updated
- Jul 9, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-918
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: yes · Technical impact: total
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N
What happens
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
- Apply the vendor's security update for Openapi Generator.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.openapitools:openapi-generator-project |
≤ 6.4.0 |
no fixed version | — |
Per OSV / GitHub Advisories (GHSA-wg4w-5m5r-w3p8). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| openapi-generator | openapi_generator | ≤ 6.4.0 |
Official sources
References
Links published by the sources. Open them with care.
- gist.github.com Third Party Advisory
- github.com Product
- notes.sjtu.edu.cn Exploit Third Party Advisory