Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify client using <token> registry credentials
-
DeliveryAbuse open redirect on trusted token service
-
ExploitToken endpoint returns cross-origin 307/308
-
ExecutionClient replays OAuth2 password-grant body to attacker host
-
ImpactHarvest leaked registry username and password
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V14 - Data Protection Outbound data filtering
|
| Exploitation Conditions | Exploitation requires ALL of: (1) the client authenticates with |
| Impact | This is a credential-disclosure flaw (CWE-201) rated CVSS 4.0 8.2, but the signal set describes a conditional rather than a turnkey attack. The supplied CVSS 4.0 vector (AV:N/AC:H/AT:P/PR:N/UI:N) shows network reach and no attacker privileges, yet the combination of AC:H and AT:P flags meaningful preconditions: the victim client must authenticate with |
| Exploit ScenarioDerived | An organization runs @sigstore/oci (< 0.8.0) configured with |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 22, 2026
OAuth2 password-grant credentials leak from @sigstore/oci before 0.8.0: when the client authenticates to an OCI registry using <token> identity-token credentials, it POSTs username, password and grant_type=password to the registry's token endpoint, and if that endpoint answers with a cross-origin 307 or 308 redirect the client follows it and replays the same body - credentials included - to the new origin. The client already strips the Authorization header on cross-origin redirects but applies no equivalent protection to credentials carried in the body, and a 303 redirect is not exploitable because it degrades the request to a bodyless GET. Exploitation is conditional rather than turnkey, requiring both token-based credentials and an attacker-influenced cross-origin redirect from an otherwise trusted token service (open redirect, misconfiguration, or compromise of that service); no public exploit code or confirmed active exploitation was identified at time of analysis, and the impact is confidentiality-only (vendor CVSS 4.0 8.2; assessed CVSS 3.1 AV:N/AC:H/PR:N/UI:N/C:H/I:N/A:N, i.e. unauthenticated remote attackers but a high-complexity precondition).
RemediationAI
Vendor-released patch: upgrade @sigstore/oci to 0.8.0 or later - the fix is in commit https://github.com/sigstore/sigstore-js/commit/7ca56e9d068458642fc8a148c4916717b6918bec, which hardens registry authentication and redirect handling so that requests require HTTPS and public network destinations unless an origin is explicitly allowed via fetchOpts.allowedPrivateOrigins (CLI: sigstore attach --allow-private-origin). Note the side effect: private or HTTP registries, token services and storage origins will start being refused after upgrading until each exact scheme://host:port is allowlisted, so inventory private registries before rolling out 0.8.0; configured proxies remain supported and destination DNS checks apply only to direct connections. If upgrading cannot be done immediately, the vendor's interim workarounds are to avoid <token> identity-token credentials for any registry whose token service may redirect to another origin, and to prefer short-lived, narrowly scoped registry credentials so that a replayed body has minimal value - both reduce but do not eliminate the exposure, since the redirect replay path remains in pre-0.8.0 code. Because the trigger depends on an attacker-influenced cross-origin redirect, also audit token endpoints for open redirects and pin expected token realms where the client configuration allows it. Advisory: https://github.com/sigstore/sigstore-js/security/advisories/GHSA-9mj6-f434-pgcg. Treat as a this-week remediation item rather than an emergency.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
The flaw is CWE-201 (Insertion of Sensitive Information Into Sent Data) in the OCI registry authentication path of the sigstore-js monorepo, specifically the OAuth2 token request and shared redirect loop in packages/oci/src/registry.ts (affected lines 505-520 at tag @sigstore/oci@0.7.2). Per the OCI distribution flow, a registry replies to an unauthenticated request with 401 and a WWW-Authenticate: Bearer challenge naming a token realm; the client then exchanges credentials at that realm. When the username is the <token> sentinel, @sigstore/oci uses the OAuth2 password grant, placing username, password and grant_type=password in the POST body rather than in an Authorization header. HTTP 307 and 308 redirects preserve both method and body, so a redirect to a different origin causes the secret-bearing body to be re-sent; a 303 redirect switches to GET and drops the body, which is why it is unaffected. The client's existing hardening covers only header-based credentials, leaving body-carried secrets unprotected - the classic gap between header-stripping redirect logic and form-encoded authentication. The same report notes a related correctness issue in packages/oci/src/image.ts, where Docker Hub canonicalization uses endsWith('docker.io'), so look-alike hosts such as mydocker.io are routed to Docker Hub; because credential lookup still requires an exact host match, this does not send credentials to an attacker-chosen host and is treated as hardening. The upstream fix commit (7ca56e9d) additionally imposes a network policy: requests now require HTTPS and public network destinations unless an origin is explicitly allowed via fetchOpts.allowedPrivateOrigins (CLI flag --allow-private-origin), with configured proxies still supported and destination DNS checks applying only to direct connections. A malicious registry does not need this redirect because it already selects the token endpoint through its WWW-Authenticate challenge; the issue matters precisely where the registry and its token service are otherwise trusted.
Know when Sigstore gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N
Network-reachable with no attacker auth (PR:N), but needs the trusted token service to issue a cross-origin 307/308 redirect (AC:H); impact is credential disclosure only (C:H, I/A:N).
Primary rating from Vendor (VulnCheck).
CVSS VectorVendor: VulnCheck
DescriptionCVE.org
sigstore-js @sigstore/oci before 0.8.0 contains a credential exposure vulnerability that leaks registry credentials by replaying OAuth2 password-grant request bodies on cross-origin 307 or 308 redirects. Attackers who can make a trusted token service redirect to their host via open redirect or compromise receive the username and password POSTed by RegistryClient.
Technical POC Analysis
CWE-201, Insertion of Sensitive Information Into Sent Data.
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
A high-severity vulnerability in the @sigstore/oci library (versions before 0.8.0) can expose OAuth2 credentials when used to authenticate to container registries. This affects engineering teams using Sigstore for software supply chain security, potentially compromising registry access and the integrity of build artifacts.
Apply vendor patch: upgrade to @sigstore/oci 0.8.0 or later. If patching is not immediately possible, avoid using token-based credentials for OCI registry authentication and ensure that registry token endpoints do not issue cross-origin redirects.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
cosign is a container signing and verification utility. Rated critical severity (CVSS 9.8), this vulnerability is remote
Cosign provides code signing and transparency for containers and binaries. Rated high severity (CVSS 7.5), this vulnerab
Credential leakage in sigstore-js (specifically the @sigstore/oci package) before 0.7.1 allows Docker registry credentia
Cosign's bundle verification mechanism fails to properly validate that embedded Rekor entries reference the correct arti
Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. Rated medium
Cosign is a sigstore signing tool for OCI containers. Rated medium severity (CVSS 5.3), this vulnerability is remotely e
PolicyController is a utility used to enforce supply chain policy in Kubernetes clusters. Rated high severity (CVSS 8.8)
Cosign provides code signing and transparency for containers and binaries. [CVSS 3.7 LOW]
Sigstore-ruby versions before 0.2.3 fail to properly validate artifact digests when verifying DSSE bundles with in-toto
sigstore-go, a Go library for Sigstore signing and verification, is susceptible to a denial of service attack in version
Cosign provides code signing and transparency for containers and binaries. Rated medium severity (CVSS 5.9), this vulner
Cosign verify-blob-attestation incorrectly validates attestation signatures and predicate types in versions before 3.0.6
EUVD-2026-132847
GHSA-hjv4-gj8r-4r4r
NVD
CVE.org
EPSS
Vulnrichment
Exploit-DB