Skip to content
CVE PROGRAM SOURCE RECORD4.3 Medium

CVE-2026-75601

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

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.

Affected products

Version statuses are supplied by the assigning organization. Consult the original record for detailed ranges and platform conditions.

static-web-server static-web-server

  • < 2.44.0affected

References