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)

EPSS: 0.008 (52.3th percentile) — read the EPSS interpretation.

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.

Affected products

  • Superagi — versions 0.0.14
  • N/a — versions n/a

Weakness classification (CWE)

References

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.