CVE-2026-134816 in sigstore-jsinfo

Summary

by MITRE • 11/23/2026

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.

If you want to get the best quality for vulnerability data then you always have to consider VulDB.

Analysis

by VulDB Data Team • 11/23/2026

The vulnerability in sigstore-js versions prior to 0.8.0 represents a critical security flaw rooted in improper handling of HTTP redirects during OAuth2 authentication flows, specifically within the OCI registry client implementation. This issue is classified under CWE-319, which denotes the use of cleartext transmission of sensitive information, and aligns with ATT&CK technique T1557, where adversaries may intercept or steal credentials through credential harvesting mechanisms. The core technical flaw occurs when the RegistryClient processes OAuth2 password-grant requests that involve cross-origin redirects using HTTP status codes 307 Temporary Redirect or 308 Permanent Redirect. Unlike standard GET-based redirects which do not carry POST body data, these specific redirect types are designed to preserve the original request method and payload during redirection. However, the implementation in sigstore-js fails to strip or sanitize the authentication credentials from the request body before following the redirect chain if it crosses origin boundaries.

When an attacker can manipulate a trusted token service into issuing a 307 or 308 redirect pointing to a domain under their control, they effectively create an open redirect scenario that captures sensitive data. This manipulation can be achieved through various vectors such as exploiting weak input validation in the token endpoint configuration or compromising a legitimate identity provider component. Upon receiving the redirected request from the victim's browser or HTTP client, the attacker-controlled server receives the full POST body containing the username and password submitted by the RegistryClient for authentication purposes. Because these credentials are transmitted in cleartext within the POST parameters during this redirect process, they become immediately accessible to any entity controlling the destination endpoint of the redirect.

The operational impact of this vulnerability is severe as it leads directly to credential compromise without requiring complex exploitation techniques beyond inducing a specific HTTP response code from an intermediary service. Once obtained, these credentials allow attackers to impersonate legitimate users or services when interacting with OCI registries, potentially leading to unauthorized access to container images, supply chain poisoning via malicious image injection, and further lateral movement within cloud infrastructure environments dependent on sigstore for verification. The risk is amplified in multi-tenant or shared hosting environments where cross-origin requests are common, making the attack surface broader than initially apparent.

Mitigation strategies must focus on immediate version upgrades to 0.8.0 or later of sigstore-js, which addresses this flaw by ensuring that credentials are not forwarded during cross-origin redirects regardless of the HTTP status code used for redirection. Additionally, organizations should implement strict Content Security Policy headers and validate redirect targets against an allowlist of trusted domains to prevent open redirect attacks from being successfully leveraged in conjunction with other vulnerabilities. Monitoring network traffic for unusual patterns involving 307 or 308 responses containing POST bodies directed to external hosts can also aid in early detection of exploitation attempts. Regular audits of authentication flows and adherence to secure coding practices that prioritize credential isolation during state transitions are essential components of a robust defense-in-depth strategy against this class of vulnerability.

Responsible

VulnCheck

Reservation

11/22/2026

Disclosure

11/23/2026

Moderation

accepted

CPE

ready

EPSS

0.00000

KEV

no

Activities

very low

Sources

Are you interested in using VulDB?

Download the whitepaper to learn more about our service!