CVE-2026-31830

sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest

Published Mar 10, 2026 CVSS 3.1 · 7.5 High EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-mhg6-2q2v-9h2c sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest
History
Type Values Removed Values Added
First Time appeared Sigstore sigstore
CPEs cpe:2.3:a:sigstore:sigstore:*:*:*:*:*:ruby:*:*
Vendors & Products Sigstore sigstore
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
First Time appeared Sigstore
Sigstore sigstore-ruby
Vendors & Products Sigstore
Sigstore sigstore-ruby
Type Values Removed Values Added
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.
Title sigstore-ruby verifier returns success for DSSE bundles with mismatched in-toto subject digest
Weaknesses CWE-252
References
Metrics cvssV3_1

{'score': 7.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
GitHub_M
Published
Updated
Mar 11, 2026, 3:59 PM
Reserved
Mar 9, 2026, 5:41 PM
Status
Analyzed
Published
Mar 10, 2026, 10:16 PM
Modified
Jun 17, 2026, 10:34 AM