Reachable Assertion Affecting github.com/theupdateframework/go-tuf/metadata package, versions <2.3.1


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.58% (47th 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-GITHUBCOMTHEUPDATEFRAMEWORKGOTUFMETADATA-15054287
  • published22 Jan 2026
  • disclosed22 Jan 2026
  • credit1seal

Introduced: 22 Jan 2026

CVE-2026-23991  (opens in a new tab)
CWE-617  (opens in a new tab)

How to fix?

Upgrade github.com/theupdateframework/go-tuf/metadata to version 2.3.1 or higher.

Overview

Affected versions of this package are vulnerable to Reachable Assertion in the checkType() function. An attacker can cause the client to panic and terminate unexpectedly by providing invalid TUF metadata (which is valid JSON). The vulnerable parsing happens before signature validation, so a compromised repository, mirror, or cache can cause a client crash without a valid signature.

CVSS Base Scores

version 4.0
version 3.1