{"id":"GHSA-pvw4-cvr4-97p8","revision":"cec67ae86792425f87974b0c280f5491","records":[{"revision":"cec67ae86792425f87974b0c280f5491","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-pvw4-cvr4-97p8","aliases":["CVE-2026-46421"],"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` >= 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.","state":0,"publishedAt":"2026-05-20T15:33:04+00:00","modifiedAt":"2026-09-10T03:51:06.7013403+00:00","affected":[{"ecosystem":"npm","name":"@cap-js/sqlite","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.2.2"},{"kind":"fixed","version":"2.3.0"}]}],"versions":["2.2.2"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@cap-js/postgres","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.2.2"},{"kind":"fixed","version":"2.3.0"}]}],"versions":["2.2.2"],"rawVersionEvidence":null},{"ecosystem":"npm","name":"@cap-js/db-service","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"2.10.1"},{"kind":"fixed","version":"2.11.0"}]}],"versions":["2.10.1"],"rawVersionEvidence":null}],"metrics":[{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/cap-js/cds-dbs/security/advisories/GHSA-pvw4-cvr4-97p8","https://github.com/cap-js/cds-dbs","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"],"sourceUrl":"https://github.com/advisories/GHSA-pvw4-cvr4-97p8","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-pvw4-cvr4-97p8","identifiers":["GHSA-pvw4-cvr4-97p8","CVE-2026-46421"]},"retained":false,"historicalAffected":[]}],"coverage":[]}