Skip to content
Heist/ feed
Back to feed
Medium

golang-github-sigstore-timestamp-authority — security advisory

Type: advisorySources: OSVAdvisory ID: UBUNTU-CVE-2026-39984

Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Versions 2.0.5 and below contain an authorization bypass vulnerability in the VerifyTimestampResponse function. VerifyTimestampResponse correctly verifies the certificate chain signature, but the TSA-specific constraint checks in VerifyLeafCert uses the first non-CA certificate from the PKCS#7 certificate bag instead of the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag while the message is signed with an authorized key, causing the library to validate the signature against one certificate but perform authorization checks against another. This vulnerability only affects users of the timestamp-authority/v2/pkg/verification package and does not affect the timestamp-authority service itself or sigstore-go. The issue has been fixed in version 2.0.6.

Products
golang-github-sigstore-timestamp-authority
Affected versions
1.2.3-2, 1.2.9-1, 2.0.3-2, 2.0.4-1, 2.1.3-2
Fixed versions
Not specified
CVEs
CVE-2026-39984
Confirmed fixed CVEs
Not specified
Updated in this feed
31 Oct 2026, 02:10 UTC · Revision 1

Source evidence

UBUNTU-CVE-2026-39984

core-osv · Original source

Published 15 Apr 2026, 04:17 UTC

Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Versions 2.0.5 and below contain an authorization bypass vulnerability in the VerifyTimestampResponse function. VerifyTimestampResponse correctly verifies the certificate chain signature, but the TSA-specific constraint checks in VerifyLeafCert uses the first non-CA certificate from the PKCS#7 certificate bag instead of the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag while the message is signed with an authorized key, causing the library to validate the signature against one certificate but perform authorization checks against another. This vulnerability only affects users of the timestamp-authority/v2/pkg/verification package and does not affect the timestamp-authority service itself or sigstore-go. The issue has been fixed in version 2.0.6.

osv:UBUNTU-CVE-2026-39984

golang-github-sigstore-timestamp-authority

Fixed versions: Not specified

golang-github-sigstore-timestamp-authority

Fixed versions: Not specified

golang-github-sigstore-timestamp-authority

Fixed versions: Not specified

Complete source record
{
  "id": "e76d889c6a30070e10da3515439e21fe818772985d47b44b34091d05849961a5",
  "url": "https://osv.dev/vulnerability/UBUNTU-CVE-2026-39984",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "UBUNTU-CVE-2026-39984",
    "summary": "Sigstore Timestamp Authority is a service for issuing RFC 3161 timestamps. Versions 2.0.5 and below contain an authorization bypass vulnerability in the VerifyTimestampResponse function. VerifyTimestampResponse correctly verifies the certificate chain signature, but the TSA-specific constraint checks in VerifyLeafCert uses the first non-CA certificate from the PKCS#7 certificate bag instead of the leaf certificate from the verified chain. An attacker can exploit this by prepending a forged certificate to the certificate bag while the message is signed with an authorized key, causing the library to validate the signature against one certificate but perform authorization checks against another. This vulnerability only affects users of the timestamp-authority/v2/pkg/verification package and does not affect the timestamp-authority service itself or sigstore-go. The issue has been fixed in version 2.0.6.",
    "evidence": "osv:UBUNTU-CVE-2026-39984",
    "products": [
      {
        "name": {
          "value": "golang-github-sigstore-timestamp-authority",
          "evidence": "/affected/0/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.3-2",
            "evidence": "/affected/0/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-sigstore-timestamp-authority",
          "evidence": "/affected/1/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "2.0.4-1",
            "evidence": "/affected/1/versions"
          },
          {
            "value": "2.1.3-2",
            "evidence": "/affected/1/versions"
          }
        ]
      },
      {
        "name": {
          "value": "golang-github-sigstore-timestamp-authority",
          "evidence": "/affected/2/package/name"
        },
        "prerequisites": [],
        "fixed_versions": [],
        "affected_versions": [
          {
            "value": "1.2.3-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "1.2.9-1",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.3-2",
            "evidence": "/affected/2/versions"
          },
          {
            "value": "2.0.4-1",
            "evidence": "/affected/2/versions"
          }
        ]
      }
    ],
    "severity": "medium",
    "structured": {
      "id": "UBUNTU-CVE-2026-39984",
      "aliases": [
        "UBUNTU-CVE-2026-39984"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:N/I:H/A:N"
        },
        {
          "type": "Ubuntu",
          "score": "medium"
        }
      ],
      "affected": [
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-sigstore-timestamp-authority",
            "purl": "pkg:deb/ubuntu/golang-github-sigstore-timestamp-authority?arch=source&distro=questing",
            "ecosystem": "Ubuntu:25.10"
          },
          "versions": [
            "1.2.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39984.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-sigstore-timestamp-authority-dev",
                "binary_version": "1.2.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-sigstore-timestamp-authority",
            "purl": "pkg:deb/ubuntu/golang-github-sigstore-timestamp-authority?arch=source&distro=stonking",
            "ecosystem": "Ubuntu:26.10"
          },
          "versions": [
            "2.0.4-1",
            "2.1.3-2"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39984.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-sigstore-timestamp-authority-dev",
                "binary_version": "2.1.3-2"
              }
            ]
          }
        },
        {
          "ranges": [
            {
              "type": "ECOSYSTEM",
              "events": [
                {
                  "introduced": "0"
                }
              ]
            }
          ],
          "package": {
            "name": "golang-github-sigstore-timestamp-authority",
            "purl": "pkg:deb/ubuntu/golang-github-sigstore-timestamp-authority?arch=source&distro=resolute",
            "ecosystem": "Ubuntu:26.04:LTS"
          },
          "versions": [
            "1.2.3-2",
            "1.2.9-1",
            "2.0.3-2",
            "2.0.4-1"
          ],
          "database_specific": {
            "source": "https://github.com/canonical/ubuntu-security-notices/blob/main/osv/cve/2026/UBUNTU-CVE-2026-39984.json"
          },
          "ecosystem_specific": {
            "binaries": [
              {
                "binary_name": "golang-github-sigstore-timestamp-authority-dev",
                "binary_version": "2.0.4-1"
              }
            ]
          }
        }
      ],
      "modified": "2026-10-17T12:58:14.416558799Z",
      "provider": "osv",
      "upstream": [
        "CVE-2026-39984"
      ],
      "references": [
        "https://ubuntu.com/security/CVE-2026-39984",
        "https://www.cve.org/CVERecord?id=CVE-2026-39984",
        "https://github.com/sigstore/timestamp-authority/security/advisories/GHSA-xm5m-wgh2-rrg3"
      ]
    },
    "related_cves": [
      {
        "value": "CVE-2026-39984",
        "evidence": "/upstream"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 358409,
  "published_at": "2026-04-15T04:17:00+00:00"
}