{"id":"CVE-2026-46421","aliases":["EUVD-2026-44765","GHSA-pvw4-cvr4-97p8"],"status":"published","title":"Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)","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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available.","severity":{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00524,"percentile":0.4489,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-506"],"published":"2026-05-20T15:33:04Z","modified":"2026-09-10T03:51:06Z","fixes":[{"ecosystem":"npm","package":"@cap-js/sqlite","fixed_in":["2.3.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@cap-js/postgres","fixed_in":["2.3.0"],"sources":["ghsa","osv"]},{"ecosystem":"npm","package":"@cap-js/db-service","fixed_in":["2.11.0"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@cap-js/sqlite","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.2"},{"last_affected":"2.2.2"},{"fixed":"2.3.0"}]}],"versions":["2.2.2"]},{"source":"ghsa","ecosystem":"npm","package":"@cap-js/postgres","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.2.2"},{"last_affected":"2.2.2"},{"fixed":"2.3.0"}]}],"versions":["2.2.2"]},{"source":"ghsa","ecosystem":"npm","package":"@cap-js/db-service","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"2.10.1"},{"last_affected":"2.10.1"},{"fixed":"2.11.0"}]}],"versions":["2.10.1"]},{"source":"osv","ecosystem":"npm","package":"@cap-js/sqlite","ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.2"},{"fixed":"2.3.0"}]}],"versions":["2.2.2"]},{"source":"osv","ecosystem":"npm","package":"@cap-js/postgres","ranges":[{"type":"SEMVER","events":[{"introduced":"2.2.2"},{"fixed":"2.3.0"}]}],"versions":["2.2.2"]},{"source":"osv","ecosystem":"npm","package":"@cap-js/db-service","ranges":[{"type":"SEMVER","events":[{"introduced":"2.10.1"},{"fixed":"2.11.0"}]}],"versions":["2.10.1"]}],"products":[{"vendor":"@cap-js/db-service","product":"@cap-js/db-service"},{"vendor":"cap-js","product":"@cap-js/postgres"},{"vendor":"cap-js","product":"@cap-js/sqlite"}],"references":[{"url":"https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8","tags":["x_refsource_CONFIRM","web"]},{"url":"https://me.sap.com/notes/3747787","tags":["x_refsource_MISC","web"]},{"url":"https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html","tags":["x_refsource_MISC","web"]},{"url":"https://www.stepsecurity.io/blog/a-mini-shai-hulud-has-appeared","tags":["x_refsource_MISC","web"]},{"url":"https://github.com/advisories/GHSA-pvw4-cvr4-97p8"},{"url":"https://github.com/cap-js/cds-dbs","tags":["package"]}],"sources":{"cve":[{"id":"CVE-2026-46421","title":"Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)","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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available.","status":"published","published":"2026-07-15T18:52:09.971Z","modified":"2026-07-15T19:22:50.086Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical","assessor":"cna"}],"cwes":["CWE-506"],"updated_at":"2026-11-02T13:46:55.086623Z"}],"euvd":[{"id":"EUVD-2026-44765","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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available.","status":"published","published":"2026-07-15T18:52:09Z","modified":"2026-07-15T19:22:50Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical"}],"updated_at":"2026-11-02T18:19:52.35951Z"}],"ghsa":[{"id":"GHSA-pvw4-cvr4-97p8","title":" Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)","description":"## 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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0.\nIf a compromised version was ever installed, rotate all affected credentials.\n\n## Workarounds\n\nNo workarounds.","status":"published","published":"2026-05-20T15:33:04Z","modified":"2026-05-20T15:33:05Z","cwes":["CWE-506"],"updated_at":"2026-11-02T14:40:13.628377Z"}],"nvd":[{"id":"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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0. If a compromised version was ever installed, rotate all affected credentials. No known workarounds are available.","status":"published","published":"2026-07-15T19:17:17.523Z","modified":"2026-07-15T20:29:34.98Z","cvss":[{"version":"4.0","score":9.3,"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","level":"critical","assessor":"secondary"}],"cwes":["CWE-506"],"updated_at":"2026-11-02T14:12:29.879716Z"}],"osv":[{"id":"GHSA-pvw4-cvr4-97p8","title":" Supply chain compromise via malicious package versions (@cap-js/sqlite,  @cap-js/postgres, @cap-js/db-service)","description":"## 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` \u003e= 2.4.0, `@cap-js/postgres` \u003e= 2.3.0, `@cap-js/db-service` \u003e= 2.11.0.\nIf a compromised version was ever installed, rotate all affected credentials.\n\n## Workarounds\n\nNo workarounds.","status":"published","published":"2026-05-20T15:33:04Z","modified":"2026-09-10T03:51:06.70134029Z","cwes":["CWE-506"],"updated_at":"2026-11-02T15:46:53.700556Z"}]}}
