Intel

AIKIDO-2026-329705

@pnpm/exe is vulnerable to Information Disclosure

Pre-CVE
Found by Aikido Intel before public disclosure or CVE publication.
Published Oct 14, 2026
October 14, 2026

59

CVE Score

Medium

Information Disclosure

Are you affected? Scan for Free

TL;DR

pnpm's publish and dist tag commands read the trusted publishing NPM_ID_TOKEN OIDC identity token from the CI environment and forward it as a bearer credential to the configured registry. Before this fix, pnpm uses that token without checking its aud claim against the registry it is about to call, so a token minted for one registry can be sent to a different one. This discloses the trusted publishing identity credential to an unintended registry endpoint, which can then replay the credential against the registry it was actually issued for. The fix validates the token audience against the selected registry before use and skips a token that does not match.

How do I fix this?

Upgrade the @pnpm/exe library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and you publish packages or manage dist tags using OIDC trusted publishing with a registry configuration that can resolve to more than one registry endpoint.

Package

Versions

10.0.0 - 12.12.0

Fixed in 12.12.1

Background info

@pnpm/exe is vulnerable to Information Disclosure in versions 10.0.0 - 12.12.0.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea