@medusajs/medusa (npm) · Malicious Code
Affects @medusajs/medusaSource GCVE Database
Malicious package : remove @medusajs/medusa and rotate any secrets on hosts that installed it.
Data as of 20 Nov 2026, 01:14 UTC
Malicious package
Published to npm · OSV MAL-2025-191457
What to do
Remove @medusajs/medusa 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 |
|---|---|---|
| npm@medusajs/medusa | 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 @medusajs/medusa versions 2.11.4-preview-20251124060135 and 2.11.4-preview-20251124090208 contain malicious code. Systems with this package installed or running should be considered fully compromised. Immediate removal of the package is recommended, and all secrets and keys stored on the affected systems should be rotated from a separate, secure device. Due to the nature of the compromise, removing the package may not fully eliminate all malicious software introduced.