{"id":"GHSA-jpvj-wpmj-h7rv","aliases":["GHSA-jpvj-wpmj-h7rv"],"related":[],"kind":"vulnerability","state":"published","title":"Supply chain compromise via malicious @cap-js/openapi","summary":"### 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 >= 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)","summaryFormat":"markdown","summarySource":"ghsa","descriptions":[{"lang":"en","text":"### 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 >= 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)","format":"markdown","source":"ghsa"}],"published":"2026-06-04T19:37:04.000Z","modified":"2026-09-10T03:51:08.781Z","severity":{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H","score":9.6,"rating":"CRITICAL"}],"cwes":["CWE-506"],"affected":[{"ranges":[{"type":"semver","introduced":"1.4.1","status":"affected","fixed":"1.4.2"}],"ecosystem":"npm","package":"@cap-js/openapi","purl":"pkg:npm/%40cap-js/openapi","source":"ghsa"}],"references":[{"url":"https://github.com/cap-js/openapi/security/advisories/GHSA-jpvj-wpmj-h7rv","tags":["web"],"sources":["ghsa"]},{"url":"https://github.com/cap-js/openapi","tags":["package"],"sources":["ghsa"]},{"url":"https://me.sap.com/notes/3747787","tags":["web"],"sources":["ghsa"]},{"url":"https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html","tags":["web"],"sources":["ghsa"]}],"credits":[],"sources":[{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-jpvj-wpmj-h7rv","url":"https://github.com/advisories/GHSA-jpvj-wpmj-h7rv","licence":"CC-BY-4.0","modified":"2026-09-10T03:51:08.781Z"}],"updatedAt":"2026-11-25T22:56:45.816Z"}