CVE-2025-67487CWE-59CWE-61

CVE-2025-67487

High · published December 9, 2025

CVSS v3.1
8.6
EPSS
0%
Percentile
35.0
In the wild
Unconfirmed
What it is

⚠️ A sneaky flaw in Static Web Server (SWS) lets attackers potentially access sensitive files outside the web root! 📂🔍 Picture a restaurant where patrons can order any dish, but the kitchen never checks if it’s on the menu — that’s how symlinks can escape the intended boundaries and reach sensitive files! If a malicious actor gets access to the SWS root directory, they could create malicious symlinks that point to sensitive files elsewhere on the server — think unauthorized access to user data or critical configuration files. While it's not currently exploited, the risk is real, and it can lead to data leaks or information exposure.

Put simply

Picture a restaurant where patrons can order any dish, but the kitchen never checks if it’s on the menu — that’s how symlinks can escape the intended boundaries and reach sensitive files! Versions 2.40.0 and below of SWS fail to prevent symlinks from traversing outside the web root directory, allowing attackers who gain access to potentially exploit this to view restricted files by manipulating URLs or directory listings.

What to do

If a malicious actor gets access to the SWS root directory, they could create malicious symlinks that point to sensitive files elsewhere on the server — think unauthorized access to user data or critical configuration files. While it's not currently exploited, the risk is real, and it can lead to data leaks or information exposure. Upgrade your Static Web Server to version 2.40.1 to close this loophole immediately. Additionally, review your current directory permissions and server configurations to ensure enhanced security. Regular audits are also a good practice to prevent any unintended access. You've got this! Stay vigilant, follow these steps, and you'll keep your server safe and sound! 🛡️😊

The record
Technical detail
CVSS v3.1
8.6 · HIGH
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:N/A:N
CVSS v4.0
Not supplied
EPSS
0.00418 · 35.0th percentile
Weaknesses
CWE-59 · Improper Link Resolution Before File Access ('Link Following'); CWE-61 · UNIX Symbolic Link (Symlink) Following
Published
2025-12-09T21:18Z
Affected products (1)
ProductVersionsFixed in
static-web-server/static_web_server≤ 2.40.0—
References (3)
EPSS history
Timeline
  • 09 DEC 03:35Z
    Static Web Server is vulnerable to symbolic link Path Traversal
    cvelistv5