# CVE-2023-27162: OpenAPI Generator vulnerable to Server-Side Request Forgery

- Severity: Critical 9.1 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.95%, higher than 60% of CVEs (2026-11-30)
- Public exploit code or proof of concept: 2 links below, marked "exploit"
- Published: 2023-03-31T00:00:00.000Z
- Modified: 2026-07-09T01:18:12.627Z
- Also known as: GHSA-wg4w-5m5r-w3p8
- Weaknesses: CWE-918
- SSVC (CISA-ADP): exploitation poc, automatable yes, technical impact total
- Assigned by: mitre

## 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- org.openapitools:openapi-generator-project (Maven): up to 6.4.0
- openapi-generator openapi_generator: up to 6.4.0

## Every score

- CISA-ADP: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- GitHub: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`
- NVD: CVSS:3.1 9.1 Critical `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N`

## References

- <https://notes.sjtu.edu.cn/s/2_yki_2Xq> (exploit, third-party-advisory, web)
- <https://gist.github.com/b33t1e/6121210ebd9efd4f693c73b830d8ab08> (exploit, third-party-advisory, web)
- <https://github.com/OpenAPITools/openapi-generator> (package, product)
- <https://nvd.nist.gov/vuln/detail/CVE-2023-27162> (advisory)
- <http://openapi-generator.com> (web)

## Sources

- CVE List: [CVE-2023-27162](https://www.cve.org/CVERecord?id=CVE-2023-27162), CVE Terms of Use, modified 2026-07-09
- GitHub Advisory Database: [GHSA-wg4w-5m5r-w3p8](https://github.com/advisories/GHSA-wg4w-5m5r-w3p8), CC-BY-4.0, modified 2023-11-08
- NVD: [CVE-2023-27162](https://nvd.nist.gov/vuln/detail/CVE-2023-27162), Public domain, modified 2026-07-09

---

Page: https://cve.day/CVE-2023-27162 · Whole record: https://cve.day/CVE-2023-27162.json · Rebuilt by cve.day 2026-11-25T22:58:22.935Z
