Skip to content
CORVASEC — Knowledge Defends
Vulnerability Explorer›CVE-2025-51661
VULNERABILITY

CVE-2025-51661

Common Vulnerabilities and Exposures record

HIGH

Summary

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.

Risk

CVSS
7.5
Severity
HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N

Timeline

Published
Nov 19, 2025 20:15
Modified
Nov 5, 2026 13:10
Last observed
Nov 5, 2026 09:00

CWE

CWE-24

Affected product identifiers

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

References