CVE-2024-35219OpenAPITools openapi-generator
High 8.3
Follow: this CVE · OpenAPITools · OpenAPITools openapi-generator We alert you by email or Slack (account required).
- Priority
- 50
- CVSS 3.1
- 8.3
- EPSS
- 3.5% probability of exploitation in 30 days · percentile 90
- Auth required
- Yes
- Published
- May 27, 2024
- Updated
- Jun 17, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-22
- SSVC (CISA)
- Exploitation: proof of concept · Automatable: no · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H
What happens
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.
What to do
- Apply the vendor's security update for openapi-generator.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.openapitools:openapi-generator-online |
< 7.6.0 |
7.6.0 |
— |
Per OSV / GitHub Advisories (GHSA-g3hr-p86p-593h). Check the version in your lockfile before upgrading.
Affected products
- OpenAPITools · openapi-generator
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.