# CVE-2026-46421: Supply chain compromise via malicious package versions (@cap-js/sqlite, @cap-js/postgres, @cap-js/db-service)

- Severity: Critical 9.3 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-05-20T15:33:04.000Z
- Modified: 2026-09-10T03:51:06.701Z
- Also known as: GHSA-pvw4-cvr4-97p8
- Weaknesses: CWE-506
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact total
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## 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): from 2.2.2 before 2.3.0
- @cap-js/postgres (npm): from 2.2.2 before 2.3.0
- @cap-js/db-service (npm): from 2.10.1 before 2.11.0

## Every score

- GitHub_M: CVSS:4.0 9.3 Critical `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: rating Critical

## References

- <https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8> (web)
- <https://me.sap.com/notes/3747787> (web)
- <https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html> (web)
- <https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared> (web)
- <https://github.com/cap-js/cds-dbs> (package)

## Sources

- CVE List: [CVE-2026-46421](https://www.cve.org/CVERecord?id=CVE-2026-46421), CVE Terms of Use, modified 2026-07-15
- GitHub Advisory Database: [GHSA-pvw4-cvr4-97p8](https://github.com/advisories/GHSA-pvw4-cvr4-97p8), CC-BY-4.0, modified 2026-09-10
- NVD: [CVE-2026-46421](https://nvd.nist.gov/vuln/detail/CVE-2026-46421), Public domain, modified 2026-07-15

---

Page: https://cve.day/CVE-2026-46421 · Whole record: https://cve.day/CVE-2026-46421.json · Rebuilt by cve.day 2026-11-25T22:59:28.329Z
