Home / cap-js / @cap-js/sqlite / CVE-2026-46421
CVE-2026-46421: is it exploited, and which versions of @cap-js/sqlite are affected and fixed?
CVE-2026-46421 is an embedded Malicious Code vulnerability in @cap-js/sqlite. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:09 UTC). Affected: @cap-js/sqlite from 2.2.2 before 2.3.0, @cap-js/postgres from 2.2.2 before 2.3.0 and @cap-js/db-service from 2.10.1 before 2.11.0 (GitHub advisory GHSA-pvw4-cvr4-97p8). Fixed in 2.3.0 and 2.11.0 (GitHub advisory GHSA-pvw4-cvr4-97p8). Severity: Critical (9.3, CVSS 4.0, from GitHub_M).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:09 UTC, CVE record November 19, 2026, 07:07 UTC and NVD November 19, 2026, 07:09 UTC.
What is CVE-2026-46421?
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/[email protected]`, `@cap-js/[email protected]`, and `@cap-js/[email protected]` 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.
From the CVE record by GitHub_M, last updated July 15, 2026, 19:22 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| 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 |
As the CVE record by GitHub_M states it, last updated July 15, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which packages are affected, and in which version is each fixed?
| Ecosystem | Package | Affected | Fixed in | Advisory |
|---|---|---|---|---|
| npm | @cap-js/sqlite | >= 2.2.2, < 2.3.0 | 2.3.0 | GHSA-pvw4-cvr4-97p8 |
| npm | @cap-js/postgres | >= 2.2.2, < 2.3.0 | 2.3.0 | GHSA-pvw4-cvr4-97p8 |
| npm | @cap-js/db-service | >= 2.10.1, < 2.11.0 | 2.11.0 | GHSA-pvw4-cvr4-97p8 |
GitHub Advisory Database, reviewed advisories (CC BY 4.0); advisory updated May 20, 2026. Summary: Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service).
How severe is CVE-2026-46421?
| Score | Version | Vector | Source |
|---|---|---|---|
| Critical 9.3 | CVSS 4.0 | 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 | GitHub_M |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2026-46421 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, July 15, 2026)
- EPSS
- 0.38% probability of exploitation activity in the next 30 days, percentile 34.6 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-506 Embedded Malicious Code
Where are the vendor advisories and references?
- https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8 x_refsource_CONFIRM
- https://me.sap.com/notes/3747787 x_refsource_MISC
- https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html x_refsource_MISC
- https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared x_refsource_MISC
When was it published, and where is the official record?
- Reserved
- May 13, 2026
- Published
- July 15, 2026, 18:52 UTC
- CVE record updated
- July 15, 2026, 19:22 UTC by GitHub_M
- NVD
- Deferred, last modified July 15, 2026, 20:29 UTC
- Last checked
- CVE list November 19, 2026, 07:07 UTC; NVD November 19, 2026, 07:09 UTC; KEV December 3, 2026, 18:09 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
Questions about CVE-2026-46421
Is CVE-2026-46421 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:09 UTC. FIRST's EPSS gives it a 0.38% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of @cap-js/sqlite are affected by CVE-2026-46421?
@cap-js/sqlite from 2.2.2 before 2.3.0, @cap-js/postgres from 2.2.2 before 2.3.0 and @cap-js/db-service from 2.10.1 before 2.11.0, per the GitHub advisory GHSA-pvw4-cvr4-97p8. The tables above give every range the sources list.
Which version fixes CVE-2026-46421?
2.3.0 and 2.11.0, per the GitHub advisory GHSA-pvw4-cvr4-97p8. Check the vendor's advisory before you rely on it.
How severe is CVE-2026-46421?
Critical (9.3, CVSS 4.0, from GitHub_M). The severity table above shows each score with its source.
Where is the official record of CVE-2026-46421?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.