CVE-2025-51661: FileCodeBox · Path Traversal: '../filedir
Affects FileCodeBoxSource CVE Database V5
Not known to be exploited · CVSS 7.5 High.
Data as of 26 Oct 2026, 14:05 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 46% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:NExploitation evidence
Disclosed: evidence found.
CVE published 19 Nov 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
GitHubvastsa/FileCodeBoxpkg:github/vastsa/FileCodeBoxOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
To mitigate this vulnerability, organizations should immediately implement strict input validation and sanitization on all filenames received via the /share/file/ upload endpoint. Specifically, reject or canonicalize any path traversal sequences such as '../' or absolute paths. Employ allowlists for acceptable filenames and enforce saving files strictly within designated directories using secure path resolution methods. If possible, disable local filesystem storage in favor of safer storage backends. Restrict network access to the upload endpoint using firewalls or access control lists to limit exposure. Monitor logs for suspicious upload activity and implement anomaly detection to identify exploitation attempts. Apply principle of least privilege to the application process to minimize filesystem access rights. Stay alert for official patches or updates from FileCodeBox developers and apply them promptly once available.
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.