PoC Monitor
← All CVEs
CVE-2026-46421published 15 Jul 2026 18:52 UTCData: JSON · API

Cap-js @cap-js/sqlite

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

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.

First public PoC None yetno public PoC found
Public PoCs00 on GitHub
CVSS9.3critical · scored by CNA · CWE-506
CISA KEV Not listednot known exploited

Affected versions and mitigation

From the CVE record, GitHub Security Advisories and the vendor's references.

Affected

cap-js @cap-js/sqlite
  • = 2.2.2
cap-js @cap-js/postgres
  • = 2.2.2
@cap-js/db-service @cap-js/db-service
  • = 2.10.1
@cap-js/sqlite (npm)
  • >= 2.2.2, < 2.3.0

Fixed in 2.3.0

from GitHub Security Advisory GHSA-pvw4-cvr4-97p8

@cap-js/postgres (npm)
  • >= 2.2.2, < 2.3.0

Fixed in 2.3.0

from GitHub Security Advisory GHSA-pvw4-cvr4-97p8

@cap-js/db-service (npm)
  • >= 2.10.1, < 2.11.0

Fixed in 2.11.0

from GitHub Security Advisory GHSA-pvw4-cvr4-97p8

Mitigation

Upgrade @cap-js/sqlite to 2.3.0 or later.

Upgrade @cap-js/postgres to 2.3.0 or later.

Upgrade @cap-js/db-service to 2.11.0 or later.

References

Timeline

Days relative to CVE publication
-2t=0+2+4+6+8CVE published15 Jul 2026 · t = 0

No public PoC found yet; not in CISA KEV.

PoC repositories

Found on GitHub.

No PoC repositories found yet.