CVE-2025-51475
Unknown Unknown - Not Provided
BaseFortify

Publication date: 2025-07-22

Last updated on: 2025-10-09

Assigner: MITRE

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().
CVSS Scores
EPSS Scores
Probability:
Percentile:
Meta Information
Published
2025-07-22
Last Modified
2025-10-09
Generated
2026-05-07
AI Q&A
2025-07-22
EPSS Evaluated
2026-05-05
NVD
EUVD
Affected Vendors & Products
Showing 1 associated CPE
Vendor Product Version / Range
superagi superagi 0.0.14
Helpful Resources
Exploitability
CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-22 The product uses external input to construct a pathname that is intended to identify a file or directory that is located underneath a restricted parent directory, but the product does not properly neutralize special elements within the pathname that can cause the pathname to resolve to a location that is outside of the restricted directory.
Attack-Flow Graph
AI Powered Q&A
Can you explain this vulnerability to me?

This vulnerability is an Arbitrary File Overwrite (AFO) in the file upload functionality of TransformerOptimus SuperAGI version 0.0.14. It occurs because the application improperly handles directory traversal in the os.path.join() function and lacks proper path validation in get_root_input_dir(). As a result, remote attackers can submit specially crafted filenames to the file upload endpoint that allow them to overwrite arbitrary files on the server.


How can this vulnerability impact me? :

The vulnerability allows remote attackers to overwrite arbitrary files on the server, which can lead to unauthorized modification of critical files. This could compromise the integrity of the system, potentially allowing attackers to disrupt services, inject malicious code, or cause data loss.


Ask Our AI Assistant
Need more information? Ask your question to get an AI reply (Powered by our expertise)
0/70
EPSS Chart