5.0medium
Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus SuperAGI 0.0.14 allows remote attackers to ov…
- Severity
- 5.0medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.82% (higher than 58% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- 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().
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| superagi superagi | 0.0.14 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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().
NVD (es)
Sobrescritura arbitraria de archivos (AFO) en superagi.controllers.resources.upload en TransformerOptimus SuperAGI 0.0.14 permite a atacantes remotos sobrescribir archivos arbitrarios a través de nombres de archivos sin depurar enviados al endpoint de carga de archivos, debido al manejo inadecuado del directory traversal en os.path.join() y la falta de validación de ruta en get_root_input_dir().
References
| https://github.com/TransformerOptimus/SuperAGI | product | |
| https://github.com/TransformerOptimus/SuperAGI/pull/1463 | exploit, issue-tracking | |
| https://www.gecko.security/blog/cve-2025-51475 | exploit, third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-51475 changed 2025-07-22 | CVE Terms of Use |
| NVD | CVE-2025-51475 changed 2026-06-17 | Public domain |