GHSA-fphv-w9fq-2525

    Dashboard / Vulnerabilities / GHSA-fphv-w9fq-2525

    GHSA-fphv-w9fq-2525

    Published: 21 Jan 2026Last Modified: 10 Sept 2026

    Summary: go-tuf improperly validates the configured threshold for delegations

    Details: # Security Disclosure: Improper validation of configured threshold for delegations ## Summary A compromised or misconfigured TUF repository can have the configured value of signature thresholds set to 0, which effectively disables signature verification. ## Impact Unathorized modification to TUF metadata files is possible at rest, or during transit as no integrity checks are made. ## Patches Upgrade to v2.3.1 ## Workarounds Always make sure that the TUF metadata roles are configured with a threshold of at least 1. ## Affected code: The `metadata.VerifyDelegate` did not verify the configured threshold prior to comparison. This means that a misconfigured TUF repository could disable the signature verification by setting the threshold to 0, or a negative value (and so always make the signature threshold computation to pass).

    Affected packages

    Package

    Name: github.com/theupdateframework/go-tuf/v2

    Purl: pkg:golang/github.com/theupdateframework/go-tuf/v2

    Affected ranges

    Type: SEMVER

    Events:

    Introduced- 0
    Fixed -2.3.1

    Affected versions

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High