Description
sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 0.7.2, packages/oci/src/registry.ts contains a RegistryClient.signIn() method that stores registry Authorization and Docker configuration headers as defaults on a shared HTTP client, while RegistryClient.uploadBlob() sends a fresh PUT to an absolute blob-upload Location supplied by the registry without checking that its origin or scheme matches the registry. A malicious or compromised registry can therefore direct a user pushing an artifact through attachArtifactToImage() to an attacker-controlled host and receive the registry bearer token, Basic credentials, or custom authentication headers. Redirect-time header stripping does not prevent the leak because the cross-host PUT is a new explicit request rather than a followed redirect. This is a residual of CVE-2026-59891, whose fix changed credential selection in credentials.ts but did not constrain where credentials are sent from registry.ts. Version 0.7.2 fixes the issue by separating registry credentials from client-wide defaults and sending them only to the registry origin.
Published: 2026-10-29
Score: 7.4 High
EPSS: n/a
KEV: No
Impact: Credentials or authentication information leakage
Action: Apply Patch
AI Analysis

Impact

sigstore-js stores authorization and Docker configuration headers on a shared HTTP client and then sends these headers to any absolute blob-upload location supplied by the registry, without validating that the target host matches the registry origin. This allows a malicious or compromised registry to redirect a client during artifact upload to an attacker‑controlled host and capture bearer tokens, Basic credentials, or custom authentication headers. The flaw is a direct leakage of credential material, raising confidentiality risks to any user interacting with the vulnerable library.

Affected Systems

The vulnerable component is the sigstore-js JavaScript library, used to interact with Sigstore services. All releases prior to 0.7.2 are affected, including 0.7.1 and earlier. The fix is released in version 0.7.2, which separates registry credentials from client‑wide defaults and ensures they are only sent to the registry origin.

Risk and Exploitability

The CVSS score of 7.4 indicates a high potential impact. No EPSS score is available, and the vulnerability is not listed in the CISA KEV catalog. The likely attack vector is remote, requiring the attacker to control or manipulate the registry’s upload URL. An attacker can then obtain sensitive authentication tokens, enabling further credential‑based attacks such as unauthorized access to protected resources or services.

Generated by OpenCVE AI on October 29, 2026 at 18:25 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Apply the vendor patch to upgrade to sigstore-js version 0.7.2 or later
  • Configure the HTTP client to prevent sending authorization headers to hosts not matching the registry origin, for example by validating the request URL before sending credentials
  • Segregate network traffic so that clients only communicate with trusted registry hosts, limiting the impact if a registry is compromised

Generated by OpenCVE AI on October 29, 2026 at 18:25 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 29 Oct 2026 17:15:00 +0000

Type Values Removed Values Added
Description sigstore-js provides JavaScript libraries for interacting with Sigstore services. Prior to 0.7.2, packages/oci/src/registry.ts contains a RegistryClient.signIn() method that stores registry Authorization and Docker configuration headers as defaults on a shared HTTP client, while RegistryClient.uploadBlob() sends a fresh PUT to an absolute blob-upload Location supplied by the registry without checking that its origin or scheme matches the registry. A malicious or compromised registry can therefore direct a user pushing an artifact through attachArtifactToImage() to an attacker-controlled host and receive the registry bearer token, Basic credentials, or custom authentication headers. Redirect-time header stripping does not prevent the leak because the cross-host PUT is a new explicit request rather than a followed redirect. This is a residual of CVE-2026-59891, whose fix changed credential selection in credentials.ts but did not constrain where credentials are sent from registry.ts. Version 0.7.2 fixes the issue by separating registry credentials from client-wide defaults and sending them only to the registry origin.
Title @sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location
Weaknesses CWE-522
References
Metrics cvssV3_1

{'score': 7.4, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-10-29T17:01:40.294Z

Reserved: 2026-10-28T19:20:05.017Z

Link: CVE-2026-118763

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

Published: 2026-10-29T17:18:07.230

Modified: 2026-10-29T17:18:07.230

Link: CVE-2026-118763

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-29T18:30:14Z

Weaknesses
  • CWE-522

    Insufficiently Protected Credentials