Path Traversal in Superagi
CVE-2025-51475
Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus SuperAGI 0.0.14 allows remote attackers to overwrite arbitrary files via unsanitised filenames submitted to the file upload endpoint, due to improper handling of directory traversal in os.path.join() and lack of path validation in get_root_input_dir().
Vulnerability class: Path Traversal (Directory Traversal)
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.0 (Medium). Vector: CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N.
EPSS exploit prediction
EPSS: 0.008 (55.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 55th percentile — 55.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.008 · newest: 0.008 · change: +0.000
Affected products
- Superagi — versions 0.0.14
Weakness classification (CWE)
References
- github.com/TransformerOptimus/SuperAGI (Product)
- github.com/TransformerOptimus/SuperAGI/pull/1463 (Exploit, Issue Tracking)
- www.gecko.security/blog/cve-2025-51475 (Exploit, Third Party Advisory)
Frequently asked questions
- What is CVE-2025-51475?
- CVE-2025-51475 is a medium-severity vulnerability in Superagi, classified under Path Traversal. CVSS score: 5.0/10. Published 2025-07-22.
- How severe is CVE-2025-51475?
- Medium severity. CVSS v3 base score is 5.0 out of 10.