CVE-2026-46421: @cap-js/sqlite · Embedded Malicious Code
Affects @cap-js/sqliteSource CVE Database V5
Not known to be exploited · CVSS 9.3 Critical : upgrade to 2.3.0 as a priority.
Data as of 27 Nov 2026, 22:51 UTC
- EPSS
- 0.5% chance of exploitation in 30 days – higher than 37% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
- Patch
- Available – fixed in 2.3.0, 2.11.0
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 15 Jul 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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 28 Nov 2026.
What to do
Upgrade @cap-js/sqlite and @cap-js/postgres to 2.3.0; @cap-js/db-service to 2.11.0.
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| cap-js@cap-js/sqlite | Affected
| Fixed in– |
| cap-js@cap-js/postgres | Affected
| Fixed in– |
| @cap-js/db-service@cap-js/db-service | Affected
| Fixed in– |
npm@cap-js/sqlitepkg:npm/%40cap-js/sqliteOther threats | Affected
| Fixed in
|
npm@cap-js/postgrespkg:npm/%40cap-js/postgresOther threats | Affected
| Fixed in
|
npm@cap-js/db-servicepkg:npm/%40cap-js/db-serviceOther threats | Affected
| Fixed in
|
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Upgrade to @cap-js/sqlite version 2.4.0 or later, @cap-js/postgres version 2.3.0 or later, and @cap-js/db-service version 2.11.0 or later. Rotate all credentials that may have been exposed if any compromised version was installed. No other workarounds or mitigations are currently known.
Description
The SAP Cloud Application Programming Model is a tool for building enterprise-grade cloud applications, and cap-js/cds-dbs is the monorepo for SQL database services for that tool. 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. User should 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. No known workarounds are available.