CVE-2025-8021 files-bucket-server vulnerable to Directory Traversal
Attackers can traverse the file system to access files outside the intended directory in the files-bucket-server package.
- 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-8021?
CVE-2025-8021 is a high-severity path traversal vulnerability in files-bucket-server, published on 23 Jul 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
All versions of the package files-bucket-server are vulnerable to Directory Traversal where an attacker can traverse the file system and access files outside of the intended directory.
Weakness: CWE-22
Which versions are affected by CVE-2025-8021?
2 open source packages ship an affected version, including files-bucket-server.
| Package | Affected | Fixed in |
|---|---|---|
files-bucket-server npm | All versions to 1.2.6 | None |
files-bucket-server npm | All versions to 1.2.6 | None |
How do I fix CVE-2025-8021?
No fix has been published for CVE-2025-8021 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-8021 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-8021 exists.
Sources
Also known as GHSA-3r3j-4vrw-884j.