CVE-2026-49835
JSON

5.9medium

Sigstore Timestamp Authority: OOM due to unbounded metric label cardinality

Severity
5.9medium CVSS:3.1 by GitHub_M
Exploit likelihood
0.74% (higher than 50% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
GitHub_M
Also known as
GHSA-9c54-x2g4-v92jGO-2026-5851

Description

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.

Affected

Product or packageVersionsReported by
sigstore timestamp-authority< 2.1.0CVE List
github.com/sigstore/timestamp-authority/v2 (Go)before 2.1.0GitHub Advisory Database, Go Vulnerability Database
github.com/sigstore/timestamp-authority (Go)up to 1.2.9, all versionsGitHub Advisory Database, Go Vulnerability Database
linuxfoundation sigstore_timestamp_authoritybefore 2.1.0NVD

All scores

GitHub_M5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
GitHub5.9medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H
NVD7.5high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H

Classification

CWE-770

SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial.

What each source says

CVE List

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.

GitHub Advisory Database
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.
Go Vulnerability Database

Sigstore Timestamp Authority has OOM due to unbounded metric label cardinality in github.com/sigstore/timestamp-authority

NVD (es)

Sigstore Timestamp Authority es un servicio para emitir marcas de tiempo RFC 3161. Antes de la versión 2.1.0, el middleware global wrapMetrics registra la ruta de solicitud HTTP sin procesar r.URL.Path y el método de solicitud HTTP sin procesar r.Method como etiquetas de Prometheus para vectores de métricas de latencia y recuento de solicitudes antes del enrutamiento, permitiendo a un atacante remoto no autenticado emitir solicitudes con rutas aleatorias como /API/v1/timestamp/[uuid] o métodos HTTP aleatorios y crear entradas permanentes de series temporales ilimitadas que agotan la memoria. Este problema se soluciona en la versión 2.1.0.

References

Related

Sources

SourceRecordLicence
CVE ListCVE-2026-49835 changed 2026-07-17CVE Terms of Use
GitHub Advisory DatabaseGHSA-9c54-x2g4-v92j changed 2026-09-10CC-BY-4.0
Go Vulnerability DatabaseGO-2026-5851 changed 2026-07-08CC-BY-4.0
NVDCVE-2026-49835 changed 2026-10-24Public domain