{"id":"CVE-2026-49835","aliases":["CVE-2026-49835","GHSA-9c54-x2g4-v92j","GO-2026-5851"],"related":["CGA-xv2x-9fm8-p3f6"],"kind":"vulnerability","state":"published","title":"Sigstore Timestamp Authority: OOM due to unbounded metric label cardinality","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\n\nAn unauthenticated remote attacker can trigger unbounded memory growth on the timestamp authority server.\n\nThis 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.\n\n### Patches\n\nThis 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\"`).\n\nUsers should update to version `v2.0.7` or later.\n\n### Workarounds\n\n1. 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.\n2. Configure rate-limiting on the public interface to prevent remote attackers from issuing millions of unique requests in a short duration.","format":"markdown","source":"ghsa"},{"lang":"en","text":"Sigstore Timestamp Authority has OOM due to unbounded metric label cardinality in github.com/sigstore/timestamp-authority","format":"markdown","source":"go"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2026-06-30T18:40:39.000Z","modified":"2026-10-24T20:10:00.137Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:N/I:N/A:H","score":5.9,"rating":"MEDIUM"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:N/A:H","score":7.5,"rating":"HIGH"}],"cwes":["CWE-770"],"affected":[{"ranges":[{"version":"< 2.1.0","status":"affected"}],"vendor":"sigstore","product":"timestamp-authority","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority/v2","purl":"pkg:golang/github.com/sigstore/timestamp-authority/v2","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","lastAffected":"1.2.9"}],"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority","purl":"pkg:golang/github.com/sigstore/timestamp-authority","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"0","status":"affected"}],"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority","purl":"pkg:golang/github.com/sigstore/timestamp-authority","source":"go"},{"ranges":[{"type":"semver","introduced":"0","status":"affected","fixed":"2.1.0"}],"ecosystem":"Go","package":"github.com/sigstore/timestamp-authority/v2","purl":"pkg:golang/github.com/sigstore/timestamp-authority/v2","source":"go"},{"ranges":[{"status":"affected","fixed":"2.1.0"}],"vendor":"linuxfoundation","product":"sigstore_timestamp_authority","cpe":"cpe:2.3:a:linuxfoundation:sigstore_timestamp_authority:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://github.com/sigstore/timestamp-authority/security/advisories/GHSA-9c54-x2g4-v92j","tags":["advisory","mitigation","vendor-advisory","web","x-refsource-confirm"],"sources":["cvelist","ghsa","go","nvd"]},{"url":"https://github.com/sigstore/timestamp-authority/commit/506ec57b6ac2ea1e4739322e47453469425b69b5","tags":["patch","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sigstore/timestamp-authority/releases/tag/v2.1.0","tags":["product","release-notes","x-refsource-misc"],"sources":["cvelist","nvd"]},{"url":"https://github.com/sigstore/timestamp-authority","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"partial","date":"2026-07-17T19:45:33.792Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-49835","url":"https://www.cve.org/CVERecord?id=CVE-2026-49835","licence":"CVE Terms of Use","modified":"2026-07-17T19:45:44.026Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-9c54-x2g4-v92j","url":"https://github.com/advisories/GHSA-9c54-x2g4-v92j","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:49.238Z"},{"source":"go","name":"Go Vulnerability Database","id":"GO-2026-5851","url":"https://pkg.go.dev/vuln/GO-2026-5851","licence":"CC-BY-4.0","modified":"2026-07-08T15:29:24.085Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-49835","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-49835","licence":"Public domain","modified":"2026-10-24T20:10:00.137Z"}],"updatedAt":"2026-11-25T22:59:28.512Z","epss":{"score":0.00447,"percentile":0.40582,"date":"2026-12-01T12:00:22.000Z"}}