{"id":"CVE-2026-31830","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.","aliases":["GHSA-mhg6-2q2v-9h2c"],"modified":"2026-08-12T03:51:17.555057037Z","published":"2026-03-10T21:46:02.547Z","database_specific":{"cwe_ids":["CWE-252"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31830.json","cna_assigner":"GitHub_M"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/31xxx/CVE-2026-31830.json"},{"type":"ADVISORY","url":"https://github.com/sigstore/sigstore-ruby/security/advisories/GHSA-mhg6-2q2v-9h2c"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-31830"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/sigstore/sigstore-ruby","events":[{"introduced":"0"},{"fixed":"26ffbe0c1d6e16614fb9cd8b2ed40ab47d57d421"}],"database_specific":{"extracted_events":[{"introduced":"0"},{"fixed":"0.2.3"}],"source":["AFFECTED_FIELD","CPE_RANGE"],"cpe":"cpe:2.3:a:sigstore:sigstore:*:*:*:*:*:ruby:*:*"}}],"versions":["v0.2.2","v0.2.1","v0.2.0","v0.1.1","v0.1.0"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-31830.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N"}]}