AploSec / Disclosures / CVE-2026-134816
sigstore-js @sigstore/oci before 0.8.0 Credential Exposure via Cross-Origin Redirect
CVE-2026-134816 · published 2026-11-22
In plain words: this type of bug can expose passwords, tokens or private data to people who should not see them (information exposure). A fixed release is listed.
Summary
CVE-2026-134816 affects @sigstore/oci (npm) < 0.8.0: Credential Exposure via Cross-Origin Redirect (CWE-201). Fixed in 0.8.0. CVSS 4.0 base score 8.2 (High), assigned by VulnCheck. Published 2026-11-22 by VulnCheck. Credit: Zachariah Mithani (AploSec).
sigstore-js @sigstore/oci before 0.8.0 contains a credential exposure vulnerability that leaks registry credentials by replaying OAuth2 password-grant request bodies on cross-origin 307 or 308 redirects. Attackers who can make a trusted token service redirect to their host via open redirect or compromise receive the username and password POSTed by RegistryClient.
Evidence
Reported to the maintainer. The public advisory and references below describe the evidence and preconditions; reporting status alone does not establish independent reproduction.
Remediation
Upgrade @sigstore/oci to 0.8.0 or later. Releases in the affected range (< 0.8.0) are vulnerable. See the linked advisory for details on affected release lines.
Timeline
- 2026-11-22 CVE published
References
- Referencehttps://github.com/sigstore/sigstore-js/security/advisories/GHSA-9mj6-f434-pgcg
- VulnCheck advisoryhttps://www.vulncheck.com/advisories/sigstore-js-sigstore-oci-before-0.8.0-credential-exposure-via-cross-origin-redirect
- Fix commithttps://github.com/sigstore/sigstore-js/commit/7ca56e9d068458642fc8a148c4916717b6918bec
- Vulnerable codehttps://github.com/sigstore/sigstore-js/blob/%40sigstore/oci%400.7.2/packages/oci/src/registry.ts#L505-L520
- CVE recordhttps://www.cve.org/CVERecord?id=CVE-2026-134816
- NVD recordhttps://nvd.nist.gov/vuln/detail/CVE-2026-134816
- Severity
- High 8.2CVSS 4.0, scored by VulnCheck in the CVE record
- Package
- @sigstore/oci
- Ecosystem
- npm
- Affected
- < 0.8.0
- Fixed
- 0.8.0
- Weakness
- CWE-201
- CNA
- VulnCheck
- Credit
- Zachariah Mithani (AploSec)finder