# CVE-2024-35219: OpenAPI Generator Online - Arbitrary File Read/Delete

- Severity: High 8.3 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 3.59%, higher than 89% of CVEs (2026-12-01)
- Published: 2024-05-27T16:11:22.875Z
- Modified: 2026-09-10T03:50:00.426Z
- Also known as: GHSA-g3hr-p86p-593h
- Weaknesses: CWE-22
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- OpenAPITools openapi-generator: < 7.6.0; before 7.6.0
- org.openapitools:openapi-generator-online (Maven): before 7.6.0

## Every score

- GitHub_M: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`
- GitHub: CVSS:3.1 8.3 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H`

## References

- <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/commit/edbb021aadae47dcfe690313ce5119faf77f800d> (web)
- <https://nvd.nist.gov/vuln/detail/CVE-2024-35219> (advisory)
- <https://github.com/OpenAPITools/openapi-generator> (package)

## Sources

- CVE List: [CVE-2024-35219](https://www.cve.org/CVERecord?id=CVE-2024-35219), CVE Terms of Use, modified 2024-08-02
- GitHub Advisory Database: [GHSA-g3hr-p86p-593h](https://github.com/advisories/GHSA-g3hr-p86p-593h), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2024-35219](https://nvd.nist.gov/vuln/detail/CVE-2024-35219), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2024-35219 · Whole record: https://cve.day/CVE-2024-35219.json · Rebuilt by cve.day 2026-11-25T22:58:40.945Z
