CVEvulnerability
CVE-2025-51661
7.5 HIGH
Official page ↗
- Status
- Analyzed
- Published
- 2025-11-19
- Last modified
- 2026-06-17
- Assigner
- [email protected]
- CVSS 3.1 (134c704f-9b21-4f2e-91b3-4a467353bcc0)
- 7.5 HIGH — CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
- Weaknesses
- CWE-24
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.
Affected configurations
• lanol filecodebox (<= 2.2)
Related
Weakness · CWE (1)
- CWE-24 Path Traversal: '../filedir' weakness
References
- https://github.com/vastsa/FileCodeBox Product
- https://github.com/vastsa/FileCodeBox/issues/349 Exploit, Issue Tracking