GHSA-hpqj-7cj6-hfj8 · Severity: high · Ecosystem: npm — Snyk CLI affected by Command Injection vulnerability
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.
Conclusion & alert: CVE-2022-40764 is rated High Exploit Risk (72.6/100): CVSS High severity, with medium exploitation likelihood (EPSS 1.43%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-06-02 | 3.38% | 1.43% | -1.96% |
| 2 | 2026-03-12 | 3.35% | 3.38% | +0.04% |
| 3 | 2026-01-12 | — | 3.35% | — |
Full EPSS history (21 records total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 7.8 | 3.1 | HIGH |
|
1.8 | 5.9 | [email protected] |
GHSA-hpqj-7cj6-hfj8 · Severity: high · Ecosystem: npm — Snyk CLI affected by Command Injection vulnerability
| vendor | priority | summary | link |
|---|---|---|---|
redhat
|
medium | — | https://access.redhat.com/security/cve/CVE-2022-40764 |
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| snyk | cli | < 1.996.0 | cpe:2.3:a:snyk:cli:*:*:*:*:*:*:*:* |
| snyk | golang_cli | < 1.19.1 | cpe:2.3:a:snyk:golang_cli:*:*:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| https://github.com/snyk/cli/releases/tag/v1.996.0 | Patch Release Notes Third Party Advisory |
| https://github.com/snyk/snyk-go-plugin/releases/tag/v1.19.1 | Patch Release Notes Third Party Advisory |
| https://support.snyk.io/hc/en-us/articles/7015908293789-CVE-2022-40764-Command-Injection-vulnerability-affecting-Snyk-CLI-versions-prior-to-1-996-0 | Patch Vendor Advisory |
| https://www.imperva.com/blog/how-scanning-your-projects-for-security-issues-can-lead-to-remote-code-execution/ | Exploit Technical Description Third Party Advisory |