CVE-2026-75601

Static Web Server: Authentication bypass on /metrics endpoint when --basic-auth is enabled

State
Published
Severity
4.3 Medium
Published
Aug 26, 2026
Updated
Aug 29, 2026
Reserved
Aug 17, 2026

Read the record on cve.org

Description

Static Web Server (SWS) is a production-ready web server suitable for static web files or assets. Through 2.43.0, instances with both basic-auth and metrics features enabled process the /metrics endpoint before the basic-auth check in src/handler.rs, allowing an unauthenticated remote attacker to retrieve Prometheus metrics that disclose virtual host names, request volumes, error rates, latency distributions, and active connections. This issue is fixed in version 2.44.0.

Scores

CVSSScoreVectorSource
3.14.3 MediumCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:NGitHub_M

Weaknesses

  • CWE-306 Missing Authentication for Critical Function

Affected Products

ProductVersions
static-web-serverstatic-web-server
  • < 2.44.0Affected

References

Every record here comes from the CVE Program’s CVE List. © 1999–2026 The MITRE Corporation. CVE is a registered trademark of The MITRE Corporation. The records are reproduced under the CVE Program terms of use.