CVE-2025-51661
Last modified
CVE-2025-51661 is a high-severity vulnerability rated 7.5/10 on the CVSS scale. 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. EPSS estimates a 0.46% chance of exploitation in the next 30 days.
Description
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.
Metrics
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
Weakness Enumeration
Affected Software
| Vendor | Product | Versions |
|---|---|---|
| Lanol | Filecodebox | <= 2.2 |
References
- https://github.com/vastsa/FileCodeBox/issues/349Exploit, Issue Tracking
Timeline
- Published
- Last Modified
- Status
- Analyzed
Frequently Asked Questions
What is CVE-2025-51661?
How severe is CVE-2025-51661?
How do I fix CVE-2025-51661?
Are you affected by CVE-2025-51661?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
