Advisory Database
  • Advisories
  • Dependency Scanning
  1. gem
  2. ›
  3. sigstore
  4. ›
  5. CVE-2026-31830

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

March 11, 2026 (updated March 19, 2026)

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.

References

  • github.com/advisories/GHSA-mhg6-2q2v-9h2c
  • github.com/rubysec/ruby-advisory-db/blob/master/gems/sigstore/CVE-2026-31830.yml
  • github.com/sigstore/sigstore-ruby
  • github.com/sigstore/sigstore-ruby/security/advisories/GHSA-mhg6-2q2v-9h2c
  • nvd.nist.gov/vuln/detail/CVE-2026-31830

Code Behaviors & Features

Detect and mitigate CVE-2026-31830 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 0.2.3

Fixed versions

  • 0.2.3

Solution

Upgrade to version 0.2.3 or above.

Impact 7.5 HIGH

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N

Learn more about CVSS

Weakness

  • CWE-252: Unchecked Return Value

Source file

gem/sigstore/CVE-2026-31830.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sat, 09 May 2026 12:19:58 +0000.