CVE-2026-59891

Critical

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.

SeverityCritical
CVSS9.6
Exploit probability—
Product@sigstore/oci
PublishedJul 14, 2026
First seenJul 14, 2026
Weakness typeCWE-522CWE-522

How to fix

Update
  • @sigstore/oci0.7.1 or later

Affected products

ProductAffected versionsFixed in
@sigstore/ocinpmv < 0.7.10.7.1

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.