CVE-2024-35219OpenAPI Generator Online - Arbitrary File Read/Delete
- 8.3HighCVSS base score
- 3.6%Exploitation in 30 daysEPSS · top 10% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- 1Public exploitsMetasploit, Nuclei and Exploit-DB
Description
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.
Public exploit
An exploit or proof of concept is public: anyone can try it against an unpatched system. The public collections list a Nuclei template for it. CISA's SSVC rates its exploitation: a proof of concept is public.
Show the exploits1
Nuclei templates1 template
- OpenAPI Generator <= 7.5.0 - Arbitrary File Read/Delete (Nuclei template) (opens in a new tab)
http/cves/2024/CVE-2024-35219.yamlSeverity high
Modules, templates and exploits as listed by the Metasploit Framework (BSD-3-Clause), ProjectDiscovery's Nuclei templates (MIT) and the Exploit Database (GPLv2), read once a day. Where the data comes from
Timeline
ID reserved
By GitHub_M
- 13 days later
· 13 days later
Published
- 2 months later
· 2 months later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
| NVDNVD · Deferred | 3.1 | High8.3 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H |
- EPSS (exploitation in 30 days)
- 3.6% · top 10% of all CVEs (16 Nov 2026)
- CISA SSVC
- Exploitation: poc · Automatable: no · Technical impact: partial
The list uses the assigner's score when there is one, then CISA's, then NVD's: High 8.3.
Affected products
OpenAPITools · openapi-generator
- affected < 7.6.0
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- Mavenorg.openapitools:openapi-generator-onlineGHSA-g3hr-p86p-593h (opens in a new tab)
References
References3
- https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h (opens in a new tab)x_refsource_CONFIRMx_transferred
- https://github.com/OpenAPITools/openapi-generator/pull/18652 (opens in a new tab)x_refsource_MISCx_transferred
- https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d (opens in a new tab)x_refsource_MISCx_transferred
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2024-1610 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-g3hr-p86p-593h (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2024-35219)Record last updated .