CVE-2026-46421 PUBLISHED

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

Assigner: GitHub_M
Reserved: 13.05.2026 Published: 15.07.2026 Updated: 15.07.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 9.3

Product Status

Vendor cap-js
Product @cap-js/sqlite
Versions
  • Version = 2.2.2 is affected
Vendor cap-js
Product @cap-js/postgres
Versions
  • Version = 2.2.2 is affected
Vendor @cap-js/db-service
Product @cap-js/db-service
Versions
  • Version = 2.10.1 is affected

References

Problem Types

  • CWE-506: Embedded Malicious Code CWE