CVE-2026-27480
published medium CVSS 3.1 · 5.3Static Web Server: Timing-Based Username Enumeration in Basic Authentication
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| static-web-server | — | static-web-server>= 2.1.0, < 2.41.0 | Affected | Not stated | GitHub_M |
Description
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| static-web-server | static-web-server | >= 2.1.0, < 2.41.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-204 CWE-204: Observable Response Discrepancy
References
2Provider assertions
2GitHub_M · cna
Static Web Server: Timing-Based Username Enumeration in Basic Authentication
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- eda1dcc7ab0c12ead00db754b6397cdf10c46d577bedc15125291a4e0bd406f9
- Ingested
- 23 Sep 2026, 09:07:41 UTC
- Source record
- Official CVE record