CVE-2026-46421
Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)
Description
## Impact On April 29, 2026, compromised versions of `@cap-js/sqlite@2.2.2`, `@cap-js/postgres@2.2.2`, and `@cap-js/db-service@2.10.1` were published. The malicious packages harvested credentials and attempted self-propagation. If a compromised version was installed, all credentials accessible on that machine (npm tokens, cloud provider credentials, SSH keys, GitHub PATs) should be considered compromised. ## Patches Upgrade to `@cap-js/sqlite` >= 2.4.0, `@cap-js/postgres` >= 2.3.0, `@cap-js/db-service` >= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. ## Workarounds No workarounds.
How to fix CVE-2026-46421
To remediate CVE-2026-46421, upgrade the affected package to a fixed version below.
- —upgrade to 2.11.0 or later
- —upgrade to 2.3.0 or later
- —upgrade to 2.3.0 or later
Is CVE-2026-46421 being exploited?
No exploitation signal available. Neither CISA KEV nor a current EPSS score has been published for CVE-2026-46421.
Affected packages (3)
- >= 2.10.1, < 2.11.0
- >= 2.2.2, < 2.3.0
- >= 2.2.2, < 2.3.0