Vulnerability Details CVE-2025-51661
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.
Exploit prediction scoring system (EPSS) score
EPSS Score 0.001
EPSS Ranking 24.8%
CVSS Severity
CVSS v3 Score 7.5
Products affected by CVE-2025-51661
-
cpe:2.3:a:lanol:filecodebox:1.1
-
cpe:2.3:a:lanol:filecodebox:1.2
-
cpe:2.3:a:lanol:filecodebox:1.4
-
cpe:2.3:a:lanol:filecodebox:1.4.1
-
cpe:2.3:a:lanol:filecodebox:1.4.3
-
cpe:2.3:a:lanol:filecodebox:1.4.4
-
cpe:2.3:a:lanol:filecodebox:1.4.5
-
cpe:2.3:a:lanol:filecodebox:1.5.1
-
cpe:2.3:a:lanol:filecodebox:1.5.2
-
cpe:2.3:a:lanol:filecodebox:1.5.3
-
cpe:2.3:a:lanol:filecodebox:1.5.4
-
cpe:2.3:a:lanol:filecodebox:1.5.6
-
cpe:2.3:a:lanol:filecodebox:1.5.7
-
cpe:2.3:a:lanol:filecodebox:1.5.9
-
cpe:2.3:a:lanol:filecodebox:1.5.9.1
-
cpe:2.3:a:lanol:filecodebox:1.5.9.2
-
cpe:2.3:a:lanol:filecodebox:1.6
-
cpe:2.3:a:lanol:filecodebox:1.7
-
cpe:2.3:a:lanol:filecodebox:2.0
-
cpe:2.3:a:lanol:filecodebox:2.1
-
cpe:2.3:a:lanol:filecodebox:2.2