CVE-2025-67487 Static Web Server is vulnerable to symbolic link Path Traversal
MediumCVSS 5.5
EPSS 0.44%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- Proof of concept public · automatable: yes · technical impact: partial
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.
Upgrade path
3 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| crates.io static-web-server(crates.io) | < 2.40.1; <= 2.40.0 | 2.40.1 | Fixed |
| static-web-server static web server | <= 2.40.0 | after 2.40.0 | Fixed |
| static-web-server | = < 2.40.1 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| crates.io static-web-server(crates.io) | < 2.40.1 | 2.40.1 |
| crates.io static-web-server(crates.io) | <= 2.40.0 | No fix listed |
| static-web-server | = < 2.40.1 | No fix listed |
| static-web-server static web server | <= 2.40.0 | No fix listed |
References
- https://github.com/static-web-server/static-web-server/security/advisories/GHSA-459f-x8vq-xjjm exploit vendor-advisory
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/static-web-server/static-web-server/commit/308f0d26ceb9c2c8bd219315d0f53914763357f2 patch
- github.com product
- github.com