Arbitrary File Overwrite Vulnerability in TransformerOptimus by TransformerOptimus
CVE-2025-51475
5MEDIUM
What is CVE-2025-51475?
An arbitrary file overwrite vulnerability exists in the file upload functionality of TransformerOptimus SuperAGI 0.0.14. This security flaw allows remote attackers to exploit unsanitized filename submissions to the upload endpoint, leading to unauthorized overwriting of files. The issue arises from inadequate directory traversal handling within the os.path.join() function, coupled with insufficient path validation in the get_root_input_dir() method. As a result, attackers can manipulate file paths to overwrite sensitive files, posing significant risks to the integrity and confidentiality of affected systems.
