CVE-2026-49835: Sigstore Timestamp Authority: OOM due to unbounded metric label cardinality
Impact
An unauthenticated remote attacker can trigger unbounded memory growth on the timestamp authority server.
This vulnerability exists because the global wrapMetrics middleware records the raw HTTP request path (r.URL.Path) and raw HTTP request method (r.Method) as Prometheus labels for latency and request count metric vectors. Since this middleware runs before standard routing occurs, it executes for all incoming requests, including those for unmatched paths (yielding 404 responses) or arbitrary request methods. The Prometheus library registers a new, permanent time-series entry for every distinct label combination. An attacker can continuously issue requests containing random paths (e.g., /api/v1/timestamp/<uuid>) or random HTTP methods to exhaust system memory.
Patches
This issue has been patched by limiting the metric label values to a strict allowlist of expected paths (/ping, /api/v1/timestamp, /api/v1/timestamp/certchain) and expected HTTP methods (GET, POST, HEAD, OPTIONS). Unrecognized paths or methods are normalized to a static string ("unrecognized").
Users should update to version v2.0.7 or later.
Workarounds
1. Block or drop incoming requests with invalid HTTP methods or unknown request paths at a reverse proxy or load balancer before they reach the timestamp authority server. 2. Configure rate-limiting on the public interface to prevent remote attackers from issuing millions of unique requests in a short duration.
Other sources
Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Prior to 2.1.0, the global wrapMetrics middleware records raw HTTP request path r.URL.Path and raw HTTP request method r.Method as Prometheus labels for latency and request count metric vectors before routing, allowing an unauthenticated remote attacker to issue requests with random paths such as /api/v1/timestamp/<uuid> or random HTTP methods and create unbounded permanent time-series entries that exhaust memory. This issue is fixed in version 2.1.0.
— MITRE
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
go/github.com/sigstore/timestamp-authority/v2to a version that resolves this vulnerability.Fixed in 2.1.0 - Upgrade
Upgrade
Sigstore Timestamp Authority (wrapMetrics middleware)to a version that resolves this vulnerability.Fixed in 2.1.0 - Upgrade
Upgrade
Sigstore Timestamp Authorityto a version that resolves this vulnerability.Fixed in v2.0.7 - Compensating control
Block or drop incoming requests with invalid HTTP methods or unknown request paths at a reverse proxy or load balancer before they reach the timestamp authority server.
- Compensating control
Configure rate-limiting on the public interface to prevent remote attackers from issuing millions of unique requests in a short duration.
Event History
Frequently Asked Questions
What is the severity of CVE-2026-49835?
The severity of CVE-2026-49835 is medium with a score of 5.9.
How do I fix CVE-2026-49835?
To fix CVE-2026-49835, update to the latest version of the affected software that addresses the vulnerability.
What impact does CVE-2026-49835 have on my system?
CVE-2026-49835 allows an unauthenticated remote attacker to trigger unbounded memory growth on the timestamp authority server.
Is CVE-2026-49835 a remote exploit?
Yes, CVE-2026-49835 can be exploited remotely by an unauthenticated attacker.
Which software is affected by CVE-2026-49835?
CVE-2026-49835 affects the go/github.com/sigstore/timestamp-authority and go/github.com/sigstore/timestamp-authority/v2 software.