{"id":"CVE-2026-46421","aliases":["CVE-2026-46421","GHSA-pvw4-cvr4-97p8"],"related":[],"kind":"vulnerability","state":"published","title":"Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"## Impact\n\nOn 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.\nThe malicious packages harvested credentials and attempted self-propagation.\nIf a compromised version was installed, all credentials accessible on that machine (npm tokens, cloud provider credentials, SSH keys, GitHub PATs) should be considered compromised.\n\n## Patches\n\nUpgrade to `@cap-js/sqlite` >= 2.4.0, `@cap-js/postgres` >= 2.3.0, `@cap-js/db-service` >= 2.11.0.\nIf a compromised version was ever installed, rotate all affected credentials.\n\n## Workarounds\n\nNo workarounds.","format":"markdown","source":"ghsa"}],"published":"2026-05-20T15:33:04.000Z","modified":"2026-09-10T03:51:06.701Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:4.0","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","score":9.3,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"rating","rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"version":"= 2.2.2","status":"affected"}],"vendor":"cap-js","product":"@cap-js/sqlite","source":"cvelist"},{"ranges":[{"version":"= 2.2.2","status":"affected"}],"vendor":"cap-js","product":"@cap-js/postgres","source":"cvelist"},{"ranges":[{"version":"= 2.10.1","status":"affected"}],"vendor":"@cap-js/db-service","product":"@cap-js/db-service","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"2.2.2","status":"affected","fixed":"2.3.0"}],"ecosystem":"npm","package":"@cap-js/sqlite","purl":"pkg:npm/%40cap-js/sqlite","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.2.2","status":"affected","fixed":"2.3.0"}],"ecosystem":"npm","package":"@cap-js/postgres","purl":"pkg:npm/%40cap-js/postgres","source":"ghsa"},{"ranges":[{"type":"semver","introduced":"2.10.1","status":"affected","fixed":"2.11.0"}],"ecosystem":"npm","package":"@cap-js/db-service","purl":"pkg:npm/%40cap-js/db-service","source":"ghsa"}],"references":[{"url":"https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8","tags":["web","x-refsource-confirm"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://me.sap.com/notes/3747787","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared","tags":["web","x-refsource-misc"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/cap-js/cds-dbs","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"total","date":"2026-07-15T19:22:41.730Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-46421","url":"https://www.cve.org/CVERecord?id=CVE-2026-46421","licence":"CVE Terms of Use","modified":"2026-07-15T19:22:50.086Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-pvw4-cvr4-97p8","url":"https://github.com/advisories/GHSA-pvw4-cvr4-97p8","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:06.701Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-46421","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-46421","licence":"Public domain","modified":"2026-07-15T20:29:34.980Z"}],"updatedAt":"2026-11-25T22:59:28.329Z","epss":{"score":0.00384,"percentile":0.34605,"date":"2026-12-01T12:00:22.000Z"}}