Skip to main content

@sigstore/oci CVE-2026-134816

| EUVDEUVD-2026-132847 HIGH
Insertion of Sensitive Information Into Sent Data (CWE-201)
2026-11-22 VulnCheck GHSA-hjv4-gj8r-4r4r
8.2
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify client using <token> registry credentials
  2. Delivery
    Abuse open redirect on trusted token service
  3. Exploit
    Token endpoint returns cross-origin 307/308
  4. Execution
    Client replays OAuth2 password-grant body to attacker host
  5. Impact
    Harvest 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 <token> identity-token credentials, so @sigstore/oci runs the OAuth2 password grant and POSTs username/password/grant_type=password to the token endpoint; and (2) the token endpoint responds to that POST with a cross-origin 307 or 308 redirect to an attacker-controlled destination, reachable through an open redirect, misconfiguration, or compromise of the token service. The flaw is limited by several factors: the client already strips the Authorization header on cross-origin redirects (only the request body leaks); a 303 redirect is NOT exploitable because it converts the request to GET and drops the body; and the scenario only matters when the registry and its token service are otherwise trusted (a malicious registry does not need this, since it already selects the token endpoint via its WWW-Authenticate challenge). The vendor states updating to >= 0.8.0 is the fix; interim workarounds are to avoid <token> identity-token credentials for registries whose token service may redirect to another origin and to prefer short-lived, narrowly scoped credentials.

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 <token> identity-token credentials (triggering the OAuth2 password grant), and the trusted token service must emit a cross-origin 307 or 308 redirect to an attacker-controlled host - via an open redirect, misconfiguration, or compromise. Impact is confidentiality-only (VC:H, VI:N/VA:N): the leaked data is the registry username and password, with no direct integrity or availability effect, though exposed registry credentials can enable downstream image tampering. No KEV listing and no EPSS score are present in the input, so there is no evidence of active or probable widespread exploitation; the vuln.today decision label is 'this_week', consistent with a serious-but-not-emergency priority. Net: a genuine credential-leak bug worth prompt patching, but its real-world risk is gated by whether a trusted token endpoint can be made to issue a cross-origin 307/308 redirect - a non-default, attacker-dependent condition rather than a broadly exploitable default state. Note a data conflict: the top-level input says 'Patch: Available from vendor' and the package metadata lists 'fixed in >= 0.8.0', while the GHSA advisory body states 'Not yet patched' - the advisory text appears stale relative to the fix.

Exploit ScenarioDerived

An organization runs @sigstore/oci (< 0.8.0) configured with <token> identity-token credentials against an otherwise trusted registry whose token service contains an open redirect (or is compromised). An attacker induces that token endpoint to answer the OAuth2 password-grant POST with a cross-origin 307/308 redirect to a host they control; RegistryClient follows it and re-sends the original body - including username and password - to the attacker. No public exploit was identified at time of analysis; the attack is described in the GHSA advisory but no working exploit code is referenced.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

sigstore-js 0 <0.8.0

Affected Packages

euvd sigstore_js fix: 0.8.0

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

Vendor (VulnCheck) PRIMARY 8.2 HIGH
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
vuln.today AI 5.9 MEDIUM

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

3.1 AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:N/A:N
4.0 AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
High
Attack Requirements
Present
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
High
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
None
Subsequent system: Integrity
None
Subsequent system: Availability
None

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.5%
Top 57% exploitable
Prevalence
Low
niche OCI attestation library; narrow <token>-credential code path limits footprint
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Partial

Priority Score

41
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +41
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0
CVE-2022-35929 CRITICAL POC
9.8 Aug 04

cosign is a container signing and verification utility. Rated critical severity (CVSS 9.8), this vulnerability is remote

CVE-2024-29903 HIGH POC
7.5 Apr 10

Cosign provides code signing and transparency for containers and binaries. Rated high severity (CVSS 7.5), this vulnerab

CVE-2026-59891 CRITICAL
9.6 Jul 14

Credential leakage in sigstore-js (specifically the @sigstore/oci package) before 0.7.1 allows Docker registry credentia

CVE-2026-22703 MEDIUM POC
5.5 Jan 10

Cosign's bundle verification mechanism fails to properly validate that embedded Rekor entries reference the correct arti

CVE-2022-36056 MEDIUM POC
5.5 Sep 14

Cosign is a project under the sigstore organization which aims to make signatures invisible infrastructure. Rated medium

CVE-2023-46737 MEDIUM POC
5.3 Nov 07

Cosign is a sigstore signing tool for OCI containers. Rated medium severity (CVSS 5.3), this vulnerability is remotely e

CVE-2022-35930 HIGH
8.8 Aug 04

PolicyController is a utility used to enforce supply chain policy in Kubernetes clusters. Rated high severity (CVSS 8.8)

CVE-2026-24122 LOW POC
3.7 Feb 19

Cosign provides code signing and transparency for containers and binaries. [CVSS 3.7 LOW]

CVE-2026-31830 HIGH
7.5 Mar 10

Sigstore-ruby versions before 0.2.3 fail to properly validate artifact digests when verifying DSSE bundles with in-toto

CVE-2024-45395 HIGH
7.5 Sep 04

sigstore-go, a Go library for Sigstore signing and verification, is susceptible to a denial of service attack in version

CVE-2024-29902 MEDIUM
5.9 Apr 10

Cosign provides code signing and transparency for containers and binaries. Rated medium severity (CVSS 5.9), this vulner

CVE-2026-39395 MEDIUM
5.3 Apr 07

Cosign verify-blob-attestation incorrectly validates attestation signatures and predicate types in versions before 3.0.6

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy