CVE-2026-59891 json
Credential confusion in @sigstore/oci can leak registry credentials to an attacker-controlled registry
published 4mo ago modified 18d ago also EUVD-2026-43960 , GHSA-pf56-329r-95rw
- cvss
- 9.6
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.5%
- EPSS 0.5% chance of exploitation in 30 days, percentile 41%
- public exploits
- 0
- none known
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.
Patch / fix
- npm @sigstore/oci 0.7.1
Is CVE-2026-59891 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 3mo ago
Exploit prediction
0.47% chance of exploitation in the next 30 days, higher than 41% of all scored CVEs (FIRST EPSS, 2026-11-11).
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
| GitHub | 3.1 | 9.6 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | @sigstore/oci | <0.7.1 |
0.7.1 |
Affected products
- sigstore sigstore-js
Classification
- Weakness
-
- CWE-522 Insufficiently Protected Credentials
References
-
github.com
/sigstore/sigstore-js/commit/85c58380758b97ce1b74ef470e55cc21f9d3aa89
web
-
github.com
/sigstore/sigstore-js/security/advisories/GHSA-pf56-329r-95rw
web, advisory
-
github.com
/sigstore/sigstore-js/releases/tag/%40sigstore%2Foci%400.7.1
web
-
nvd.nist.gov
/vuln/detail/CVE-2026-59891
advisory
-
github.com
/sigstore/sigstore-js
package
Sources
- CVE List CVE-2026-59891
- GitHub Advisory GHSA-pf56-329r-95rw
- NVD CVE-2026-59891
- Maintainer advisory GHSA-pf56-329r-95rw
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
The maintainers of sigstore/sigstore-js published their own advisory on GitHub. Reviewed sources take precedence over it.