Skip to main content
VulnerabilityPublished

CVE-2026-46412: beproduct-org-nestjs-auth · Embedded Malicious Code

Affects beproduct-org-nestjs-authSource CVE Database V5

0
Compare

Not known to be exploited · CVSS 10.0 Critical · patch available : patch beproduct-org-nestjs-auth as a priority.

Data as of 2 Dec 2026, 18:37 UTC

CVSS 3.1 base score
10.0Critical
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 38% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:C/C:H/I:H/A:H

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 20 Jul 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponized: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 2 Dec 2026.

What to do

Affected software

ProductAffectedFixed in
BeProductbeproduct-org-nestjs-authAffected
  • >=0.1.2 <=0.1.19
Fixed in–
npm@beproduct/nestjs-authpkg:npm/%40beproduct/nestjs-authOther threatsAffected
  • >=0.1.2 <=0.1.19
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

A patch is available in the form of version 0.1.20, which is a clean republish from the original source. Users who installed any version between 0.1.2 and 0.1.19 inclusive should immediately remove those versions, clean the npm cache, and install version 0.1.20. All credentials present during installation—including npm publish tokens, GitHub personal access tokens, OAuth tokens, AWS access keys, and HashiCorp Vault tokens—must be rotated. Hosts should be scanned for indicators of compromise, and any compromised hosts should be reimaged. Additionally, repository history should be checked for unauthorized commits in .claude/ or .vscode/ directories. Since this is a cloud service, the vendor manages remediation for the service itself, but local environment remediation is critical.

Description

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

References

Community reviews

Loading reviews…