CVE-2026-46421
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.
Description as published by the source, in English.
Key facts
- Published
- 2026-07-15
- Last modified
- 2026-07-15
- Assigned by
- security-advisories@github.com
- 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/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:- Scored by
- security-advisories@github.com
- Probability of exploitation
-
0.4 %
higher than 31 %
of all known vulnerabilities
EPSS, next 30 days, model v2026.06.15 - Fix available
- Not registered in the sources
Affected products
| Vendor | Product | Versions | Status |
|---|---|---|---|
| cap-js | db-service (npm) | ≥ 2.10.1, < 2.11.0 | Affected |
| cap-js | postgres (npm) | ≥ 2.2.2, < 2.3.0 | Affected |
| cap-js | sqlite (npm) | ≥ 2.2.2, < 2.3.0 | Affected |
Weakness type
-
CWE-506: Embedded Malicious Code
The product contains code that appears to be malicious in nature.
Attack techniques
Derived through the weakness type: CVE to CWE to CAPEC to ATT&CK. This shows which techniques the weakness class is historically used for. It does not assert that this vulnerability has been exploited that way.
- T1001.002: Steganography
- T1027.003: Steganography
- T1027.004: Compile After Delivery
- T1027.009: Embedded Payloads
- T1195.001: Compromise Software Dependencies and Development Tools
- T1195.002: Compromise Software Supply Chain
- T1218.001: Compiled HTML File
- T1221: Template Injection
References
- https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8
- https://me.sap.com/notes/3747787
- https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html
- https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared
Related at Berigo
Articles
-
Critical unauthenticated vulnerability in Splunk Enterprise
Same product
2026-06-10
CVE-2026-20253, scored 9.8, lets an unauthenticated attacker create or truncate files via a PostgreSQL sidecar in Splunk.
-
Four official SAP npm packages hit by supply chain attack
Same product
2026-04-29
Aikido has found four official SAP npm packages carrying malicious install scripts that harvest credentials from developer machines.
-
Veeam fixes multiple vulnerabilities in Backup and Replication
Same product
2026-01-07
Veeam Backup and Replication 13.0.1.1071 fixes one critical, two high and one medium vulnerability. All earlier version 13 builds are affected.
-
Kimwolf Android botnet passes two million devices
Same product
2026-01-07
Synthient reports the Kimwolf botnet has passed two million infected devices, mainly TV streaming boxes with open ADB services.
Does this affect you?
A vulnerability matters only if you run the product, in an affected version, somewhere an attacker can reach.