{"id":"CVE-2024-35219","aliases":["GHSA-g3hr-p86p-593h"],"url":"https://o3.security/vulnerability/CVE-2024-35219","summary":"OpenAPI Generator Online - Arbitrary File Read/Delete","details":"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.","published":"2024-05-27T16:11:22.875Z","modified":"2026-08-12T15:15:16.196363Z","cvss":{"score":8.3,"severity":"HIGH","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H"},"epss":null,"cisaKev":null,"exploitsKnown":0,"affectedPackages":[{"ecosystem":"Maven","name":"org.openapitools:openapi-generator-online","fixedVersion":"7.6.0"}],"fix":{"url":"https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d","label":"OpenAPITools/openapi-generator@edbb021"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35219.json"},{"type":"ADVISORY","url":"https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35219"},{"type":"FIX","url":"https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d"},{"type":"FIX","url":"https://github.com/OpenAPITools/openapi-generator/pull/18652"},{"type":"PACKAGE","url":"https://github.com/OpenAPITools/openapi-generator"}],"provenance":{"sources":["OSV.dev","FIRST.org (EPSS)"],"lastVerified":"2026-08-12T15:15:16.196363Z"}}