Skip to content
OpenAdvisories
Critical · 9.6 Public exploit CVE-2026-59891 EUVD-2026-43960GHSA-pf56-329r-95rw

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

Published Jul 14, 2026 · Updated Jul 21, 2026 · Assigned by GitHub_M

Description

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.

Affected products

VendorProductAffectedFixed
sigstore sigstore-js < 0.7.1 —

Public exploits

Exploit or proof-of-concept code for this vulnerability is publicly available, which lowers the bar for attackers. Treat it as a reason to patch sooner.

Third-party code, not reviewed by us. Public PoCs are sometimes fake or contain malware. Read the code first and run it only in an isolated lab, against systems you are authorised to test.

GitHub 1 repository

Sources: PoC-in-GitHub, Metasploit Framework, Exploit-DB — updated daily. Only links are listed; no exploit code is hosted here.

Affected packages

EcosystemPackageAffectedFixedRecord
npm @sigstore/oci < 0.7.1 0.7.1 GHSA-pf56-329r-95rw

References