CVE-2026-27480
Medium · 5.3CVSS
5.3
EPSS
0.5%
Published
Feb 21, 2026
CISA due date
—
The record
Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. In versions 2.1.0 through 2.40.1, a timing-based username enumeration vulnerability in Basic Authentication allows attackers to identify valid users by exploiting early responses for invalid usernames, enabling targeted brute-force or credential-stuffing attacks. SWS checks whether a username exists before verifying the password, causing valid usernames to follow a slower code path (e.g., bcrypt hashing) while invalid usernames receive an immediate 401 response. This timing discrepancy allows attackers to enumerate valid accounts by measuring response-time differences. This issue has been fixed in version 2.41.0.
Affected packages
| Ecosystem | Package | Introduced | Fixed |
|---|---|---|---|
| crates.io | static-web-server | 2.1.0 | 2.41.0 |
Related vulnerabilities
- GHSA-qhp6-635j-x7r2 Static Web Server affected by timing-based username enumeration in Basic Authentication… Same vulnerability
- CVE-2025-67487 Static Web Server is vulnerable to symbolic link Path Traversal Also affects static-web-server
- GHSA-459f-x8vq-xjjm Static Web Server vulnerable to a symbolic link path traversal Also affects static-web-server
- CVE-2026-89173 Smart Video Intercom System developed by Kingdom Communication Associated has a Sensitive… CWE-204
- CVE-2026-9161 Observable response discrepancy vulnerability in DernekPlus Website Template allows… CWE-204
- CVE-2026-19205 Observable response discrepancy vulnerability in GastroMenum GastroMenum Web Panel allows… CWE-204
- CVE-2026-19080 Observable response discrepancy vulnerability in Menulux Software Inc. CWE-204
- CVE-2026-78584 Observable Response Discrepancy (CWE-204) in the Kibana Osquery feature can lead to… CWE-204