Skip to content
MediumVulnerability

CVE-2025-51475: SuperAGI arbitrary file overwrite via file upload endpoint filenames

Identifier
CVE-2025-51475
Published
Record updated
View JSON
Known exploitation
Not listed in the CISA Known Exploited Vulnerabilities catalog at the last check.
EPSS
0.8%Estimated probability that this CVE is exploited in the next 30 days, from the FIRST Exploit Prediction Scoring System. Read on .

Summary

CVE-2025-51475 is an Arbitrary File Overwrite flaw in superagi.controllers.resources.upload in TransformerOptimus SuperAGI 0.0.14. Remote attackers can overwrite arbitrary files by submitting unsanitised filenames to the file upload endpoint, because os.path.join() handles directory traversal improperly and get_root_input_dir() performs no path validation.

Mitigation

The source does not state a fix yet. Check the original advisory for updates.