CVE-2025-67487 Static Web Server is vulnerable to symbolic link Path Traversal
An attacker with write access to the web root can create symlinks to read files outside the intended directory.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2025-67487?
CVE-2025-67487 is a medium-severity path traversal vulnerability in static-web-server, published on 9 Dec 2025. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. Versions 2.40.0 and below contain symbolic links (symlinks) which can be used to access files or directories outside the intended web root folder. SWS generally does not prevent symlinks from escaping the web server’s root directory. Therefore, if a malicious actor gains access to the web server’s root directory, they could create symlinks to access other files outside the designated web root folder either by URL or via the directory listing. This issue is fixed in version 2.40.1.
Which versions are affected by CVE-2025-67487?
2 open source packages ship an affected version, including static-web-server. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
static-web-server crates.io | All versions | 2.40.1 |
static-web-server crates.io | All versions | 2.40.1 |
Products include Static-Web-Server Static Web Server.
How do I fix CVE-2025-67487?
Upgrade static-web-server to 2.40.1 or later.
Upgrade, and resolve every user-supplied path against an allowed base folder before opening it. More about Path traversal.
Is CVE-2025-67487 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2025-67487 exists.
Other vulnerabilities in static-web-server
Sources
Also known as GHSA-459f-x8vq-xjjm.