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.
Published: 2026-08-26
Score: 4.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

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.

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

Remediation

No vendor fix or workaround currently provided.

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 yet.

History

Wed, 26 Aug 2026 21:45:00 +0000

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

Wed, 26 Aug 2026 20:15:00 +0000

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'}


Subscriptions

Static-web-server Static Web Server
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-08-26T19:53:29.160Z

Reserved: 2026-08-17T23:49:03.450Z

Link: CVE-2026-75601

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-08-26T20:18:00.160

Modified: 2026-08-26T20:18:00.160

Link: CVE-2026-75601

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-08-26T22:00:04Z

Weaknesses
  • CWE-306

    Missing Authentication for Critical Function