CVE-2025-51475

MEDIUM
Published Jul 22, 2025 Modified Oct 9, 2025 CWE-22

Description

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().

Is your site exposed to CVE-2025-51475?

Run a free security scan — no signup, results in seconds.

CVSS v3.1 Score

5.0
MEDIUM
CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N

Weakness Type (CWE)

CWE-22 Path Traversal

Affected Products

Vendor Product
superagi superagi

References

Frequently Asked Questions

What is 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(). It has a CVSS v3.1 base score of 5.0 (MEDIUM).
How severe is CVE-2025-51475? +
CVE-2025-51475 has a CVSS v3.1 score of 5.0 out of 10, rated MEDIUM. This is a medium-severity vulnerability that should be remediated as part of regular maintenance.
What products are affected by CVE-2025-51475? +
CVE-2025-51475 affects products from superagi, specifically: superagi. Check the affected products table above for specific version ranges.
How do I check if I'm vulnerable to CVE-2025-51475? +
You can use Secably's free Website Scanner to check your website for known vulnerabilities. For infrastructure scanning, use the Port Scanner to identify exposed services that may be affected. Check the vendor advisories linked above for specific patch and version information.

Related Vulnerabilities

Don't wait for an exploit

Scan your website for vulnerabilities like CVE-2025-51475 — free, no signup required.