Improper Certificate Validation Affecting github.com/sigstore/timestamp-authority/pkg/verification package, versions <2.0.6


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.1% (2nd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-GOLANG-GITHUBCOMSIGSTORETIMESTAMPAUTHORITYPKGVERIFICATION-16134929
  • published23 Apr 2026
  • disclosed14 Apr 2026
  • creditJussi Kukkonen

Introduced: 14 Apr 2026

CVE-2026-39984  (opens in a new tab)
CWE-295  (opens in a new tab)

How to fix?

Upgrade github.com/sigstore/timestamp-authority/pkg/verification to version 2.0.6 or higher.

Overview

Affected versions of this package are vulnerable to Improper Certificate Validation in the VerifyTimestampResponse function when a forged certificate is prepended to the certificate bag. An attacker can bypass authorization checks by supplying a payload where the signature is validated against one certificate, but authorization is performed against another, allowing unauthorized actions.

Note:

This is only exploitable if a user or automated system actively runs the VerifyTimestampResponse function against attacker-supplied input.

Workaround

This vulnerability can be mitigated by using the TSACertificate option to explicitly specify the exact certificate expected to be used.

CVSS Base Scores

version 4.0
version 3.1