Direct naar de inhoud
⚡ Kritieke cyberalerts voor jouw sector & systemen — direct in je inbox. Aanmelden →
CVE's Videos Dagbriefing

← Terug naar CVE-database

CVE-2026-101043

HIGH · 7.4 CVSS Gepubliceerd: CWE-201

Beschrijving NL

pnpm versies 11.0.0 vóór 11.11.0 en 10.7.0 vóór 10.34.5 breiden ${VAR} omgevingsvariabele tijdelijke aanduidingen uit in de httpProxy-, httpsProxy- en noProxy-instellingen die worden gelezen uit de pnpm-workspace.yaml van een project. Omdat het manifest door een repository wordt beheerd en de proxysleutels zijn weggelaten uit de set met aanvragen-bestemmingssleutels die anders de uitbreiding van tijdelijke aanduidingen voor niet-vertrouwde manifesten onderdrukt (zoals al is gedaan voor register, pnprServer, registers en namedRegistries), kan een aanvaller die de pnpm-werkruimte.yaml van een repository beheert, een slachtoffer veroorzaken dat de repository kloont en een pnpm-opdracht uitvoert (bijv. pnpm installeren) om omgevingsgeheimen zoals NPM_TOKEN of GITHUB_TOKEN uit te breiden naar een proxy-hostnaam of gebruikersinformatie en het installatieverkeer — en de bijbehorende DNS-lookups — via een door aanvallers gecontroleerde host te routeren. De exfiltratie vindt plaats tijdens het laden van de configuratie, voordat een levenscyclusscript wordt uitgevoerd. Vast in pnpm 11.11.0 en 10.34.5.

Origineel (Engels) tonen

pnpm versions 11.0.0 before 11.11.0 and 10.7.0 before 10.34.5 expand ${VAR} environment-variable placeholders in the httpProxy, httpsProxy, and noProxy settings read from a project's pnpm-workspace.yaml. Because the manifest is repository-controlled and the proxy keys were omitted from the request-destination key set that otherwise suppresses placeholder expansion for untrusted manifests (as already done for registry, pnprServer, registries and namedRegistries), an attacker who controls a repository's pnpm-workspace.yaml can cause a victim who clones the repository and runs a pnpm command (e.g. pnpm install) to expand environment secrets such as NPM_TOKEN or GITHUB_TOKEN into a proxy hostname or userinfo and route install traffic — and the corresponding DNS lookups — through an attacker-controlled host. The exfiltration occurs during configuration loading, before any lifecycle script executes. Fixed in pnpm 11.11.0 and 10.34.5.

References