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

Published Aug 26, 2026
·
Updated

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 Software

1 affected component
Static Web Server (SWS)<=2.43.0

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 2.44.0

Event History

Aug 26, 2026
CVE Published
via MITRE·07:53 PM
Data Sourced
via MITRE·07:53 PM
DescriptionSeverityWeakness
Data Sourced
via NVD·08:18 PM
DescriptionSeverityWeakness

Frequently Asked Questions

1

Which deployments are affected?

Static Web Server instances through version 2.43.0 are affected when both basic authentication and the metrics feature are enabled. Deployments without that combination are not described as affected.

2

What does an attacker need to exploit this issue?

An unauthenticated remote attacker only needs to make a request to the /metrics endpoint. User interaction and prior privileges are not required.

3

What information could be exposed?

The endpoint can disclose Prometheus metrics including virtual host names, request volumes, error rates, latency distributions, and active connection counts. The reported impact is limited to confidentiality.

4

What should be done if the affected configuration is in use?

Upgrade Static Web Server to version 2.44.0, which fixes the issue. Until upgrading, do not rely on basic authentication to restrict access to /metrics when the metrics feature is enabled.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203