/

CVE-2026-130756

Severity:

CRITICAL RISK

(9.8)

TLS Certificate Validation Bypass (CWE-295) in pnpm exe

CVE-2026-130756

Awaiting Analysis

Vulnerability type

Category:

Improper Certificate Validation

CWE:

CWE-295

Impact:

Package supply-chain compromise

Severity:

CRITICAL RISK

(9.8)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Standalone pnpm executables may use an outdated embedded Node.js runtime that still trusts compromised eMudhra intermediate CA certificates during registry TLS connections. A network attacker with a recovered intermediate key who can intercept registry traffic may serve forged package metadata or tarballs.

Affected context

The issue concerns standalone pnpm executables whose embedded Node.js runtime trusts the affected intermediate certificates when connecting to package registries. It becomes risky when a registry fetch uses that trust path and an attacker with a recovered intermediate key can intercept the connection.

Exploit preconditions

  • Attack surface: TLS connections made by standalone pnpm executables to package registries
  • Required access: The attacker needs a recovered key for a compromised intermediate CA and the ability to intercept relevant network traffic
  • Trigger point: A pnpm executable fetches registry metadata or package tarballs over TLS
  • Why exploitation is possible: The embedded runtime may accept certificates chaining to the compromised intermediate, allowing the attacker to impersonate the registry

Why this happens

The embedded runtime's certificate trust behavior fails to reject certificates associated with compromised intermediate CAs. This is an improper certificate validation issue (CWE-295): a client accepts a certificate chain that should no longer be trusted, weakening the authenticity guarantees of the TLS connection.

Potential impact

  • An attacker could provide forged package metadata or tarballs
  • Developers or automated build systems may install attacker-controlled packages
  • Build pipelines may execute malicious package code
  • Software artifacts or downstream users may be affected by supply-chain compromise

General mitigation guidance

Defensive approaches focus on ensuring TLS clients reject compromised or untrusted certificate chains and reducing reliance on a single transport-level trust check.

  • Use maintained runtimes and trust stores with current certificate distrust information
  • Enforce certificate-chain and hostname validation; do not disable TLS verification
  • Apply package integrity controls, such as lockfiles and verified hashes, where appropriate
  • Limit registry credentials and build permissions to the minimum required
  • Prefer trusted registries and controlled network paths for dependency retrieval

How teams detect issues like this

  • Review embedded runtime and certificate trust-store behavior in standalone package-manager binaries
  • Use static and dependency analysis to flag outdated runtime components or custom TLS validation that bypasses standard checks
  • Inspect build and network policies for registry connections that lack certificate validation or package integrity enforcement
  • Monitor dependency-fetch events for unexpected registry endpoints, certificate-chain changes, or package integrity mismatches
  • Include certificate trust and dependency integrity checks in CI security policies

Sources

SourceLink
github.comgithub.com/pnpm/pnpm/security/advisories/GHSA-w8f5-6m3h-r453

Frequently asked

questions

It can be exploited over a network, but the attacker also needs a recovered intermediate key and the ability to intercept a relevant registry connection.

The attacker does not necessarily need an account on the affected system, but must be positioned to intercept traffic and possess the compromised certificate key.

Ensure clients use maintained certificate trust information and correctly validate certificate chains and hostnames. Add package integrity verification as a defense in depth.

Keep embedded runtimes and trust stores maintained, avoid disabling TLS checks, and enforce registry and dependency-integrity policies in development and build environments.

Find out what's already
exploitable in your codebase.