VULNERABILITY INTELLIGENCE
CVE-2025-51661
CVSS score7.5 HIGH
EPSS probability0.57%
CISA KEVNot currently listed
Published2025-11-19
Last modified2026-06-17
CVSS vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N
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.
Weakness classification
- 134c704f-9b21-4f2e-91b3-4a467353bcc0: CWE-24
Primary references
- cve@mitre.org — Product
- cve@mitre.org — Exploit, Issue Tracking