WaratekVRT Sign in

CVE-2024-35219

Severity8.3 High CVSS 3.1
Fixed in7.6.0
WeaknessPath traversal (CWE-22)
Published27 May 2024
Updated17 Jun 2026

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.

Exploitation status

Exploited

Real-world exploitation reported by VulnCheck KEV. CISA has not confirmed it.

  • CISA KEV not listed
  • VulnCheck KEV listed Exploitation reported in the wild. Honeypot sightings · earliest 2024-12-05.
  • CISA Vulnrichment exploitation: poc CISA recorded that an exploit has been demonstrated. Automatable: no, technical impact: partial.
  • Indexed PoC 1 indexed Published artifacts you can open, in Nuclei.
  • EPSS 3.6% chance in 30 days

VulnCheck KEV

Exploitation evidence from VulnCheck Known Exploited Vulnerabilities (VulnCheck KEV), used under VulnCheck's community terms. View CVE-2024-35219 in VulnCheck (free account).

EvidenceSourceDetailDate
Honeypot sighting Shadowserver honeypots Exploitation attempts seen on 285 days 2024-12-05 to 2026-11-04
IndexArtifactStarsFirst seen
Nuclei OpenAPI Generator <= 7.5.0 - Arbitrary File Read/Delete

Waratek protection

Protected by Waratek

Waratek has a rule that blocks attacks on this vulnerability.

Decided by A vulnerability class already blocked by an ARMR security rule
Finding Protected by Waratek's ARMR path-traversal security rule, which blocks this class of attack at the JVM level without a rule written for this CVE specifically. The CVE's weakness is CWE-22: Path Traversal.
Candidate fix https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d : a commit: the change itself

How to mitigate CVE-2024-35219

Upgrade the affected software to 7.6.0 or later. Until you can, Waratek RASP blocks exploitation with its path traversal rule. It runs inside the Java application, with no code changes.

Waratek RASP Runtime protection for Java applications

Affected software and releases

Maven packages

Affected and fixed versions, from OSV.dev
PackageIntroducedFixedLast affected
org.openapitools:openapi-generator-online 0 7.6.0 unbounded

Products and versions

1 product, 1 version entry
SourceVendorProductSchemeAffected versions
osv org.openapitools openapi-generator-online generic < 7.6.0

References

URLTags
https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d commit
https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h WEB
https://github.com/OpenAPITools/openapi-generator/pull/18652 WEB
https://github.com/OpenAPITools/openapi-generator PACKAGE

Timeline

Published2024-05-27By the CVE Program.
VulnCheck KEV: earliest evidence2024-12-05Date of the oldest evidence of exploitation in VulnCheck KEV's record. VulnCheck does not publish the date it listed the CVE.
NVD record modified2026-06-17NVD's own last-modified date for this record.
VulnCheck KEV: latest evidence2026-11-04Date of the newest report, exploit reference or honeypot sighting in VulnCheck KEV's record.