{"id":"EUVD-2026-113272","revision":null,"records":[{"revision":"6476dfffc415451dbf022689e23a0df6","observedAt":"2026-10-30T18:45:26.441+00:00","statement":{"source":"cve-program","id":"CVE-2026-118763","aliases":[],"title":"@sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location","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.","state":0,"publishedAt":"2026-10-29T17:01:40.294+00:00","modifiedAt":"2026-10-30T17:13:12.761+00:00","affected":[{"ecosystem":"Vendor product","name":"sigstore-js","ranges":[],"versions":[],"rawVersionEvidence":"{\n                    \"vendor\": \"sigstore\",\n                    \"product\": \"sigstore-js\",\n                    \"versions\": [\n                        {\n                            \"version\": \"< 0.7.2\",\n                            \"status\": \"affected\"\n                        }\n                    ]\n                }"}],"metrics":[{"system":"CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","https://github.com/sigstore/sigstore-js/pull/1762","https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2"],"sourceUrl":"https://www.cve.org/CVERecord?id=CVE-2026-118763","license":"CVE Program Terms of Use","key":"cve-program:CVE-2026-118763","identifiers":["CVE-2026-118763"]},"retained":false,"historicalAffected":[]},{"revision":"048fd500e9de42959f882509990bcd60","observedAt":"2026-11-16T04:36:41.144+00:00","statement":{"source":"euvd","id":"EUVD-2026-113272","aliases":["CVE-2026-118763","GHSA-j63v-mwhm-56jx"],"title":"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 …","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.","state":0,"publishedAt":null,"modifiedAt":null,"affected":[],"metrics":[{"system":"EUVD CVSS 3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"severity":null}],"references":["https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","https://github.com/sigstore/sigstore-js/pull/1762","https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2"],"sourceUrl":"https://euvd.enisa.europa.eu/vulnerability/EUVD-2026-113272","license":"ENISA EUVD · source terms and attribution apply","enrichment":{"sourceStatus":null,"weaknesses":[],"productCriteria":[],"sourceDates":{"datePublished":"Oct 29, 2026, 5:01:40 PM","dateUpdated":"Oct 30, 2026, 5:13:12 PM"},"relatedAdvisories":[],"note":"EUVD source date text has no stated timezone and is retained without inventing a UTC instant. Related bulletin membership is not an alias, common cause or applicability claim. A missing vector with a zero score is treated as unrated. Complete vendor/product and underlying source evidence remains in the original JSON."},"key":"euvd:EUVD-2026-113272","identifiers":["EUVD-2026-113272","CVE-2026-118763","GHSA-j63v-mwhm-56jx"]},"retained":false,"historicalAffected":[]},{"revision":"4b179740afde4e489af5cb95426809aa","observedAt":"2026-10-30T23:47:40.018+00:00","statement":{"source":"nvd","id":"CVE-2026-118763","aliases":[],"title":"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 …","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.","state":0,"publishedAt":"2026-10-29T17:18:07.23+00:00","modifiedAt":"2026-10-30T19:39:14.897+00:00","affected":[],"metrics":[{"system":"CVSS 3.1 · security-advisories@github.com · Secondary","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":7.4,"severity":"HIGH"}],"references":["https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","https://github.com/sigstore/sigstore-js/pull/1762","https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2","https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx"],"sourceUrl":"https://nvd.nist.gov/vuln/detail/CVE-2026-118763","license":"NIST NVD usage terms; underlying source attribution retained","enrichment":{"sourceStatus":"Deferred","weaknesses":["CWE-522"],"productCriteria":[],"sourceDates":{"published":"2026-10-29T17:18:07.230","lastModified":"2026-10-30T19:39:14.897"},"relatedAdvisories":[],"note":"NVD analysis and CPE criteria are source context, not proof that a package or your environment is affected. Complete affected data, logical configurations and SSVC are retained in the original JSON."},"key":"nvd:CVE-2026-118763","identifiers":["CVE-2026-118763"]},"retained":false,"historicalAffected":[]},{"revision":"7360f2be089f4f36836ee40c4253aa18","observedAt":"2026-10-30T23:45:44.41+00:00","statement":{"source":"osv","id":"GHSA-j63v-mwhm-56jx","aliases":["CVE-2026-118763"],"title":"@sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location","description":"### Summary\n\n@sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location\n\n## Affected versions and vulnerable location\n\n- Confirmed on sigstore-js at `3a83271` (current HEAD).\n- File: `packages/oci/src/registry.ts`.\n  - `signIn()` installs the credential as a DEFAULT header on the shared client: `this.#fetch = this.#fetch.defaults({ headers: { [HEADER_AUTHORIZATION]: 'Basic ' + basicAuth } })` (`:126-128`) or `... 'Bearer ' + token` (`:145-147`), plus `creds.headers` from the Docker config (`:104`).\n  - `uploadBlob()` reads the `Location` response header (`:184`), builds `uploadLocation = new URL(location.startsWith('/') ? this.#baseURL + location : location)` (`:190-192`), and PUTs the blob to it through the same client: `await this.#fetch(uploadLocation.href, { method: 'PUT', body: blob, headers: { [HEADER_CONTENT_TYPE]: ... } })` (`:198`).\n- There is no check that `uploadLocation`'s host (or scheme) equals the registry host before the PUT is sent.\n\n## Root cause\n\nBecause `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.\n\nThe 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.\n\nThis is a residual of GHSA-pf56-329r-95rw / CVE-2026-59891 (credential confusion in `@sigstore/oci`). The fix for that advisory (commit `85c5838`) changed only `credentials.ts`, replacing a `key.includes(registry)` substring match with an exact host match when SELECTING which Docker credential to load. It never touched `registry.ts`, which controls WHERE the loaded credential is sent. The cross-host send remains.\n\n## Attacker model\n\nA user pushing a signed artifact/attestation to an OCI registry via `attachArtifactToImage()`. The credential leaks to any host the registry names in the blob-upload `Location`. This is reachable when the registry is malicious or compromised, or when a registry that legitimately redirects blob uploads to third-party storage is impersonated. The OCI distribution spec permits absolute upload `Location` values (registries commonly redirect blob storage to a separate host), so a compliant-but-hostile registry can steer the PUT to an attacker host and capture the credential. This is the same \"attacker-controlled registry\" threat model accepted for GHSA-pf56.\n\n## Reachability trace\n\n`index.ts:43 attachArtifactToImage()` -> `new OCIImage(...).addArtifact()` -> `image.ts:67 this.#client.signIn(credentials)` (installs the default Authorization header) -> `image.ts:76/79 this.#client.uploadBlob(...)` -> `registry.ts:198` PUT to the response-supplied `Location` with the default Authorization header attached. Same `RegistryClient` instance throughout, so the default persists.\n\n## Reproduction\n\nSource-verified. No live push against a hostile registry was executed in this pass. Confirmed:\n\n```bash\nrg -n \"defaults\\(|HEADER_AUTHORIZATION|Location|new URL\\(|this.#fetch\\(uploadLocation\" packages/oci/src/registry.ts\ngit log --oneline -3 -- packages/oci/src/credentials.ts packages/oci/src/registry.ts\n```\n\n`signIn()` sets `Authorization` via `.defaults()`; `uploadBlob()` PUTs to `uploadLocation.href` (which may be an absolute cross-host URL) with no host check; the GHSA-pf56 fix commit is the latest change to `credentials.ts`, while `registry.ts` has only dependency bumps since.\n\n## Suggested fix\n\nDo not send the registry `Authorization` (or `creds.headers`) to an upload `Location` on a different host. Compare `uploadLocation.host` (and require `https`) against the registry host before the PUT; if it differs, issue the PUT without the credential (matching how registries that redirect to pre-signed storage URLs expect the upload to be unauthenticated), or explicitly re-authenticate for that host. More generally, avoid attaching the credential via a client-wide `.defaults()` and instead attach it per-request only to the registry host.\n\n## How it was found and a note on tooling\n\nEvery place `@sigstore/oci` was traced to attach a credential to an outbound request and checked whether the request host can be steered by a server response. The blob-upload `Location` path attaches the client-default `Authorization` to a PUT whose host comes from the registry response, with no host-equality check, and the GHSA-pf56 fix touched only the credential-selection code, not this send path. I used AI assistance for the trace and drafting and manually verified the cited lines and the fix scope at HEAD `3a83271`. Verification is source-only; I did not execute a push against a hostile registry.\n\n## Independent re-verification at HEAD (2026-07-31)\n\nRe-read at HEAD `3a83271`. Unchanged, and the two halves sit in the same file:\n\n```\n126-127: this.#fetch = this.#fetch.defaults({ headers: { [HEADER_AUTHORIZATION]: `Basic ${basicAuth}` } })\n145-146: this.#fetch = this.#fetch.defaults({ headers: { [HEADER_AUTHORIZATION]: `Bearer ${token}` } })\n104:     this.#fetch = this.#fetch.defaults({ headers: creds.headers })\n```\n\nand in `uploadBlob()`:\n\n```ts\nconst uploadLocation = new URL(\n  location.startsWith('/') ? `${this.#baseURL}${location}` : location\n);\n...\nawait this.#fetch(uploadLocation.href, { method: 'PUT', ... });\n```\n\nThe ternary is the whole issue. A relative `Location` is anchored to `#baseURL`, but an absolute one is\npassed to `new URL()` verbatim, so its host is whatever the registry response said. There is no comparison\nagainst the registry host or scheme before the PUT, and because the credential was installed with\n`.defaults()` rather than passed per-request, it is attached automatically.\n\nWorth separating from the redirect case: the `HEAD` at the top of `uploadBlob()` uses\n`redirect: 'follow'`, and the fetch layer does strip `Authorization` across hosts on redirects it follows\nitself. That protection does not apply here, because the PUT is a fresh explicit call the library makes to\na URL it parsed out of a response body header, not a redirect being followed.\n\nThis has not been executed against a hostile registry, so the leak is traced from the source rather than\nobserved on the wire. The control flow above is unambiguous, but it is better to state the limit than imply\na packet capture that has not been created.","state":0,"publishedAt":"2026-10-30T23:00:17+00:00","modifiedAt":"2026-10-30T23:15:08.378958+00:00","affected":[{"ecosystem":"npm","name":"@sigstore/oci","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"0"},{"kind":"fixed","version":"0.7.2"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"HIGH"}],"references":["https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","https://nvd.nist.gov/vuln/detail/CVE-2026-118763","https://github.com/sigstore/sigstore-js/pull/1762","https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","https://github.com/sigstore/sigstore-js","https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2"],"sourceUrl":"https://github.com/advisories/GHSA-j63v-mwhm-56jx","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-j63v-mwhm-56jx","identifiers":["GHSA-j63v-mwhm-56jx","CVE-2026-118763"]},"retained":false,"historicalAffected":[]}],"coverage":[{"source":"cisa-kev:global","scope":"Complete CISA KEV catalog; all vendors. Missing entries do not establish absence of exploitation.","generation":"2026-11-17T11:30:06.8084484+00:00","complete":true,"records":1781,"lastAttemptAt":"2026-11-17T11:30:06.8084484+00:00","lastSuccessAt":"2026-11-17T11:30:06.9483512+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:06.9483545+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"cve-program","scope":"Official CVE Program baseline and cumulative hourly delta; all vendors, published and rejected records","generation":"cve-30c3da459c38698a15d626d89e52e03e55e19fc45dae0e6d8d723cbf35472cf4-093d6b6b9a3abec085a3ab34f2aca2f89196780349f541e3ec2053566791438b","complete":true,"records":426293,"lastAttemptAt":"2026-11-17T11:26:09.6135705+00:00","lastSuccessAt":"2026-11-17T11:26:09.5625113+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:26:09.6135705+00:00","snapshotPublishedAt":"2026-11-17T11:23:41+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"euvd","scope":"Rolling EUVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global EUVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-efbd6c8095574ddca9387d3c3fac30f4","complete":false,"records":13840,"lastAttemptAt":"2026-11-17T11:41:30.6189442+00:00","lastSuccessAt":"2026-11-17T11:41:30.61+00:00","error":"291 identifier lookups failed; latest failures include AccessDenied (HTTP 403). Other identifiers were checked independently.","lastVerifiedAt":"2026-11-17T11:41:30.61+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13305,"expectedIdentifiers":13890,"failedIdentifiers":291},{"source":"first-epss:nuget","scope":"FIRST EPSS for explicit CVE aliases in the collected public NuGet archive. Not a global EPSS backfill.","generation":"2026-11-17T11:30:06.8084484+00:00","complete":true,"records":1125,"lastAttemptAt":"2026-11-17T11:30:06.8084484+00:00","lastSuccessAt":"2026-11-17T11:30:06.9491063+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:06.9491065+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"nvd","scope":"Rolling NVD lookups of CVE aliases in current public OSV archives; 500 identifiers per refresh, rechecked after 48 hours. Not a global NVD catalog. Successful not-found lookups count as checked; they do not imply withdrawal or safety. No reader inventory is sent.","generation":"enrichment-d15d16b83ad840cfbaa595aa681482cc","complete":true,"records":13853,"lastAttemptAt":"2026-11-17T11:30:08.7192412+00:00","lastSuccessAt":"2026-11-17T11:30:08.713+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:08.713+00:00","snapshotPublishedAt":null,"importing":false,"stagedRecords":0,"checkedIdentifiers":13890,"expectedIdentifiers":13890,"failedIdentifiers":0},{"source":"osv:Go","scope":"Complete OSV Go ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"go-66941ff4149395c0d1a7082fb2226c4cd21c13f3179212d5083b3970d0d2aa5f","complete":true,"records":9958,"lastAttemptAt":"2026-11-17T11:30:03.4863771+00:00","lastSuccessAt":"2026-11-17T07:28:38.090533+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:03.4863771+00:00","snapshotPublishedAt":"2026-11-17T07:18:17+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:NuGet","scope":"Complete OSV NuGet ecosystem archive, including GitHub Advisory Database records; NuGet version matching only","generation":"nuget-f4424d7d4861b1af1404bd15abcb83f295dcd003412a9340ca99dc8200aa148a","complete":true,"records":2014,"lastAttemptAt":"2026-11-17T11:26:10.1325555+00:00","lastSuccessAt":"2026-11-13T19:57:08.2864435+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:26:10.1325555+00:00","snapshotPublishedAt":"2026-11-13T19:33:10+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:crates.io","scope":"Complete OSV crates.io ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"crates.io-5f9b762c8d9707349bf2314d182e55bec21d771dbccab0df7bdffa40d8f89f37","complete":true,"records":3166,"lastAttemptAt":"2026-11-17T11:30:06.7698936+00:00","lastSuccessAt":"2026-11-17T11:30:06.6446748+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:06.7698936+00:00","snapshotPublishedAt":"2026-11-17T10:33:20+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null},{"source":"osv:npm","scope":"Complete OSV npm ecosystem archive, including withdrawn and malicious-package source records; statement counts are not unique CVE counts","generation":"npm-60d957eb0d7c2a5436b674830720601df3b06961d4be3f3ea6c10c854f0dd31a","complete":true,"records":232595,"lastAttemptAt":"2026-11-17T11:30:03.3401006+00:00","lastSuccessAt":"2026-11-17T11:30:02.3881977+00:00","error":null,"lastVerifiedAt":"2026-11-17T11:30:03.3401006+00:00","snapshotPublishedAt":"2026-11-17T10:48:26+00:00","importing":false,"stagedRecords":0,"checkedIdentifiers":null,"expectedIdentifiers":null,"failedIdentifiers":null}]}