# CVE-2026-31830: sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest

- Severity: High 7.5 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.28%, higher than 21% of CVEs (2026-12-01)
- Published: 2026-03-10T21:46:02.547Z
- Modified: 2026-06-17T10:34:32.280Z
- Also known as: GHSA-mhg6-2q2v-9h2c
- Weaknesses: CWE-252
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- sigstore sigstore-ruby: < 0.2.3
- sigstore (RubyGems): before 0.2.3
- sigstore sigstore: before 0.2.3

## Every score

- GitHub_M: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`
- GitHub: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N`

## References

- <https://github.com/sigstore/sigstore-ruby/security/advisories/GHSA-mhg6-2q2v-9h2c> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-31830> (advisory)
- <https://github.com/rubysec/ruby-advisory-db/blob/master/gems/sigstore/CVE-2026-31830.yml> (web)
- <https://github.com/sigstore/sigstore-ruby> (package)

## Sources

- CVE List: [CVE-2026-31830](https://www.cve.org/CVERecord?id=CVE-2026-31830), CVE Terms of Use, modified 2026-03-11
- GitHub Advisory Database: [GHSA-mhg6-2q2v-9h2c](https://github.com/advisories/GHSA-mhg6-2q2v-9h2c), CC-BY-4.0, modified 2026-03-19
- NVD: [CVE-2026-31830](https://nvd.nist.gov/vuln/detail/CVE-2026-31830), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-31830 · Whole record: https://cve.day/CVE-2026-31830.json · Rebuilt by cve.day 2026-11-25T22:59:15.681Z
