CVE-2025-67487
Static-web-server Static Web Server vulnerability
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.
Affected products
Static Web Server. The exact versions are in the references.
What to do now
- Check your exposureFind out whether Static-web-server Static Web Server runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Limit access until thenIf you cannot update at once, take the system off the internet or restrict who can reach it.
References
- github.com/static-web-server/static-web-server/security/advisories/GHSA-459f-x8vq-xjjm
- github.com/static-web-server/static-web-server/commit/308f0d26ceb9c2c8bd219315d0f539147633
- nvd.nist.gov/vuln/detail/CVE-2025-67487
- github.com/advisories/GHSA-459f-x8vq-xjjm
- nvd.nist.gov/vuln/detail/CVE-2025-67487
- cve.org/CVERecord?id=CVE-2025-67487
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.