Insertion of Sensitive Information Into Sent Data Affecting @sigstore/oci package, versions >=0.1.0 <0.8.0


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.45% (31st percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JS-SIGSTOREOCI-22743185
  • published23 Nov 2026
  • disclosed22 Nov 2026
  • creditZachariah Mithani

Introduced: 22 Nov 2026

NewCVE-2026-134816  (opens in a new tab)
CWE-201  (opens in a new tab)

How to fix?

Upgrade @sigstore/oci to version 0.8.0 or higher.

Overview

@sigstore/oci is an OCI artifact support

Affected versions of this package are vulnerable to Insertion of Sensitive Information Into Sent Data in the RegistryClient class in packages/oci/src/registry.ts, whose OAuth2 token request sends username, password, and grant_type=password in the POST body and follows 307 and 308 redirects without protecting that body. On a cross-origin redirect the client strips the Authorization header but re-sends the request body, so the identity-token password is delivered to the redirect destination. An attacker who can make an otherwise-trusted token service issue a cross-origin 307 or 308 redirect, for example through an open redirect or misconfiguration, receives the forwarded credentials. This requires the client to use <token> identity-token credentials so the password-grant flow runs, and a 303 redirect is not affected because it drops the body.

Workaround

This vulnerability can be avoided without upgrading by not using <token> identity-token credentials for registries whose token service may redirect to another origin, and by preferring short-lived, narrowly scoped registry credentials.

CVSS Base Scores

version 4.0
version 3.1