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.
History

Mon, 24 Nov 2025 19:45:00 +0000

Type Values Removed Values Added
First Time appeared Lanol
Lanol filecodebox
CPEs cpe:2.3:a:lanol:filecodebox:*:*:*:*:*:*:*:*
Vendors & Products Lanol
Lanol filecodebox

Mon, 24 Nov 2025 09:15:00 +0000

Type Values Removed Values Added
First Time appeared Filecodebox
Filecodebox filecodebox
Vendors & Products Filecodebox
Filecodebox filecodebox

Thu, 20 Nov 2025 22:15:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Thu, 20 Nov 2025 21:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-24
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N'}


Wed, 19 Nov 2025 20:00:00 +0000

Type Values Removed Values Added
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.
References

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published: 2025-11-19T00:00:00.000Z

Updated: 2025-11-20T21:05:08.675Z

Reserved: 2025-06-16T00:00:00.000Z

Link: CVE-2025-51661

cve-icon Vulnrichment

Updated: 2025-11-20T21:05:01.220Z

cve-icon NVD

Status : Analyzed

Published: 2025-11-19T20:15:52.867

Modified: 2025-11-24T19:35:13.720

Link: CVE-2025-51661

cve-icon Redhat

No data.