Vulnerabilityin the snyk package.
No public exploit found; not on exploited lists.
Snyk CLI before 1.996.0 allows arbitrary command execution, affecting Snyk IDE plugins and the snyk npm package. Exploitation could follow from the common practice of viewing untrusted files in the Visual Studio Code editor, for example. The original demonstration was with shell metacharacters in the vendor.json ignore field, affecting snyk-go-plugin before 1.19.1. This affects, for example, the Snyk TeamCity plugin (which does not update automatically) before 20220930.142957.
- Upgrade snyk (npm) to 1.996.0 or later.
- Upgrade snyk-go-plugin (npm) to 1.19.1 or later.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 18 Sep 2022CVE ID reserved by mitre.
- 3 Oct 2022Published in the CVE List.
- 3 Aug 2024CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Other vulnerabilities in this package
- github.com x_refsource_MISC
- github.com x_refsource_MISC
- www.imperva.com x_refsource_MISC
- support.snyk.io x_refsource_MISC
Patchminder. CVE-2022-40764: Vulnerability in the snyk package. https://patchminder.com/cve/cve-2022-40764/ (accessed 5 December 2026).