CVE-2026-118763 @sigstore/oci sends the registry Authorization header to a cross-host blob-upload Location
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
- Technology
- Docker
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.
Upgrade path
2 packages: 1 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| sigstore @sigstore/oci(npm) | < 0.7.2; <= 0.7.1 | 0.7.2 | Fixed |
| sigstore-js | = < 0.7.2 | No fix listed | Versions listed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| sigstore-js | = < 0.7.2 | No fix listed |
| sigstore @sigstore/oci(npm) | <= 0.7.1 | No fix listed |
| sigstore @sigstore/oci(npm) | < 0.7.2 | 0.7.2 |
References
- Red Hat CVE page vendor-advisory
- Red Hat Bugzilla 2563618 issue-tracking
- www.cve.org
- nvd.nist.gov third-party-advisory vendor-advisory
- https://github.com/sigstore/sigstore-js/commit/b855f46cfe81f26481c6d3f4b333dfd00f2fd1b1 patch
- https://github.com/sigstore/sigstore-js/commit/e4ca65c3ab3c675456ab9b0bd04217ceccad3558 patch
- https://github.com/sigstore/sigstore-js/pull/1762 patch
- 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 vendor-advisory
- github.com
- github.com product
- ENISA EUVD EUVD-2026-113272 third-party-advisory