Security mailing lists by PureSourceCode

CVE-2026-27480

MEDIUM 5.3CVSS 3.1

Static Web Server affected by timing-based username enumeration in Basic Authentication due to early response on invalid usernames

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.

Published
21 Feb 2026
Last modified
17 Jun 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-204
Also known as
GHSA-qhp6-635j-x7r2
Sources
NVDJSONOSV GHSA-qhp6-635j-x7r2JSON

Scores

SourceScored byVersionScoreVector / decision
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
OSV GitHub CVSS 3.1 MEDIUM 5.3 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD static-web-server static_web_server
cpe:2.3:a:static-web-server:static_web_server:*:*:*:*:*:rust:*:*
>= 2.1.0, < 2.41.0 2.41.0
OSV crates.io static-web-server >= 2.1.0, < 2.41.0 2.41.0

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 21 Feb 2026)
  • 25 Nov 2026 20:14 UTC · OSV: first stored (published 20 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.