npm
CVE-2026-118763
@sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location
- Severity
- High 7.4
- Published
- 30 Oct 2026
- Last changed
- 30 Oct 2026
- Added to UpHeron
- 23 Nov 2026
- Fixed in
- 0.7.2
- Exploit chance
- 0.3% in the next 30 daysHigher than 22% of CVEs. EPSS by FIRST, 24 Nov 2026
- Attack
- Over the network · No login needed · Needs someone to click or open something
- Attacker can
- Read data
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N- Also known as
- GHSA-j63v-mwhm-56jx
- Sources
- OSV.dev and GitHub
Description
Because signIn() sets Authorization via .defaults(), it is attached to every request the client issues, including requests to a host the client read out of a server response. When a POST to .../blobs/uploads/ returns an absolute Location pointing to a different host, uploadBlob() PUTs the blob there with the registry Authorization header still attached. If the challenge scheme was basic, that header carries the raw registry username:password; if bearer, it carries the access token; creds.headers custom auth headers ride along too.
The library's HTTP layer (make-fetch-happen / minipass-fetch) strips Authorization on cross-host redirects it follows internally, which protects the HEAD ... { redirect: 'follow' } at :167. It does not help here, because the PUT to the upload Location is a fresh, explicit this.#fetch() call, not a followed redirect, so the default header is applied unconditionally.
Affected software
| Software | Affected versions |
|---|---|
@sigstore/ocinpm · osv:npm:@sigstore/oci |
|
About @sigstore/oci
- Weekly downloads (npm)
- 8,852npm, 23 Nov 2026
Vulnerabilities in @sigstore/oci
- In our list
- 2
- Published in the last 12 months
- 2
- Critical, last 12 months
- 0
- High, last 12 months
- 2
- Known exploited
- 0
- CVE-2026-134816sigstore-js @sigstore/oci before 0.8.0 Credential Exposure via Cross-Origin RedirectHigh 8.2 22 Nov 2026
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-118763
- GitHub Advisory Database https://github.com/advisories/GHSA-j63v-mwhm-56jx