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.
References
Configurations

Configuration 1 (hide)

cpe:2.3:a:lanol:filecodebox:*:*:*:*:*:*:*:*

History

05 Nov 2026, 13:10

Type Values Removed Values Added
Summary
  • (es) Una vulnerabilidad de salto de ruta encontrada en FileCodeBox v2.2 y versiones anteriores permite escrituras de archivos arbitrarias cuando la aplicación está configurada para usar almacenamiento de sistema de archivos local. El método SystemFileStorage.save_file en core/storage.py utiliza nombres de archivo de la entrada del usuario sin validación para construir la ruta de guardado (save_path) y guardar archivos. Esto permite a atacantes remotos realizar escrituras de archivos arbitrarias fuera del directorio previsto enviando solicitudes POST manipuladas con secuencias de salto maliciosas al endpoint /share/file/ upload, que no requiere ninguna autorización.

24 Nov 2025, 19:35

Type Values Removed Values Added
References () https://github.com/vastsa/FileCodeBox - () https://github.com/vastsa/FileCodeBox - Product
References () https://github.com/vastsa/FileCodeBox/issues/349 - () https://github.com/vastsa/FileCodeBox/issues/349 - Exploit, Issue Tracking
CPE cpe:2.3:a:lanol:filecodebox:*:*:*:*:*:*:*:*
First Time Lanol filecodebox
Lanol

20 Nov 2025, 21:16

Type Values Removed Values Added
CVSS v2 : unknown
v3 : unknown
v2 : unknown
v3 : 7.5
CWE CWE-24

19 Nov 2025, 20:15

Type Values Removed Values Added
New CVE

Information

Published : 2025-11-19 20:15

Updated : 2026-11-05 13:10


NVD link : CVE-2025-51661

Mitre link : CVE-2025-51661

CVE.ORG link : CVE-2025-51661


JSON object : View

Products Affected

lanol

  • filecodebox
CWE
CWE-24

Path Traversal: '../filedir'