CVE-2024-35219
HIGH 8.3CVSS 3.1OpenAPI Generator Online - Arbitrary File Read/Delete
OpenAPI Generator allows generation of API client libraries (SDK generation), server stubs, documentation and configuration automatically given an OpenAPI Spec. Prior to version 7.6.0, attackers can exploit a path traversal vulnerability to read and delete files and folders from an arbitrary, writable directory as anyone can set the output folder when submitting the request via the outputFolder option. The issue was fixed in version 7.6.0 by removing the usage of the outputFolder option. No known workarounds are available.
- Published
- 27 May 2024
- Last modified
- 10 Sep 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Deferred
- Weakness
- CWE-22
- Also known as
- GHSA-g3hr-p86p-593h
- Sources
- NVDJSONOSV GHSA-g3hr-p86p-593hJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| OSV | GitHub | CVSS 3.1 | HIGH 8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| OSV | Maven | org.openapitools:openapi-generator-online | < 7.6.0 | 7.6.0 |
References
- https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d · WEB
- https://github.com/OpenAPITools/openapi-generator/pull/18652 · WEB
- https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h · WEB
- https://nvd.nist.gov/vuln/detail/CVE-2024-35219 · ADVISORY
- https://github.com/OpenAPITools/openapi-generator · PACKAGE
History
- 25 Nov 2026 20:55 UTC · NVD: first stored (published 27 May 2024)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 28 May 2024)