Skip to main content
ExploitedNot in CISA KEV yetFix available

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?

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
  1. 2024-05-2716:15CVE publishedNVD
  2. 2024-12-0506:27Listed as exploited by GCVEGCVE
  3. 2024-12-0506:27Exploitation first reportedGCVE

Versions per branch

CISA-ADP · OSV
Openapitools openapi-generator
BranchAffectedFixed in
7.6< 7.6.07.6.0

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-generator
    Affected
    • = < 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

Full record on NVD

Fix

  1. 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
Metasploit modules
none listed
Metasploit Framework

Sources

Identifiers

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?

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.

Is CVE-2024-35219 actively exploited?

A proof-of-concept exploit exists for CVE-2024-35219, but active exploitation has not been confirmed at this time.

What is the CVSS score for CVE-2024-35219?

CVE-2024-35219 has a CVSS v3 base score of 8.3 (High severity), with vector string CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H.

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

Sources for this record