CVE-2026-31830
HIGH 7.5CVSS 3.1sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest
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.
- Published
- 10 Mar 2026
- Last modified
- 17 Jun 2026
- Assigned by
- security-advisories@github.com
- NVD status
- Analyzed
- Weakness
- CWE-252
- Also known as
- GHSA-mhg6-2q2v-9h2c
- Sources
- NVDJSONOSV GHSA-mhg6-2q2v-9h2cJSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | security-advisories@github.com (Secondary) | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
| OSV | GitHub | CVSS 3.1 | HIGH 7.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | sigstore | sigstorecpe:2.3:a:sigstore:sigstore:*:*:*:*:*:ruby:*:* |
< 0.2.3 | 0.2.3 |
| OSV | RubyGems | sigstore | < 0.2.3 | 0.2.3 |
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
History
- 25 Nov 2026 21:01 UTC · NVD: first stored (published 10 Mar 2026)
- 25 Nov 2026 20:14 UTC · OSV: first stored (published 11 Mar 2026)