CVE-2023-27162
CRITICAL 9.1CVSS 3.1OpenAPI Generator vulnerable to Server-Side Request Forgery
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.
- Published
- 31 Mar 2023
- Last modified
- 9 Jul 2026
- Assigned by
- cve@mitre.org
- NVD status
- Modified
- Weakness
- CWE-918
- Also known as
- GHSA-wg4w-5m5r-w3p8
- Sources
- NVDJSONOSV GHSA-wg4w-5m5r-w3p8JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | nvd@nist.gov (Primary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | CRITICAL 9.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | openapi-generator | openapi_generatorcpe:2.3:a:openapi-generator:openapi_generator:*:*:*:*:*:*:*:* |
<= 6.4.0 | |
| OSV | Maven | org.openapitools:openapi-generator-project | <= 6.4.0 |
References
- https://gist.github.com/b33t1e/6121210ebd9efd4f693c73b830d8ab08 · Third Party Advisory, WEB
- https://github.com/OpenAPITools/openapi-generator · Product, PACKAGE
- https://notes.sjtu.edu.cn/s/2_yki_2Xq · Exploit, Third Party Advisory, WEB
- https://nvd.nist.gov/vuln/detail/CVE-2023-27162 · ADVISORY
- http://openapi-generator.com · WEB
History
- 25 Nov 2026 20:36 UTC · NVD: first stored (published 31 Mar 2023)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 31 Mar 2023)