7.5high
A path Traversal vulnerability found in FileCodeBox v2.2 and earlier allows arbitrary file writes when application is configured to use loc…
- Severity
- 7.5high CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.57% (higher than 48% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- mitre
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
| Product or package | Versions | Reported by |
|---|---|---|
| Unspecified product | n/a | CVE List |
| lanol filecodebox | up to 2.2 | NVD |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
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.
NVD (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.
References
| https://github.com/vastsa/FileCodeBox | product | |
| https://github.com/vastsa/FileCodeBox/issues/349 | exploit, issue-tracking | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2025-51661 changed 2025-11-20 | CVE Terms of Use |
| NVD | CVE-2025-51661 changed 2026-11-05 | Public domain |