CVE-2026-31830

Source
https://cve.org/CVERecord?id=CVE-2026-31830
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31830.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-31830
Aliases
Published
2026-03-10T21:46:02Z
Modified
2026-10-24T10:30:18Z
Severity
  • 7.5 (High) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N CVSS Calculator
Summary
sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest
Details

sigstore-ruby is a pure Ruby implementation of the sigstore verify command from the sigstore/cosign project. Prior to 0.2.3, Sigstore::Verifier#verify does not propagate the VerificationFailure returned by verify_in_toto when the artifact digest does not match the digest in the in-toto attestation subject. As a result, verification of DSSE bundles containing in-toto statements returns VerificationSuccess regardless of whether the artifact matches the attested subject. This vulnerability is fixed in 0.2.3.

Database specific
{
    "cna_assigner":  "GitHub_M",
    "cwe_ids":  [
        "CWE-252"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31830.json"
}
References

Affected packages

Git / github.com/sigstore/sigstore-ruby

Affected ranges

Type
GIT
Repo
https://github.com/sigstore/sigstore-ruby
Events
Introduced
0 Unknown introduced commit / All previous commits are affected
Fixed
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.2.3"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StringRangeExpression"
        },
        {
            "cpe":  "cpe:2.3:a:sigstore:sigstore:*:*:*:*:*:ruby:*:*",
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "fixed":  "0.2.3"
                }
            ],
            "source":  "CPE_RANGE"
        }
    ]
}

Affected versions

v0.*
v0.1.0
v0.1.1
v0.2.0
v0.2.1
v0.2.2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31830.json"