CVE-2026-59891
published critical CVSS 3.1 · 9.6Credential confusion in @sigstore/oci can leak registry credentials to an attacker-controlled registry
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| sigstore | — | sigstore-js< 0.7.1 | Affected | Not stated | 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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 9.6 / 10
- Severity
- critical
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| sigstore | sigstore-js | < 0.7.1 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-522 CWE-522: Insufficiently Protected Credentials
References
3Provider assertions
2GitHub_M · cna
Credential confusion in @sigstore/oci can leak registry credentials to an attacker-controlled registry
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 4e216a952a01ee86a28a06d52e62799b1d395f504726a10ff94e205ec93c782c
- Ingested
- 23 Sep 2026, 09:22:51 UTC
- Source record
- Official CVE record