CVE-2025-51661 Path traversal in n/a
Remote attackers can write arbitrary files outside the intended directory via path traversal in the file upload endpoint when local storage is enabled.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2025-51661?
CVE-2025-51661 is a high-severity path traversal vulnerability in n/a, published on 19 Nov 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official 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.
Weakness: CWE-24
Which versions are affected by CVE-2025-51661?
It affects 1 product.
Products include Lanol Filecodebox.
How do I fix CVE-2025-51661?
No fix has been published for CVE-2025-51661 yet. Limit exposure of the affected software until one is available.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-51661 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-51661 exists.
Other vulnerabilities in n/a
Sources
Also known as GHSA-xpx4-57h5-9v98.