CVE-2026-59891Credential confusion in @sigstore/oci can leak registry credentials to an attacker-controlled registry
- 9.6CriticalCVSS base score
- 0.47%Exploitation in 30 daysEPSS · top 58% of all CVEs
- NoKnown exploitednot in CISA's KEV catalog
- NonePublic exploitsnone known yet
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.
Timeline
ID reserved
By GitHub_M
- 7 days later
· 7 days later
Published
- 7 days later
· 7 days later
Record updated
Changes after publication (a new score, a public exploit, EPSS crossing 1, 10 or 50 %, leaving KEV) are kept since November 2026; earlier ones are not known.
Scores
| Scored by | CVSS | Score | Vector |
|---|---|---|---|
| GitHub_MCNA (assigner) | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| NVDNVD · Awaiting Analysis | 3.1 | Critical9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
- EPSS (exploitation in 30 days)
- 0.47% · top 58% of all CVEs (19 Nov 2026)
- CISA SSVC
- Exploitation: none · Automatable: no · Technical impact: total
The list uses the assigner's score when there is one, then CISA's, then NVD's: Critical 9.6.
Affected products
- affected < 0.7.1
Affected packages
From reviewed advisories of the GitHub Advisory Database.
- npm@sigstore/ociGHSA-pf56-329r-95rw (opens in a new tab)
References
References3
- https://github.com/sigstore/sigstore-js/security/advisories/GHSA-pf56-329r-95rw (opens in a new tab)x_refsource_CONFIRM
- https://github.com/sigstore/sigstore-js/commit/85c58380758b97ce1b74ef470e55cc21f9d3aa89 (opens in a new tab)x_refsource_MISC
- https://github.com/sigstore/sigstore-js/releases/tag/%40sigstore%2Foci%400.7.1 (opens in a new tab)x_refsource_MISC
Sources
The same CVE in the primary databases and aggregators, to check against.
- CVE.org record (opens in a new tab)
- CVE List JSON (GitHub) (opens in a new tab)
- NVD (opens in a new tab)
- FIRST EPSS (opens in a new tab)
- EUVD EUVD-2026-43960 (opens in a new tab)
- OSV.dev (opens in a new tab)
- GitHub Advisory GHSA-pf56-329r-95rw (opens in a new tab)
- CIRCL Vulnerability-Lookup (opens in a new tab)
Badge for a README or a ticket
[](https://cveledger.app/cve/CVE-2026-59891)Record last updated .