Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-108736 Overview
CVE-2026-108736 is an IP allowlist bypass vulnerability in Speedtest Tracker versions through 1.15.0. The flaw lets unauthenticated remote attackers evade the ALLOWED_IPS and Prometheus allowlists by spoofing the X-Forwarded-For HTTP header. The application's bootstrap/app.php configures Laravel to trust every peer as a proxy, so any client-supplied forwarded address is honored as the request origin. Attackers can supply an allowlisted address to read /prometheus metrics and reach protected web and API endpoints normally gated by the IP controls. The weakness maps to CWE-348: Use of Less Trusted Source.
Critical Impact
Unauthenticated network attackers can bypass IP-based access controls and reach the Prometheus metrics endpoint plus protected web and API routes.
Affected Products
- Speedtest Tracker (open-source project by alexjustesen)
- All versions through 1.15.0
- Deployments relying on ALLOWED_IPS or Prometheus IP allowlists for access control
Discovery Timeline
- 2026-10-11 - CVE-2026-108736 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-108736
Vulnerability Analysis
Speedtest Tracker is a Laravel-based self-hosted application for monitoring internet speed. It exposes a /prometheus metrics endpoint and administrative routes gated by middleware that compares the request IP against configured allowlists. The two middlewares involved are AllowedIpAddressesMiddleware and PrometheusAllowedIpMiddleware.
Both middlewares call Laravel's request helpers to determine the client IP. When the framework is configured to trust proxies, Laravel evaluates the X-Forwarded-For header and returns the forwarded address instead of the TCP peer address. In this application, bootstrap/app.php registers trusted proxies with a wildcard, meaning every connecting peer is treated as a legitimate upstream proxy. The access-control decision therefore relies on an attacker-controlled header.
An unauthenticated remote attacker sends an HTTP request with X-Forwarded-For set to any address present in the allowlist, such as 127.0.0.1 or an internal range. The middleware reads that value, matches it against the allowlist, and permits the request. Confidentiality impact is limited to data exposed by the protected endpoints, including Prometheus metrics and gated API responses.
Root Cause
The root cause is an overly permissive trusted-proxy configuration. bootstrap/app.php trusts all peers rather than a known set of reverse-proxy addresses. This defeats the intent of the allowlist middleware because the source of truth for the client IP becomes a client-supplied header.
Attack Vector
Exploitation requires only network reachability to the Speedtest Tracker HTTP service. The attacker sends a single HTTP GET request to a protected path, for example /prometheus, with the header X-Forwarded-For: 127.0.0.1. No authentication, user interaction, or special tooling is required. Technical details are documented in the VulnCheck advisory and the HackMD writeup.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-108736
Indicators of Compromise
- HTTP requests to /prometheus, admin, or API endpoints containing an X-Forwarded-For header that references loopback, RFC1918, or other allowlisted addresses from an external source IP.
- Access log entries where the TCP peer address is public but the logged client IP is internal.
- Unexpected 200 responses to /prometheus from clients that are not the configured monitoring host.
Detection Strategies
- Correlate reverse-proxy or web-server logs with upstream Speedtest Tracker logs to find mismatches between peer IP and forwarded IP.
- Alert on any request to protected routes where X-Forwarded-For is present but the request did not traverse an approved proxy.
- Review Prometheus scrape sources and flag retrievals that do not originate from the designated collector.
Monitoring Recommendations
- Enable verbose HTTP access logging capturing both the remote peer address and all forwarding headers.
- Monitor outbound data volumes from /prometheus for anomalous retrieval patterns.
- Track changes to bootstrap/app.php and middleware files in deployed containers or hosts.
How to Mitigate CVE-2026-108736
Immediate Actions Required
- Place Speedtest Tracker behind a trusted reverse proxy and restrict direct network exposure to only that proxy.
- Enforce IP allowlisting at the network or reverse-proxy layer rather than relying solely on application middleware.
- Strip inbound X-Forwarded-For headers at the edge proxy before forwarding requests to Speedtest Tracker.
- Treat the Prometheus endpoint as sensitive and require authentication where possible.
Patch Information
At the time of publication, no fixed version is listed in the NVD entry. Monitor the Speedtest Tracker GitHub repository for a release that narrows the trusted-proxy configuration in bootstrap/app.php. Review the referenced source files for the vulnerable logic: AllowedIpAddressesMiddleware, PrometheusAllowedIpMiddleware, and bootstrap/app.php.
Workarounds
- Configure the reverse proxy (NGINX, Traefik, Caddy) to overwrite X-Forwarded-For with the real client address and discard client-supplied values.
- Bind Speedtest Tracker to a loopback or internal interface and route traffic through a trusted proxy only.
- Restrict access to /prometheus using firewall rules or network segmentation keyed to the real peer IP.
- If feasible, modify the trusted-proxy list in bootstrap/app.php to the specific proxy address rather than a wildcard.
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

