Skip to main content
← All vulnerabilities
CVE-2026-59891GHSA-PF56-329R-95RW

Credential confusion in  @sigstore/oci  can leak registry credentials to an attacker-controlled registry

Published
Last modified
published
Not listed in CISA KEV
Fix
Fixed in 0.7.1
1 proof of concept on GitHub
  • Exploitation: none
  • Automatable: no
  • Technical impact: total

Summary

sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 0.7.1, getRegistryCredentials() reads credentials from the Docker config file and selects an entry by checking whether any configured auth key contains the target registry string. Because this is a substring match rather than an exact host match, credentials configured for one registry can be selected for and transmitted to a different registry whose hostname has a substring relationship with a configured auth key. This issue is fixed in version 0.7.1.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: no · Technical impact: total

  3. Record last updated

Affected versions

  • sigstore sigstore-js

    fixed in 0.7.1

  • @sigstore/ocinpm

    fixed in 0.7.1

References 4

GitHub · sigstore/sigstore-js

GitHub · gyubin02/cve-2026-59891-control-lab