{"id":"CVE-2026-118763","published":"2026-10-29T17:01:40Z","modified":"2026-10-30T17:13:12Z","title":"@sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location","vendor":"sigstore","product":"sigstore-js","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":7.4,"severity":"HIGH","version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.003,"percentile":0.23261,"provenance":"source"},"cwes":[{"id":"CWE-522","name":"Insufficiently Protected Credentials"}],"references":[{"url":"https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","tags":["x_refsource_CONFIRM"]},{"url":"https://github.com/sigstore/sigstore-js/pull/1762","tags":["x_refsource_MISC"]},{"url":"https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","tags":["x_refsource_MISC"]},{"url":"https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","tags":["x_refsource_MISC"]},{"url":"https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2","tags":["x_refsource_MISC"]}],"priority":{"score":9.8,"factors":[{"name":"EPSS percentile","points":4.65},{"name":"CVSS severity","points":5.18}]},"vendorSlug":"sigstore","affectedVersions":[{"vendor":"sigstore","product":"sigstore-js","versions":["< 0.7.2"]}],"ssvc":{"exploitation":"none","automatable":"no","technicalImpact":"partial","timestamp":"2026-10-30T15:20:32.038162Z","from":"CISA ADP","provenance":"source"},"affected":[{"ecosystem":"npm","package":"@sigstore/oci","vulnerableRanges":["<0.7.2"],"patched":["0.7.2"],"from":["GHSA-j63v-mwhm-56jx"],"provenance":"source"}],"euvd":{"id":"EUVD-2026-113272","exploited":false,"provenance":"source"},"lineage":{"familyId":"fam-sigstore-js-cve-2026-59891","parents":[{"from":"CVE-2026-59891","to":"CVE-2026-118763","relation":"successor","confidence":"high","kind":"lineage","evidence":[{"kind":"version-step","provenance":"source","package":"npm:@sigstore/oci","fromFixed":"0.7.1","toFixed":"0.7.2","daysApart":107},{"kind":"same-code","provenance":"machine","files":["packages/oci/src/credentials.ts"],"commits":["https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","https://github.com/sigstore/sigstore-js/commit/85c58380758b97ce1b74ef470e55cc21f9d3aa89"],"basis":"rarely changed file"}]}],"packageHistory":[{"cve":"CVE-2026-59891","published":"2026-07-14","fixed":"0.7.1","kev":false},{"cve":"CVE-2026-118763","published":"2026-10-29","fixed":"0.7.2","kev":false}],"package":"npm:@sigstore/oci"}}