Skip to content

CVE-2026-46421 Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)

CriticalCVSS 9.3 EPSS 0.52%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: yes · technical impact: total

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.

Upgrade path

6 packages: 3 fixed.

PackageAffectedFixed inStatus
cap-js @cap-js/db-service(npm) = 2.10.1; >= 2.10.1, < 2.11.0 2.11.0 Fixed
cap-js @cap-js/postgres(npm) = 2.2.2; >= 2.2.2, < 2.3.0 2.3.0 Fixed
cap-js @cap-js/sqlite(npm) = 2.2.2; >= 2.2.2, < 2.3.0 2.3.0 Fixed
@cap-js/db-service = = 2.10.1 No fix listed Versions listed
cap-js @cap-js/postgres = = 2.2.2 No fix listed Versions listed
cap-js @cap-js/sqlite = = 2.2.2 No fix listed Versions listed

Affected products

ProductAffected versionsFixed in
cap-js @cap-js/sqlite = = 2.2.2 No fix listed
cap-js @cap-js/postgres = = 2.2.2 No fix listed
@cap-js/db-service = = 2.10.1 No fix listed
cap-js @cap-js/sqlite(npm) = 2.2.2 No fix listed
cap-js @cap-js/postgres(npm) = 2.2.2 No fix listed
cap-js @cap-js/db-service(npm) = 2.10.1 No fix listed
cap-js @cap-js/sqlite(npm) >= 2.2.2, < 2.3.0 2.3.0
cap-js @cap-js/postgres(npm) >= 2.2.2, < 2.3.0 2.3.0
cap-js @cap-js/db-service(npm) >= 2.10.1, < 2.11.0 2.11.0

References