Path Traversal Vulnerability in FileCodeBox by Vastsa
CVE-2025-51661
7.5HIGH
What is CVE-2025-51661?
A path traversal vulnerability in FileCodeBox versions prior to 2.2 enables remote attackers to exploit the application by sending specially crafted POST requests. The flaw occurs in the SystemFileStorage.save_file method found in core/storage.py, where user-provided filenames are used to create save paths without adequate validation. As a result, attackers can manipulate file paths and perform arbitrary file writes outside the designated directory, leading to potential unauthorized access and compromised system integrity. The vulnerability specifically affects the /share/file/upload endpoint, which lacks proper authorization controls.
