CVE-2026-46421cap-js @cap-js/sqlite
Critical 9.3 No auth needed
Follow: this CVE · cap-js · cap-js @cap-js/sqlite We alert you by email or Slack (account required).
- Priority
- 71
- CVSS 4.0
- 9.3
- EPSS
- —
- Auth required
- No
- Published
- Jul 15, 2026
- Updated
- Jul 15, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-506
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: total
- 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
What happens
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.
What to do
- Apply the vendor's security update for @cap-js/sqlite.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| npm | @cap-js/db-service |
≥ 2.10.1 < 2.11.0 |
2.11.0 |
npm install @cap-js/db-service@2.11.0 |
| npm | @cap-js/postgres |
≥ 2.2.2 < 2.3.0 |
2.3.0 |
npm install @cap-js/postgres@2.3.0 |
| npm | @cap-js/sqlite |
≥ 2.2.2 < 2.3.0 |
2.3.0 |
npm install @cap-js/sqlite@2.3.0 |
Per OSV / GitHub Advisories (GHSA-pvw4-cvr4-97p8). Check the version in your lockfile before upgrading.
Affected products
- cap-js · @cap-js/sqlite
- cap-js · @cap-js/postgres
- @cap-js/db-service · @cap-js/db-service
As reported by the CNA that published the CVE. NVD has not added CPEs with versions yet.
Official sources
References
Links published by the sources. Open them with care.