# CVE-2025-51661: A path Traversal vulnerability found in FileCodeBox v2.2 and earlier allows arbitrary file writes when application is configured to use loc…

- Severity: High 7.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:N/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.57%, higher than 48% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2025-11-19T00:00:00.000Z
- Modified: 2026-11-05T13:10:00.180Z
- Weaknesses: CWE-24
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- 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.

(As written by CVE List.)

## Affected

- Unspecified product: n/a
- lanol filecodebox: up to 2.2

## References

- <https://github.com/vastsa/FileCodeBox/issues/349> (exploit, issue-tracking)
- <https://github.com/vastsa/FileCodeBox> (product)

## Sources

- CVE List: [CVE-2025-51661](https://www.cve.org/CVERecord?id=CVE-2025-51661), CVE Terms of Use, modified 2025-11-20
- NVD: [CVE-2025-51661](https://nvd.nist.gov/vuln/detail/CVE-2025-51661), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2025-51661 · Whole record: https://cve.day/CVE-2025-51661.json · Rebuilt by cve.day 2026-11-25T22:59:07.846Z
