CVE-2026-46412
CRITICAL(10.0)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
- CVSS 10 — Kritisch
EPSS-Score
0.8%
Exploit-Wahrscheinlichkeit (30 Tage)
CVSS Score
10
Technische Schwere
SecBoard-Einordnung
CVE-2026-46412 betrifft das NestJS-Authentifizierungsmodul @beproduct/nestjs-auth. Zwischen dem 11. Mai 2026, 20:19 UTC und 22:56 UTC wurden 18 bösartige Versionen (0.1.2 bis 0.1.19) über ein kompromittiertes npm-Publish-Token veröffentlicht. Diese Versionen enthielten eine Postinstall-Payload, die darauf abzielte, verschiedene Anmeldeinformationen wie npm-Tokens, GitHub PATs, OAuth-Tokens, AWS-Anmeldeinformationen und HashiCorp Vault-Tokens zu stehlen.
Die Schwachstelle wird mit einem CVSS-Score von 10.0 (KRITISCH) bewertet, was auf das hohe Schadenspotenzial durch den Diebstahl sensibler Anmeldeinformationen hinweist. Obwohl die EPSS-Wahrscheinlichkeit mit 1% niedrig ist und die Schwachstelle nicht in der CISA KEV-Liste aufgeführt ist, deutet die aktive Veröffentlichung bösartiger Pakete auf eine reale Bedrohung hin, die sofortige Maßnahmen erfordert.
Security-Teams sollten umgehend alle Installationen der betroffenen Versionen (>=0.1.2 <=0.1.19) entfernen, den npm-Cache bereinigen und die saubere Version 0.1.20 installieren. Es ist zwingend erforderlich, alle im Installationsumfeld vorhandenen Anmeldeinformationen zu rotieren und betroffene Hosts auf Kompromittierungsindikatoren zu überprüfen. Bei Funden sollten Hosts als kompromittiert behandelt und neu aufgesetzt werden.
KI-gestützte Einordnung auf Basis der NVD-Daten.
Beschreibung
@beproduct/nestjs-auth is a NestJS authentication module for BeProduct IDS (Identity Server) with OpenID Connect support. Between 2026-05-11 20:19 UTC and 22:56 UTC, an attacker used a compromised npm publish token to publish 18 malicious versions of `@beproduct/nestjs-auth` (0.1.2 through 0.1.19). The postinstall payload attempted to harvest npm tokens (from `~/.npmrc`); GitHub personal access tokens, OAuth tokens (`gho_*`), and Actions OIDC tokens; AWS credentials (from environment variables and `~/.aws/credentials`); HashiCorp Vault tokens; and other secrets present in environment variables. Version `0.1.20` is a clean republish from the original `0.1.1` source tree. Anyone who installed any version in the range `>=0.1.2 <=0.1.19` should remove the package and clean the npm cache; install the clean version; rotate every credential present in the install environment, including all npm publish tokens, all GitHub PATs and OAuth tokens, AWS access keys, HashiCorp Vault tokens, and any other secret that was in env vars or config files at install time; scan affected hosts for indicators of compromise and, if any are found, treat the host as compromised and reimage; and check committed repository history for unexpected additions in `.claude/` or `.vscode/` directories. The worm is known to commit `setup.mjs` + hook configs to PR branches via automated agent runtimes.
GitHub Advisories
Malicious code in @beproduct/nestjs-auth (0.1.2 through 0.1.19) — Mini Shai-Hulud worm