CVE-2026-59891: Vulnerability in @sigstore/oci

Critical. 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...

npm, CWE-522

Exploitation
None confirmed
Severity
9.6 of 10
Attack likelihood
Unknown
Fix
Fixed version known
Patch deadline
No deadline set

Details

Advisory ID
GHSA-pf56-329r-95rw
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Weakness
CWE-522
Published
14 Jul 2026
Last change
24 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @sigstore/oci npm, Affected before 0.7.1. Fixed in 0.7.1

Advisories

Vendor and security advisories

Patches and fixes

Updates, commits and release notes