{"id":"CVE-2025-51475","aliases":["EUVD-2025-22350","GHSA-7h3r-f4vp-3r8f"],"status":"published","title":"Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus...","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().","severity":{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp","from":"cve"},"epss":{"day":"2026-11-11","score":0.00801,"percentile":0.57073,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-22"],"published":"2025-07-22T00:00:00Z","modified":"2026-10-28T02:31:14Z","products":[{"vendor":"superagi","product":"superagi"}],"references":[{"url":"https://github.com/TransformerOptimus/SuperAGI","tags":["Product","package"]},{"url":"https://github.com/TransformerOptimus/SuperAGI/pull/1463","tags":["Exploit","Issue Tracking","fix"]},{"url":"https://www.gecko.security/blog/cve-2025-51475","tags":["Exploit","Third Party Advisory","article"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-51475","tags":["advisory"]},{"url":"https://github.com/advisories/GHSA-7h3r-f4vp-3r8f"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/51xxx/CVE-2025-51475.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-51475","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().","status":"published","published":"2025-07-22T00:00:00Z","modified":"2025-07-22T19:55:08.329Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"adp"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:32:30.302289Z"}],"euvd":[{"id":"EUVD-2025-22350","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().","status":"published","published":"2025-07-22T00:00:00Z","modified":"2025-07-22T19:55:08Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T20:32:05.325431Z"}],"ghsa":[{"id":"GHSA-7h3r-f4vp-3r8f","title":"Arbitrary File Overwrite (AFO) in superagi.controllers.resources.upload in TransformerOptimus...","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().","status":"published","published":"2025-07-22T21:31:15Z","modified":"2025-07-22T21:31:26Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T15:03:05.693325Z"}],"nvd":[{"id":"CVE-2025-51475","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().","status":"published","published":"2025-07-22T20:15:25.727Z","modified":"2026-06-17T09:35:37.28Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-22"],"updated_at":"2026-11-02T14:11:19.382856Z"}],"osv":[{"id":"CVE-2025-51475","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().","status":"published","published":"2025-07-22T00:00:00Z","modified":"2026-10-28T02:31:14.885929007Z","cvss":[{"version":"3.1","score":5,"vector":"CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:N/A:N","level":"medium"}],"updated_at":"2026-11-02T15:44:50.45326Z"}]}}
