# GHSA-jpvj-wpmj-h7rv: Supply chain compromise via malicious @cap-js/openapi

- Severity: Critical 9.6 (CVSS:3.1, scored by GitHub) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:H/I:H/A:H`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Published: 2026-06-04T19:37:04.000Z
- Modified: 2026-09-10T03:51:08.781Z
- Weaknesses: CWE-506

## Description

### Impact

On May 19, 2026, a compromised version of @cap-js/openapi@1.4.1 was 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.

### Patches

Upgrade to @cap-js/openapi >= 1.4.2
If the compromised version was ever installed, rotate all affected credentials.

### Workarounds
No workarounds.

### References

- [SAP Note 3747787](https://me.sap.com/notes/3747787)
- [Developer FAQ](https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html)

(As written by GitHub Advisory Database.)

## Affected

- @cap-js/openapi (npm): from 1.4.1 before 1.4.2

## References

- <https://github.com/cap-js/openapi/security/advisories/GHSA-jpvj-wpmj-h7rv> (web)
- <https://github.com/cap-js/openapi> (package)
- <https://me.sap.com/notes/3747787> (web)
- <https://www.sap.com/documents/2026/05/8203a8b9-4d7f-0010-bca6-c68f7e60039b.html> (web)

## Sources

- GitHub Advisory Database: [GHSA-jpvj-wpmj-h7rv](https://github.com/advisories/GHSA-jpvj-wpmj-h7rv), CC-BY-4.0, modified 2026-09-10

---

Page: https://cve.day/GHSA-jpvj-wpmj-h7rv · Whole record: https://cve.day/GHSA-jpvj-wpmj-h7rv.json · Rebuilt by cve.day 2026-11-25T22:56:45.816Z
