{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2024-35219","id":"CVE-2024-35219","title":"OpenAPI Generator Online - Arbitrary File Read/Delete","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` ","descriptionLong":"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","updated":"2026-10-28T10:43:59.535494040Z","reserved":"2024-05-14T15:39:41.783Z","status":"Deferred","rejected":false,"assigner":"GitHub_M","metric":{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"GitHub_M"},"metrics":[{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"GitHub_M"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"github.com"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"OSV"},{"version":"3.1","score":8.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:H/A:H","rating":"high","source":"GitHub"}],"rating":"high","products":["OpenAPITools openapi-generator"],"affectedProducts":[{"vendor":"OpenAPITools","product":"openapi-generator","defaultStatus":null,"versions":[{"version":"< 7.6.0","status":"affected"}],"platforms":[]}],"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"],"advisory":"GHSA-g3hr-p86p-593h"}],"cwes":["CWE-22"],"aliases":["GHSA-g3hr-p86p-593h"],"references":[{"url":"https://github.com/OpenAPITools/openapi-generator/security/advisories/GHSA-g3hr-p86p-593h","tags":["x_refsource_CONFIRM","x_transferred","advisory","web"]},{"url":"https://github.com/OpenAPITools/openapi-generator/pull/18652","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/OpenAPITools/openapi-generator/commit/edbb021aadae47dcfe690313ce5119faf77f800d","tags":["x_refsource_MISC","x_transferred","fix","web"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/35xxx/CVE-2024-35219.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35219","tags":["advisory"]},{"url":"https://github.com/OpenAPITools/openapi-generator","tags":["package"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":false,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.03592,"epssPercentile":0.89679,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2024-35219","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-35219","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2024-35219","ok":true,"note":"1 package"},{"name":"GitHub Advisory","url":"https://github.com/advisories/GHSA-g3hr-p86p-593h","ok":true,"note":"GHSA-g3hr-p86p-593h"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2024-35219","ok":true,"note":"scored 2026-11-19"}],"aiTitle":false,"tech":[],"critical":[],"attention":null}