CVE-2025-51661
JSON

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 packageVersionsReported by
Unspecified productn/aCVE List
lanol filecodeboxup to 2.2NVD

Classification

CWE-24

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

Sources

SourceRecordLicence
CVE ListCVE-2025-51661 changed 2025-11-20CVE Terms of Use
NVDCVE-2025-51661 changed 2026-11-05Public domain