# CVE-2026-118763: @sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 7.4
- **CVSS:** 7.4 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: None; User interaction: Required; Scope: Changed (impact reaches other components); Confidentiality impact: High; Integrity impact: None; Availability impact: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.54% (percentile 39, 2026-11-28)
- **CWE:** CWE-522
- **Aliases:** GHSA-j63v-mwhm-56jx
- **Published:** 2026-10-29T17:01:40.294Z
- **Modified:** 2026-10-30T23:15:08.378Z

## Who should check

- Projects that depend on npm package @sigstore/oci (\< 0.7.2)
- Anyone running sigstore-js \< 0.7.2

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

## Affected and fixed versions

- npm `@sigstore/oci`: affected \< 0.7.2; fixed 0.7.2 (osv)
- sigstore-js: \< 0.7.2 (cvelist)

## Mitigation

- Upgrade @sigstore/oci to 0.7.2 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-118763. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-118763.md
Affected: @sigstore/oci < 0.7.2
Fixed in: 0.7.2

Steps:
1. Search this machine and project for @sigstore/oci (npm), sigstore-js: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-118763 being exploited?

There is no confirmed exploitation: CVE-2026-118763 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.54% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-118763?

High: CVSS 7.4 (v3.1, scored by CNA). Remote, no login needed. A user has to take an action, such as opening a link, for the attack to work.

### Which versions are affected by CVE-2026-118763?

@sigstore/oci \< 0.7.2.

### Is there a fix for CVE-2026-118763?

Yes. Fixed in 0.7.2. Upgrade @sigstore/oci to 0.7.2 or later.

### How do I check if I'm affected by CVE-2026-118763?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx>
- vendor: <https://nvd.nist.gov/vuln/detail/CVE-2026-118763>
- patch: <https://github.com/sigstore/sigstore-js/pull/1762>
- patch: <https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1>
- patch: <https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558>
- other: <https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2>
- other: <https://github.com/sigstore/sigstore-js>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-118763>
- OSV: CC-BY 4.0 <https://osv.dev/vulnerability/GHSA-j63v-mwhm-56jx> (license: <https://creativecommons.org/licenses/by/4.0/>)

HTML: <https://flawdb.com/CVE-2026-118763> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-118763>
