CVE-2026-75601

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

Published Aug 26, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Analysis

AI-generated

Technical impact

The flaw in static-web-server allows an unauthenticated user to access the /metrics endpoint when both basic-auth and metrics features are enabled. The endpoint returns Prometheus metrics that expose virtual host names, traffic volumes, error rates, latency distributions, and active connections, giving an attacker detailed visibility into the server’s operation and potentially enabling targeted attacks or traffic analysis.

Affected Systems

The vulnerability affects static-web-server versions 2.43.0 and earlier. The product implements a basic authentication guard that is bypassed when metrics are enabled, resulting in exposed metric data. The issue was fixed in static-web-server 2.44.0.

Risk and Exploitability

The CVSS score of 4.3 indicates moderate severity focused on confidentiality. The EPSS score is not available, so the likelihood of exploitation cannot be quantified, and the vulnerability is not listed in the CISA KEV catalog. An attacker can reach the metrics endpoint remotely over HTTP, bypass authentication, and obtain sensitive server telemetry. Because the data exposed is limited to metrics, the potential damage is primarily informational but still valuable for reconnaissance or attack planning.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Upgrade static-web-server to version 2.44.0 or later.
  • If an upgrade is not immediately feasible, temporarily disable the metrics feature or basic-auth configuration until the update is applied.
  • Continuously monitor access logs for unexpected or unauthenticated requests to the /metrics endpoint.

Generated by OpenCVE AI on August 26, 2026 at 21:45 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories available
History
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'poc', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Static-web-server
Static-web-server static Web Server
Vendors & Products Static-web-server
Static-web-server static Web Server
Type Values Removed Values Added
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.
Title Static Web Server: Authentication bypass on /metrics endpoint when --basic-auth is enabled
Weaknesses CWE-306
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N'}

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Aug 29, 2026, 2:48 AM
Reserved
Aug 17, 2026, 11:49 PM
Status
Deferred
Published
Aug 26, 2026, 8:18 PM
Modified
Sep 9, 2026, 9:09 PM