Severity by source
AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H
Network-delivered but needs a substring-colliding configured credential and victim action (AC:H, UI:R); primary impact is credential confidentiality only (C:H, I:N/A:N), no scope change on the vulnerable system.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
4DescriptionCVE.org
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.
Articles & Coverage 1
AnalysisAI
Credential leakage in sigstore-js (specifically the @sigstore/oci package) before 0.7.1 allows Docker registry credentials to be transmitted to the wrong registry because getRegistryCredentials() matched configured auth keys against the target registry using a substring check instead of an exact host match. An attacker who can induce a victim to push or pull signatures/attestations against an attacker-named registry whose hostname has a substring relationship with a legitimately configured registry (e.g. 'cr.io' vs 'ghcr.io', or 'victim.127.0.0.1:5000' vs '127.0.0.1:5000') can capture the victim's stored registry credentials. There is no public exploit identified at time of analysis, and this is not listed in CISA KEV; the underlying weakness (CWE-522) is confirmed and fixed by the vendor in @sigstore/oci 0.7.1.
Technical ContextAI
The affected component is @sigstore/oci, part of the sigstore-js JavaScript libraries used to interact with Sigstore services and to push/pull signing artifacts to and from OCI (Open Container Initiative) registries. To authenticate to a registry, getRegistryCredentials() reads the local Docker config file (~/.docker/config.json) and picks an 'auths' entry. The root cause (CWE-522, Insufficiently Protected Credentials) is that credential selection used a substring/containment test: any configured auth key that merely contained the target registry string was treated as a match. Because registry hostnames frequently share substrings ('cr.io' is contained in 'ghcr.io'; a configured host can also be a substring of an attacker-chosen host like 'victim.127.0.0.1:5000'), the wrong credentials could be selected and sent over the network to an unintended registry. The fix replaces this with canonical exact host[:port] matching, adds a canonicalizeRegistry() helper that strips scheme/path, and normalizes Docker Hub aliases (docker.io, index.docker.io, registry-1.docker.io, https://index.docker.io/v1/) to a single canonical host. The only CPE provided is cpe:2.3:a:sigstore:sigstore-js:*:*:*:*:*:*:*:*.
RemediationAI
Vendor-released patch: upgrade @sigstore/oci to 0.7.1 or later, which replaces the substring credential match with exact canonical host[:port] matching; update your lockfiles and rebuild any tooling that pulls sigstore-js transitively. See the advisory GHSA-pf56-329r-95rw and the release at https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.1. If you cannot upgrade immediately, reduce exposure by ensuring the Docker config used by sigstore-js only contains credentials for registries you actually push/pull to, and remove or scope down any broadly-privileged registry tokens so a mis-selected credential is low-value; where feasible, run signing operations with a dedicated, minimal ~/.docker/config.json (or an isolated DOCKER_CONFIG directory) containing only the single registry credential needed for that job, and avoid pointing sigstore-js operations at untrusted or attacker-supplied registry hostnames. The trade-off of the isolated-config approach is added operational overhead per pipeline and the need to manage separate credential stores; it does not fully eliminate the substring flaw but shrinks the blast radius until 0.7.1 is deployed.
An issue was discovered in Appsmith before 1.52. Rated critical severity (CVSS 9.8), this vulnerability is remotely expl
runc through version 1.0-rc6 (used in Docker before 18.09.2) contains a container escape vulnerability that allows attac
Netmaker makes networks with WireGuard. Rated high severity (CVSS 7.5), this vulnerability is remotely exploitable, no a
Unauthenticated remote code execution in Marimo ≤0.20.4 allows attackers to execute arbitrary system commands via the `/
The News & Blog Designer Pack - WordPress Blog Plugin - (Blog Post Grid, Blog Post Slider, Blog Post Carousel, Blog Post
Path traversal in JFrog Artifactory (CWE-22) enables an authenticated low-privilege user to write data outside the inten
Docker 1.3.2 allows remote attackers to execute arbitrary code with root privileges via a crafted (1) image or (2) build
Remote code execution in Gogs through 0.14.2 allows authenticated users (and unauthenticated attackers on default-config
Remote code execution in Flowise before 3.1.2 allows any authenticated user (or API caller with chatflow view/update per
Remote code execution in NocoBase Workflow Script Node (npm @nocobase/plugin-workflow-javascript) allows authenticated l
Docker Desktop Community Edition before 2.1.0.1 allows local users to gain privileges by placing a Trojan horse docker-c
Vasion Print (formerly PrinterLogic) Virtual Appliance Host prior to version 25.2.169 and Application prior to version 2
Same weakness CWE-522 – Insufficiently Protected Credentials
View allSame technique Information Disclosure
View allShare
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-43960
GHSA-pf56-329r-95rw