{"id":"GHSA-jpvj-wpmj-h7rv","aliases":[],"status":"published","title":"Supply chain compromise via malicious @cap-js/openapi","description":"### Impact\n\nOn May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was 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/openapi \u003e= 1.4.2\nIf the compromised version was ever installed, rotate all affected credentials.\n\n### Workarounds\nNo workarounds.\n\n### References\n\n- [SAP Note 3747787](https://me.sap.com/notes/3747787)\n- [Developer FAQ](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)","severity":{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical","from":"ghsa"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":true},"cwes":["CWE-506"],"published":"2026-06-04T19:37:04Z","modified":"2026-09-10T03:51:08Z","fixes":[{"ecosystem":"npm","package":"@cap-js/openapi","fixed_in":["1.4.2"],"sources":["ghsa","osv"]}],"affected":[{"source":"ghsa","ecosystem":"npm","package":"@cap-js/openapi","ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"1.4.1"},{"last_affected":"1.4.1"},{"fixed":"1.4.2"}]}],"versions":["1.4.1"]},{"source":"osv","ecosystem":"npm","package":"@cap-js/openapi","ranges":[{"type":"SEMVER","events":[{"introduced":"1.4.1"},{"fixed":"1.4.2"}]}],"versions":["1.4.1"]}],"references":[{"url":"https://github.com/cap-js/openapi/security/advisories/GHSA-jpvj-wpmj-h7rv","tags":["web"]},{"url":"https://me.sap.com/notes/3747787","tags":["web"]},{"url":"https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html","tags":["web"]},{"url":"https://github.com/advisories/GHSA-jpvj-wpmj-h7rv"},{"url":"https://github.com/cap-js/openapi","tags":["package"]}],"sources":{"ghsa":[{"id":"GHSA-jpvj-wpmj-h7rv","title":"Supply chain compromise via malicious @cap-js/openapi","description":"### Impact\n\nOn May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was 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/openapi \u003e= 1.4.2\nIf the compromised version was ever installed, rotate all affected credentials.\n\n### Workarounds\nNo workarounds.\n\n### References\n\n- [SAP Note 3747787](https://me.sap.com/notes/3747787)\n- [Developer FAQ](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)","status":"published","published":"2026-06-04T19:37:04Z","modified":"2026-06-04T19:37:04Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-506"],"updated_at":"2026-11-02T14:40:16.698699Z"}],"osv":[{"id":"GHSA-jpvj-wpmj-h7rv","title":"Supply chain compromise via malicious @cap-js/openapi","description":"### Impact\n\nOn May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was 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/openapi \u003e= 1.4.2\nIf the compromised version was ever installed, rotate all affected credentials.\n\n### Workarounds\nNo workarounds.\n\n### References\n\n- [SAP Note 3747787](https://me.sap.com/notes/3747787)\n- [Developer FAQ](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)","status":"published","published":"2026-06-04T19:37:04Z","modified":"2026-09-10T03:51:08.781296937Z","cvss":[{"version":"3.1","score":9.6,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","level":"critical"}],"cwes":["CWE-506"],"updated_at":"2026-11-02T15:46:50.687609Z"}]}}
