react-mongoose (npm) · Malicious Code
Affects react-mongooseSource GCVE Database
Malicious package : remove react-mongoose and rotate any secrets on hosts that installed it.
Data as of 7 Sep 2026, 18:09 UTC
Malicious package
Published to npm · OSV MAL-2026-15845
What to do
Remove react-mongoose from every project, lockfile and image that pulls it in. Treat any host that installed it as compromised: rotate the credentials, tokens and keys it could read, from a clean machine.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| npmreact-mongoose | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
Description
The npm package react-mongoose versions 1.0.0 through 1.0.5 contain malicious code or depend on a package with malicious code. Installation or execution of this package can lead to full compromise of the affected system. Immediate removal of the package is advised, and all secrets and keys on the compromised system should be rotated from a different, trusted machine. Due to the nature of the compromise, removal of the package alone may not eliminate all malicious software introduced.
References
- github.com/advisories/GHSA-wvgj-m2p9-jf3c (opens in a new tab)
- npmjs.com/package/react-mongoose/v/1.0.3 (opens in a new tab)
- npmjs.com/package/react-mongoose/v/1.0.5 (opens in a new tab)
- npmjs.com/package/react-mongoose/v/1.0.0 (opens in a new tab)
- npmjs.com/package/react-mongoose/v/1.0.2 (opens in a new tab)
- npmjs.com/package/react-mongoose/v/1.0.1 (opens in a new tab)