CVE-2024-35219
Exploitation confirmed. First attested on 2024-12-05 by GCVE · previdian, GCVE · shadowserver.
- Published2024-05-27
- Fixed in7.6.0
- WeaknessCWE-22
Am I affected?
Debian, Ubuntu or Red Hat sometimes backport a fix without changing the upstream version number: such a version reads « to verify », never « affected ».With a domain, we read the version its public headers and pages expose. A distribution build can carry the fix under an older number.
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.
Timeline
dates in UTC- 2024-05-2716:15CVE publishedNVD
- 2024-12-0506:27Listed as exploited by GCVEGCVE
- 2024-12-0506:27Exploitation first reportedGCVE
Versions per branch
CISA-ADP · OSV| Branch | Affected | Fixed in | Source |
|---|---|---|---|
| 7.6 | < 7.6.0 | 7.6.0 | CISA-ADP · OSV |
as publishedRanges as NVD and OSV publish them; a distribution’s build can be fixed under an older number.
Products declared by the CNA1 product
As GitHub_M, the CNA that assigned this CVE, declared them in the CVE record; versions as written.
- OpenAPITools openapi-generatorAffected
- = < 7.6.0no fix stated
Source: the CNA record (CVE Program), © The MITRE Corporation,CVE terms of useCVE recordupdated 2024-05-27
Distribution builds and vendor advisories
Packages from OSV.dev and products from the vendors' CSAF advisories.
version not verifiedVersions not verified: read as OSV.dev and the vendors publish them, not checked against each vendor's release list.
Vendor advisories
- CVE-2024-35219 Red Hat Product Security
openapi-generator-online: Path traversal via outputFolder option
Fix
- Update Openapitools openapi-generator to 7.6.0
Detection
read 2026-12-04 21:56 UTC- Nuclei template
- available ProjectDiscovery
- Exploit-DB
- no entry Exploit-DB
- Proof of concept
- CISA-ADP (SSVC)PoC stated2024-05-28
- PoC-in-GitHubno public repository identifiedread 2026-12-04
- Metasploit modules
- none listed Metasploit Framework
Sources
- NVDCVE recordread 2026-10-23
- GCVEexploitation2024-12-05
- CISA-ADPSSVC decisionpoc2024-05-28
- CNACVSS 3.18.3known since 2026-10-23
- CNAweakness (CWE)CWE-22known since 2026-10-23
- FIRST EPSSEPSS score3.6 %2026-12-04
- ProjectDiscoverydetectionread 2026-12-04
- OSVaffected packages—
- GitHub AdvisoriesadvisoryHigh2024-05-28
Identifiers
- EUVD-2024-1610same flawENISA EUVD · LicenseRef-ENISA-legal-notice
- GHSA-g3hr-p86p-593hsame flawGitHub Advisory Database · CC-BY-4.0
Technical details
- CVSS v3 vector
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
- Published
- 2024-05-27
- Last modified
- 2026-06-17
- NVD status
- Deferred
- GitHub advisory
- GHSA-g3hr-p86p-593h
Frequently asked questions
What is CVE-2024-35219?
Is CVE-2024-35219 actively exploited?
What is the CVSS score for CVE-2024-35219?
Running openapi-generator-online? Hear about its next vulnerability
Surveillance reads the versions in your stack — a domain, a lockfile or a list — checks each CVE against the ranges its sources publish, and alerts you when one you run is exploited or enters CISA KEV. A version it cannot read stays « version not verified ».
No credit card required · No monthly cap on website checks · 250 API requests/month
Go further
- For a threat intelligence platform: malware, C2 and ransomware indicators over STIX/TAXII.
- Following what attackers exploit right now? The CISA KEV additions of the month, with their patch deadlines.
- Running this software? Vulnerability monitoring alerts you to new vulnerabilities in your products.
Related vulnerabilities
Same product first, then the same vendor advisory and the same publication week.
- CVE-2024-24919KEVsame weekInformation disclosure
- CVE-2024-29824KEVsame week
- CVE-2024-23692KEVsame weekRejetto HTTP File Server 2.3m Unauthenticated RCE
- CVE-2024-4358KEVsame weekRegistration Authentication Bypass Vulnerability
- CVE-2024-5274KEVsame week
- CVE-2024-29826same week
- CVE-2024-29825same week
- CVE-2024-29823same week
Sources for this record
- CVE Program · CVE Program Terms of Use
- ENISA EU Vulnerability Database · ENISA legal notice §1.2 (reproduction authorised, provided the source is acknowledged)
- FIRST EPSS · EPSS terms of use (free use, attribution requested)
- GCVE · GCVE dump terms (preserve source attribution)
- GitHub Advisory Database · CC-BY-4.0 · GHSA-g3hr-p86p-593h
- Nuclei templates · MIT
- NVD · Public domain (17 U.S.C. § 105) for NVD-authored data; third-party content under its own terms
- OSV.dev · Per record, as its publisher states it: each row carries the label in sourceLicense when one is served
- Red Hat Product Security (CSAF and VEX) · CC-BY-4.0
- CISA Vulnrichment · CC0-1.0