CVE-2026-22718 Command injection vulnerability
Attackers can execute arbitrary commands on the user's machine via the Spring CLI VSCode extension.
- Exploited in the wild
- Not known
- Login needed
- Any signed-in user
- Attackable
- Local or same network only
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2026-22718?
CVE-2026-22718 is a medium-severity command injection vulnerability in Spring CLI VSCode Extension, published on 14 Jan 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.
Official description
The VSCode extension for Spring CLI are vulnerable to command injection, resulting in command execution on the users machine.
Weakness: CWE-78
Which versions are affected by CVE-2026-22718?
How do I fix CVE-2026-22718?
No fix has been published for CVE-2026-22718 yet. Limit exposure of the affected software until one is available.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2026-22718 being exploited?
There is no known exploitation of CVE-2026-22718 in the wild and no public exploit code.
Sources
Also known as GHSA-h34g-p94m-h76q.