<?xml version="1.0" encoding="utf-8" standalone="yes"?><rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:webfeeds="http://webfeeds.org/rss/1.0"><channel><title>Pnpm (11.0.0 &lt;= Version &lt; 11.11.0) - CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/products/pnpm-11.0.0--version--11.11.0/</link><description>Trending threats, MITRE ATT&amp;CK coverage, and detection metadata. Fed continuously.</description><generator>Hugo</generator><language>en</language><managingEditor>hello@craftedsignal.io</managingEditor><webMaster>hello@craftedsignal.io</webMaster><lastBuildDate>Sun, 27 Sep 2026 19:08:52 +0000</lastBuildDate><atom:link href="https://feed.craftedsignal.io/products/pnpm-11.0.0--version--11.11.0/feed.xml" rel="self" type="application/rss+xml"/><image><url>https://feed.craftedsignal.io/favicon-32x32.png</url><title>CraftedSignal Threat Feed</title><link>https://feed.craftedsignal.io/</link><width>32</width><height>32</height></image><webfeeds:icon>https://feed.craftedsignal.io/favicon.svg</webfeeds:icon><item><title>Arbitrary Environment Variable Disclosure via pnpm-workspace.yaml</title><link>https://feed.craftedsignal.io/briefs/2026-09-pnpm-env-expansion/</link><pubDate>Sun, 27 Sep 2026 19:08:52 +0000</pubDate><author>hello@craftedsignal.io</author><guid isPermaLink="true">https://feed.craftedsignal.io/briefs/2026-09-pnpm-env-expansion/</guid><description>Vulnerable pnpm versions expand sensitive environment variables within proxy settings in malicious pnpm-workspace.yaml files, enabling credential exfiltration during configuration loading.</description><content:encoded><![CDATA[<p>CVE-2026-101043 affects pnpm versions 11.0.0 through 11.10.x and 10.7.0 through 10.34.4. The vulnerability arises from improper handling of environment variable expansion within the httpProxy, httpsProxy, and noProxy configuration keys located in a project's pnpm-workspace.yaml file. Unlike other sensitive keys that are protected from expansion to prevent untrusted manifest exploitation, these proxy keys are processed before lifecycle scripts execute.</p>
<p>An attacker can create a malicious pnpm-workspace.yaml file within a repository that references sensitive environment variables such as NPM_TOKEN or GITHUB_TOKEN. When a victim clones the repository and executes a pnpm command like pnpm install, the pnpm client expands these variables into the proxy configuration. This leads to the exfiltration of the token values via DNS queries or HTTP traffic routed through an attacker-controlled proxy server. This vulnerability allows for unauthorized access to private package registries and CI/CD environments.</p>
<h2 id="attack-chain">Attack Chain</h2>
<ol>
<li>Attacker creates a malicious repository containing a crafted pnpm-workspace.yaml file.</li>
<li>Attacker sets the httpProxy or httpsProxy key in the manifest to include an environment variable placeholder (e.g., ${NPM_TOKEN}).</li>
<li>Attacker lures a victim to clone the repository into their local environment.</li>
<li>Victim executes a standard pnpm command (e.g., pnpm install) within the root of the cloned repository.</li>
<li>pnpm loads the pnpm-workspace.yaml manifest and parses the proxy configuration.</li>
<li>The client engine expands the placeholder ${NPM_TOKEN} into its actual sensitive value.</li>
<li>The pnpm process triggers a network connection or DNS lookup toward an attacker-controlled proxy host, appending the expanded token to the request metadata.</li>
<li>Attacker logs the incoming connection or DNS request on their infrastructure to capture the exfiltrated secret.</li>
</ol>
<h2 id="impact">Impact</h2>
<p>Successful exploitation leads to the theft of sensitive development credentials, including NPM_TOKEN and GITHUB_TOKEN. This allows attackers to authenticate as the victim, potentially accessing private repositories, stealing proprietary source code, or injecting malicious packages into the software supply chain.</p>
<h2 id="recommendation">Recommendation</h2>
<ul>
<li>Upgrade pnpm to version 11.11.0 or 10.34.5 immediately to include the fix that prevents environment variable expansion in untrusted proxy configurations.</li>
<li>Implement repository scanning tools to detect pnpm-workspace.yaml files containing suspicious proxy configurations or references to environment variable patterns.</li>
<li>Rotate all credentials that may have been stored in local environment variables (e.g., NPM_TOKEN, GITHUB_TOKEN) if they were used in environments where malicious repositories were cloned and processed.</li>
</ul>
]]></content:encoded><category domain="severity">high</category><category domain="type">advisory</category><category>supply-chain</category><category>pnpm</category><category>vulnerability</category><category>credential-theft</category></item></channel></rss>