CVE-2024-35219: Path Traversal in OpenAPI Generator (pre-7.6.0)
A path traversal vulnerability exists in OpenAPI Generator prior to version 7.6.0. The vulnerability allows attackers to specify arbitrary output directories via the 'outputFolder' option, enabling them to read and delete files and folders from any writable directory accessible to the process. The vulnerability arises because the application does not properly validate or sanitize the 'outputFolder' parameter, allowing directory traversal sequences.
Impact, mitigation & remediation
What it means and what to do now: patch path, interim mitigations, and the assume-compromise checklist.
Impact
What an attacker gets, and what they’ve been doing with it.
Successful exploitation allows attackers to read and delete files and directories from arbitrary writable locations on the host system, potentially leading to data loss, information disclosure, or further compromise depending on the files accessed or deleted.
Mitigation
If you can’t patch tonight, do this now.
No known workarounds are available. Restrict access to the vulnerable service and ensure it runs with the least privileges necessary to minimize potential impact until the software can be upgraded.
Remediation
Patch, then assume compromise.
Upgrade OpenAPI Generator to version 7.6.0 or later, where the 'outputFolder' option has been removed to prevent this vulnerability.
Exploits
No public exploits tracked yet. Mallory keeps watching.
References
Frequently asked questions
- Is CVE-2024-35219 exploited in the wild?
- Yes. As of Oct 16, 2026, Mallory has reports of exploitation in the wild.
- Is there a public exploit for CVE-2024-35219?
- Yes. As of Oct 16, 2026, Mallory has reports of a public exploit for CVE-2024-35219.
- Is there a patch for CVE-2024-35219?
- Upgrade OpenAPI Generator to version 7.6.0 or later, where the 'outputFolder' option has been removed to prevent this vulnerability.
- How severe is CVE-2024-35219?
- CVE-2024-35219 has a CVSS v3.1 score of 8.3 (High) and an EPSS score of 3.6% (90th percentile) as of Oct 16, 2026.
Recent activity
No public activity tracked yet. Mallory keeps watching.
No public activity observed for this vulnerability.