# CVE-2026-134816: sigstore-js @sigstore/oci before 0.8.0 Credential Exposure via Cross-Origin Redirect

> A malicious or compromised token service can redirect registry OAuth2 requests to steal registry credentials from apps using sigstore-js.

- **Severity:** High 8.2 (`CVSS:4.0/AV:N/AC:H/AT:P/PR:N/UI:N/VC:H/VI:N/VA:N/SC:N/SI:N/SA:N`)
- **Exploited in the wild:** Not known
- **Login needed:** Not needed
- **Attackable:** Over the internet
- **Victim action needed:** Not needed
- **Harmful if only installed:** No
- **Needs a specific call:** Yes (`RegistryClient`)
- **Fix available:** No
- **Published:** 22 Nov 2026
- **Updated:** 24 Nov 2026
- **Also known as:** GHSA-9mj6-f434-pgcg, GHSA-hjv4-gj8r-4r4r

## What is CVE-2026-134816?

CVE-2026-134816 is a high-severity information disclosure vulnerability in sigstore-js, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.

### Official description

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.

Weakness: CWE-201 (Insertion of Sensitive Information Into Sent Data)

## Which versions are affected by CVE-2026-134816?

1 open source package ship an affected version, including %40sigstore/oci.

An affected version is only exploitable if your software calls RegistryClient. Many projects that include it are not exposed.


| Package | Ecosystem | PURL | Affected | Fixed in |
| --- | --- | --- | --- | --- |
| `%40sigstore/oci` | npm | `pkg:npm/%40sigstore/oci` | All versions | 0.8.0 |

## How do I fix CVE-2026-134816?

Upgrade each affected package to the fixed version listed for it above. Each package has its own fixed versions.

## Is CVE-2026-134816 being exploited?

There is no known exploitation of CVE-2026-134816 in the wild and no public exploit code.

Public exploit code:

- @sigstore/oci <0.8.0: OAuth2 password-grant body replayed on cross-origin 307/308 redirect — registry credentials leak. Verbatim validateDestination from 7ca56e9: metadata redirect receives body on vuln, blocked by network policy on fixed (github_poc): https://github.com/googlesky/CVE-2026-134816

## Fix prompt for AI coding agents

```text
Check this codebase for CVE-2026-134816 and fix it if it is affected.

What it is: CVE-2026-134816 is a high-severity information disclosure vulnerability in sigstore-js, published on 22 Nov 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.
Exploitation: There is no known exploitation of CVE-2026-134816 in the wild and no public exploit code.
Exposure: An affected version is only exploitable if your software calls RegistryClient. Many projects that include it are not exposed.

Affected packages and fixed versions:
- %40sigstore/oci (npm): affected all versions; fixed in 0.8.0

Task:
1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.
   If an affected version is present, also search the code for calls to RegistryClient and report whether any exist.
2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.
3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.
4. Run the tests and summarise what changed and why.
5. If nothing in the project is affected, say so and change nothing.

Reference: https://insights.sbomify.com/CVE-2026-134816/ (Markdown: https://insights.sbomify.com/CVE-2026-134816/index.md)
```

## Sources

- CVE record: https://www.cve.org/CVERecord?id=CVE-2026-134816
- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-134816
- OSV: https://osv.dev/vulnerability/CVE-2026-134816

---
From sbomify Insights: https://insights.sbomify.com/CVE-2026-134816/
Summaries are generated and may contain mistakes; the official description above is the record.
