---
id: "CVE-2024-0818"
page: "https://infrastack.ai/live/CVE-2024-0818"
kind: "vulnerability"
aliases: ["CVE-2024-0818", "GHSA-2rp8-hff9-c5wr"]
title: "PaddlePaddle Path Traversal vulnerability"
severity: "critical"
cvss: 9.1
epss: 0.01058
exploited: false
status: "open"
category: "ai-tooling"
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"]
published_at: "2024-03-07T13:15:07+00:00"
first_seen_at: "2026-11-16T15:48:10+00:00"
updated_at: "2026-11-16T16:08:50+00:00"
sources: [{"source": "ghsa", "url": "https://github.com/advisories/GHSA-2rp8-hff9-c5wr", "first_seen_at": "2026-11-16T15:48:10+00:00"}, {"source": "nvd", "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-0818", "first_seen_at": "2026-11-16T16:08:50+00:00"}]
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"}]
---

# PaddlePaddle Path Traversal vulnerability

Link for people: https://infrastack.ai/live/CVE-2024-0818 (this .md is for agents)

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.

_Summary, check and fix written by a model from the sources; labelled as such._

## Affected

- pypi:paddlepaddle affected <= 2.6.0 fixed no fixed version listed
- vendor:paddlepaddle affected < 2.6.0 fixed 2.6.0

## How to check

- Check the installed version with `pip show paddlepaddle`
- Treat versions at or below `2.6.0` as affected, per the affected range in the sources
- 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
- A patch link is listed in the sources, but its content was not read

## Timeline

- 2026-11-16T15:48:10+00:00 ghsa https://github.com/advisories/GHSA-2rp8-hff9-c5wr
- 2026-11-16T16:08:50+00:00 nvd https://nvd.nist.gov/vuln/detail/CVE-2024-0818

## Documents

- [fix] Patch: github.com https://github.com/PaddlePaddle/Paddle/commit/5c50d1a8b97b310cbc36560ec36d8377d6f29d7c
- [poc] Exploit: huntr.com https://huntr.com/bounties/85b06a1b-ac0b-4096-a06d-330891570cd9

## From the sources

Arbitrary File Overwrite Via Path Traversal in paddlepaddle/paddle before 2.6

---

_Free to read, with fair use of about 60 pages a minute. For higher limits or API access: sales@infrastack.ai_
