CVE-2025-51661
HIGHDescription
A path Traversal vulnerability found in FileCodeBox v2.2 and earlier allows arbitrary file writes when application is configured to use local filesystem storage. SystemFileStorage.save_file method in core/storage.py uses filenames from user input without validation to construct save_path and save files. This allows remote attackers to perform arbitrary file writes outside the intended directory by sending crafted POST requests with malicious traversal sequences to /share/file/ upload endpoint, which does not require any authorization.
Is your site exposed to CVE-2025-51661?
Run a free security scan — no signup, results in seconds.
CVSS v3.1 Score
Weakness Type (CWE)
Affected Products
| Vendor | Product |
|---|---|
| lanol | filecodebox |
References
Other References
Frequently Asked Questions
What is CVE-2025-51661? +
How severe is CVE-2025-51661? +
What products are affected by CVE-2025-51661? +
How do I check if I'm vulnerable to CVE-2025-51661? +
Related Vulnerabilities
Webmin before 2.640 does not safely construct a filename for saving of an attachment within the mailboxes component. This occurs …
esm.sh is a nobuild content delivery network(CDN) for modern web development. In 136 and earlier, a path-traversal flaw in the …
Emlog Pro 2.5.20 has an arbitrary file deletion vulnerability. This vulnerability stems from the admin/template.php component and the admin/plugin.php component. …
The WP Compress – Image Optimizer [All-In-One] plugin for WordPress is vulnerable to Directory Traversal in all versions up to, …
An authenticated, read-only user can upload a file and perform a directory traversal to have the uploaded file placed in …
The /charms endpoint on a Juju controller lacked sufficient authorization checks, allowing any user with an account on the controller …