CVE-2026-46412: Vulnerability in @beproduct/nestjs-auth

Critical. @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...

npm, CWE-506

Exploitation
None confirmed
Severity
10 of 10
Attack likelihood
Unknown
Fix
None recorded
Patch deadline
No deadline set

Details

Advisory ID
GHSA-6xwp-cp5h-q856
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H
Weakness
CWE-506
Published
19 May 2026
Last change
24 Oct 2026
Ecosystem
npm

Affected packages

Vulnerable version ranges and fixed releases

  • @beproduct/nestjs-auth npm, Affected from 0.1.2 through 0.1.19. No fixed version recorded

Advisories

Vendor and security advisories