Skip to content

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

HighCVSS 7.5 EPSS 0.28% PoC
Published
Updated
Exploit status
Proof-of-concept only
CISA SSVC
No known exploitation · automatable: yes · technical impact: partial

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.

Upgrade path

3 packages: 2 fixed.

PackageAffectedFixed inStatus
rubygems sigstore(RubyGems) < 0.2.3; = 0.1.1; = 0.2.0; = 0.2.1 +1 more 0.2.3 Fixed
sigstore < 0.2.3 0.2.3 Fixed
sigstore-ruby = < 0.2.3 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
rubygems sigstore(RubyGems) < 0.2.3 0.2.3
rubygems sigstore(RubyGems) = 0.1.1 No fix listed
rubygems sigstore(RubyGems) = 0.2.0 No fix listed
rubygems sigstore(RubyGems) = 0.2.1 No fix listed
rubygems sigstore(RubyGems) = 0.2.2 No fix listed
sigstore-ruby = < 0.2.3 No fix listed
sigstore < 0.2.3 0.2.3

References