{"id":"CVE-2024-0818","kind":"vulnerability","aliases":["CVE-2024-0818","GHSA-2rp8-hff9-c5wr"],"related":[],"title":"PaddlePaddle Path Traversal vulnerability","description":"Arbitrary File Overwrite Via Path Traversal in paddlepaddle/paddle before 2.6","summary":"PaddlePaddle, a Python machine learning framework, has a path traversal flaw that lets an attacker write files anywhere the process can reach. The sources describe arbitrary file overwrite, which can lead to code execution depending on what gets overwritten.","severity":"critical","cvss":9.1,"epss":0.01058,"exploited":false,"exploited_at":null,"products":[{"name":"paddlepaddle","fixed":[],"affected":"<= 2.6.0","ecosystem":"pypi"},{"name":"paddlepaddle","fixed":["2.6.0"],"affected":"< 2.6.0","ecosystem":"vendor"}],"ecosystems":["pypi","vendor"],"tags":["ai-tooling","cwe-22","machine-learning","paddlepaddle","python"],"not_affected_if":["no-untrusted-file-input","paddlepaddle-newer-than-2.6.0"],"how_to_check":"- Check the installed version with `pip show paddlepaddle`\n- Treat versions at or below `2.6.0` as affected, per the affected range in the sources\n- Check whether any service accepts file paths or archives from untrusted users and passes them to PaddlePaddle","fix":"- Upgrade PaddlePaddle to a version newer than `2.6.0`; the sources do not name the exact fixed release\n- A patch link is listed in the sources, but its content was not read","status":"open","published_at":"2024-03-07T13:15:07+00:00","first_seen_at":"2026-11-16T15:48:10+00:00","triaged_at":"2026-11-16T15:50:18+00:00","updated_at":"2026-11-16T16:08:50+00:00","category":"ai-tooling","confidence":0.6,"triage":{"at":"2026-11-16T15:50:18Z","model":"claude-haiku-5-5","output":{"fix":"- Upgrade PaddlePaddle to a version newer than `2.6.0`; the sources do not name the exact fixed release\n- A patch link is listed in the sources, but its content was not read","reach":"unknown","title":"PaddlePaddle: path traversal lets attackers overwrite arbitrary files","impact":"high","summary":"PaddlePaddle, a Python machine learning framework, has a path traversal flaw that lets an attacker write files anywhere the process can reach. The sources describe arbitrary file overwrite, which can lead to code execution depending on what gets overwritten.","audience":"developers","category":"ai-tooling","nicknames":[],"who_cares":["python","paddlepaddle","machine-learning"],"confidence":0.6,"fix_status":"unknown","needs_auth":"unknown","worst_case":"Attacker overwrites arbitrary files on the host running PaddlePaddle","analyst_note":"Confirm the fixed version and the exact vulnerable entry point from the GHSA-2rp8-hff9-c5wr advisory and the linked patch.","how_to_check":"- Check the installed version with `pip show paddlepaddle`\n- Treat versions at or below `2.6.0` as affected, per the affected range in the sources\n- Check whether any service accepts file paths or archives from untrusted users and passes them to PaddlePaddle","plain_action":"","product_name":"","needs_analyst":true,"not_affected_if":["paddlepaddle-newer-than-2.6.0","no-untrusted-file-input"],"who_is_affected":"Teams running PaddlePaddle `2.6.0` or earlier in Python code, especially where file names or paths come from users or external input. Deployments where PaddlePaddle only handles trusted local models and data are less exposed. The sources do not say which entry points are reachable.","user_interaction":"unknown","product_ecosystem":"","needs_special_setup":"unknown","severity_if_unknown":"critical"},"cost_usd":0.000793,"input_tokens":4540,"output_tokens":677,"severity_before":"critical"},"analyst_status":null,"analyst_note":null,"search":"'-0818':7A,15A '-2024':6A,14A '-22':22B '2.6':76C '2rp8':10A 'ai':19B 'ai-tool':18B 'anywher':45B 'arbitrari':53B,67C 'attack':42B 'c5wr':12A 'code':60B 'cve':5A,13A 'cwe':21B 'depend':62B 'describ':52B 'execut':61B 'file':44B,54B,68C 'flaw':38B 'framework':33B 'get':65B 'ghsa':9A 'ghsa-2rp8-hff9-c5wr':8A 'hff9':11A 'lead':58B 'learn':25B,32B 'let':40B 'machin':24B,31B 'machine-learn':23B 'overwrit':55B,69C 'overwritten':66B 'paddlepaddl':1A,26B,28B 'paddlepaddle':16A,17A 'paddlepaddle/paddle':74C 'path':2A,36B,71C 'process':47B 'python':27B,30B 'reach':49B 'sourc':51B 'tool':20B 'travers':3A,37B,72C 'via':70C 'vulner':4A 'write':43B","nicknames":[],"mitigations":[],"who_affected":"Teams running PaddlePaddle `2.6.0` or earlier in Python code, especially where file names or paths come from users or external input. Deployments where PaddlePaddle only handles trusted local models and data are less exposed. The sources do not say which entry points are reachable.","tier":"B","verified":{},"analyst_revisit_at":null,"fix_status":"unknown","audience":"developers","plain_action":null,"pkeys":["paddlepaddle"],"ptokens":["paddlepaddle"],"labels":["aitooling","critical","cwe22","machinelearning","paddlepaddle","pypi","python","vendor"],"campaign_type":null,"search_a":"'-0818':7A,15A '-2024':6A,14A '2rp8':10A 'c5wr':12A 'cve':5A,13A 'ghsa':9A 'ghsa-2rp8-hff9-c5wr':8A 'hff9':11A 'paddlepaddl':1A 'paddlepaddle':16A,17A 'path':2A 'travers':3A 'vulner':4A","search_b":"'-22':22B 'ai':19B 'ai-tool':18B 'anywher':45B 'arbitrari':53B 'attack':42B 'code':60B 'cwe':21B 'depend':62B 'describ':52B 'execut':61B 'file':44B,54B 'flaw':38B 'framework':33B 'get':65B 'lead':58B 'learn':25B,32B 'let':40B 'machin':24B,31B 'machine-learn':23B 'overwrit':55B 'overwritten':66B 'paddlepaddl':26B,28B 'path':36B 'process':47B 'python':27B,30B 'reach':49B 'sourc':51B 'tool':20B 'travers':37B 'write':43B","search_c":"'2.6':76C 'arbitrari':67C 'file':68C 'overwrit':69C 'paddlepaddle/paddle':74C 'path':71C 'travers':72C 'via':70C","cause_entry":null,"cause_path":null,"disclosures_checked_at":null,"first_public_at":"2024-03-07T13:15:07+00:00","kev":null,"cvss_vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:H","cvss_by":"GitHub","poc_count":1,"sources":[{"source":"ghsa","external_id":"GHSA-2rp8-hff9-c5wr","url":"https://github.com/advisories/GHSA-2rp8-hff9-c5wr","severity":"critical","published_at":"2024-03-07T15:30:38+00:00","modified_at":"2026-11-16T15:47:49+00:00","first_seen_at":"2026-11-16T15:48:10+00:00","fetched_at":"2026-11-16T15:56:53+00:00","note":null},{"source":"nvd","external_id":"CVE-2024-0818","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-0818","severity":null,"published_at":"2024-03-07T13:15:07+00:00","modified_at":"2026-06-17T06:54:22+00:00","first_seen_at":"2026-11-16T16:08:50+00:00","fetched_at":"2026-11-16T16:08:50+00:00","note":null}],"documents":[{"id":170776,"url":"https://github.com/PaddlePaddle/Paddle/commit/5c50d1a8b97b310cbc36560ec36d8377d6f29d7c","title":"Patch: github.com","kind":"other","source":"ghsa","publisher":"vendor","text":null,"published_at":null,"relation":"fix","confidence":null,"note":"Patch: github.com"},{"id":171110,"url":"https://huntr.com/bounties/85b06a1b-ac0b-4096-a06d-330891570cd9","title":"Exploit: huntr.com","kind":"poc","source":"nvd","publisher":"research","text":null,"published_at":null,"relation":"poc","confidence":null,"note":"Exploit: huntr.com"}],"disclosures":[],"exploit_sources":[{"type":"poc","url":"https://huntr.com/bounties/85b06a1b-ac0b-4096-a06d-330891570cd9"},{"type":"epss","score":0.01058,"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-0818"}],"notice":"Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai"}