{"schemaVersion":4,"id":"CVE-2026-118763","aliases":["GHSA-j63v-mwhm-56jx"],"status":"published","duplicateOf":null,"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.","dates":{"published":"2026-10-29T17:01:40.294Z","modified":"2026-10-30T17:13:12.761Z","reserved":null,"kevAdded":[],"kevDue":[]},"cvss":{"headline":{"score":7.4,"severity":"high","version":"3.1","versionLabel":"v3.1","source":"CVE.org","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","computed":false,"selection":"backend-summary"},"metrics":[{"version":"3.1","versionLabel":"v3.1","source":"CVE.org","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"NVD","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":null,"impact":null,"computed":false},{"version":"3.1","versionLabel":"v3.1","source":"OSV · Npm","score":7.4,"severity":"high","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","exploitability":7.2,"impact":6.7,"computed":true}]},"epss":{"probability":0.00397,"percentile":0.36068,"severity":"low","asOf":"2026-12-04T00:00:00.000Z","change":{"pp":0.09699999999999995,"baselineDate":"2026-11-04T00:00:00.000Z","baselineScore":0.003},"history":[{"date":"2026-10-30T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-10-31T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-01T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-02T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-03T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-04T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00397,"percentile":0.36068}],"last30":[{"date":"2026-11-04T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-05T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-06T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-07T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-08T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-09T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-10T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-11T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-12T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-13T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-14T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-15T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-16T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-17T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-18T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-19T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-20T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-21T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-22T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-23T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-24T00:00:00.000Z","score":0.003,"percentile":null},{"date":"2026-11-25T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-26T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-27T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-28T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-29T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-11-30T00:00:00.000Z","score":0.00538,"percentile":null},{"date":"2026-12-01T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-02T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-03T00:00:00.000Z","score":0.00397,"percentile":null},{"date":"2026-12-04T00:00:00.000Z","score":0.00397,"percentile":0.36068}]},"kev":{"state":"not-listed","entries":[],"listedCount":0,"totalCatalogs":3,"catalogs":[{"source":"cisa","label":"CISA","listed":false,"entry":null},{"source":"enisa","label":"ENISA","listed":false,"entry":null},{"source":"circl","label":"CIRCL","listed":false,"entry":null}]},"ransomware":{"state":"none-recorded","sources":[]},"exploits":[],"exploitCount":0,"weaknesses":[{"id":"CWE-522","name":"Insufficiently Protected Credentials","description":"The product transmits or stores authentication credentials, but it uses an insecure method that is susceptible to unauthorized interception and/or retrieval.","type":"weakness","status":"Incomplete","abstraction":"Class","likelihoodOfExploit":null,"url":"https://cwe.mitre.org/data/definitions/522.html"}],"affected":[{"vendor":"@sigstore","product":"oci","name":"@sigstore/oci","label":"oci","ecosystem":"Npm","cpePart":null,"purl":"pkg:npm/@sigstore/oci","purlType":"npm","versions":[{"text":"< 0.7.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.7.2","endInclusive":false}}],"versionsText":"< 0.7.2","eol":null,"hubHref":null},{"vendor":"sigstore","product":"sigstore-js","name":"sigstore-js","label":"sigstore-js","ecosystem":null,"cpePart":"a","purl":null,"purlType":null,"versions":[{"text":"< 0.7.2","noFixRecorded":false,"fixedIn":null,"bounds":{"kind":"range","start":null,"startInclusive":true,"end":"0.7.2","endInclusive":false}}],"versionsText":"< 0.7.2","eol":null,"hubHref":"/vendor/sigstore/sigstore-js"}],"affectedCount":2,"eol":{"hasEol":false,"count":0},"references":[{"url":"https://github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","label":"github.com/sigstore/sigstore-js/security/advisories/GHSA-j63v-mwhm-56jx","hostname":"github.com","tags":["X Refsource CONFIRM","WEB"]},{"url":"https://github.com/sigstore/sigstore-js/pull/1762","label":"github.com/sigstore/sigstore-js/pull/1762","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","label":"github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","label":"github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2","label":"github.com/sigstore/sigstore-js/releases/tag/@sigstore/oci@0.7.2","hostname":"github.com","tags":["X Refsource MISC","WEB"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-118763","label":"nvd.nist.gov/vuln/detail/CVE-2026-118763","hostname":"nvd.nist.gov","tags":["Advisory"]},{"url":"https://github.com/sigstore/sigstore-js","label":"github.com/sigstore/sigstore-js","hostname":"github.com","tags":["PACKAGE"]}],"lineage":{"upstream":[],"downstream":[],"duplicates":[],"related":[]},"timeline":[{"kind":"published","date":"2026-10-29T17:01:40.294Z","label":"Published","detail":"Vulnerability first disclosed.","source":null},{"kind":"modified","date":"2026-10-30T17:13:12.761Z","label":"Last modified","detail":"Vulnerability information updated.","source":null}],"priority":{"label":"routine","tag":null,"reason":"Not severe (CVSS 7.4, network access); no exploitation reported by the 5 checked sources","nextStep":"Fix in the normal cadence","rank":[0,0,0,0,0,74],"checkedSources":["cisa","enisa","circl","shadowserver","cisa-adp"],"evidence":[{"type":"epss","source":"FIRST","date":"2026-12-04T00:00:00.000Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"value":0.00397,"stale":false,"promoted":null},{"type":"cvss","source":"cve.org","date":"2026-10-30T17:13:12.761Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1","headline":true},{"type":"cvss","source":"nvd","date":"2026-10-30T17:13:12.761Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"cvss","source":"osv_npm","date":"2026-10-30T17:13:12.761Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"score":7.4,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:N/A:N","version":"3.1"},{"type":"adp","source":"cisa-adp","date":"2026-10-30T15:20:32.038Z","status":"valid","statusDate":null,"statusSource":null,"disputes":[],"exploitation":"none"}],"epss":{"value":0.00397,"date":"2026-12-04T00:00:00.000Z","stale":false,"promoted":null},"sources":[{"id":"cisa","lastSuccessfulSync":"2026-12-05T08:03:29.184Z","state":"fresh"},{"id":"enisa","lastSuccessfulSync":"2026-12-05T08:03:29.748Z","state":"fresh"},{"id":"circl","lastSuccessfulSync":"2026-12-05T08:03:29.946Z","state":"fresh"},{"id":"shadowserver","lastSuccessfulSync":null,"state":"unavailable"},{"id":"cisa-adp","lastSuccessfulSync":"2026-12-05T08:01:00.622Z","state":"fresh"},{"id":"epss","lastSuccessfulSync":"2026-12-05T08:03:27.537Z","state":"fresh"},{"id":"osv","lastSuccessfulSync":"2026-12-05T08:03:26.585Z","state":"fresh"}],"feedEvent":null},"meta":{"dataAsOf":"2026-12-05T08:38:21.960Z","stale":false,"partial":false}}