{"cve":"CVE-2024-35219","nvd":{"published":"2024-05-27T16:15:09.027","modified":"2026-06-17T07:34:34.040","status":"Deferred","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","score":8.3},"cwes":["CWE-22"],"references":["https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d","https://github.com/OpenAPITools/openapi-generator/pull/18652","https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h","https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d","https://github.com/OpenAPITools/openapi-generator/pull/18652"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:50:30.954589733+00:00"},"epss":{"cve":"CVE-2024-35219","score":0.03592,"percentile":0.8944,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-g3hr-p86p-593h","url":"https://osv.dev/vulnerability/GHSA-g3hr-p86p-593h","summary":"OpenAPI Generator Online - Arbitrary File Read/Delete","modified":"2026-09-10T03:50:00.426665282Z","packages":[{"ecosystem":"Maven","name":"org.openapitools:openapi-generator-online","purl":"pkg:maven/org.openapitools/openapi-generator-online","ranges":["<7.6.0"],"fixed":["7.6.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}