Skip to main content
VulnerabilityPublished

CVE-2026-46421: @cap-js/sqlite · Embedded Malicious Code

Affects @cap-js/sqliteSource CVE Database V5

0
Compare

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

CVSS 4.0 base score
9.3Critical
How severe the flaw is on the 0–10 CVSS scale.
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:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 15 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 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

ProductAffectedFixed in
cap-js@cap-js/sqliteAffected
  • =2.2.2
Fixed in–
cap-js@cap-js/postgresAffected
  • =2.2.2
Fixed in–
@cap-js/db-service@cap-js/db-serviceAffected
  • =2.10.1
Fixed in–
npm@cap-js/sqlitepkg:npm/%40cap-js/sqliteOther threatsAffected
  • >=2.2.2 <2.3.0
  • =2.2.2
Fixed in
  • 2.3.0
npm@cap-js/postgrespkg:npm/%40cap-js/postgresOther threatsAffected
  • >=2.2.2 <2.3.0
  • =2.2.2
Fixed in
  • 2.3.0
npm@cap-js/db-servicepkg:npm/%40cap-js/db-serviceOther threatsAffected
  • >=2.10.1 <2.11.0
  • =2.10.1
Fixed in
  • 2.11.0

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.

References

Community reviews

Loading reviews…