CVE-2023-26156 chromedriver Command Injection vulnerability
An attacker with local access can execute arbitrary commands by configuring the chromedriver path to a malicious binary.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- Not needed
- Fix
- Available
What is CVE-2023-26156?
CVE-2023-26156 is a medium-severity command injection vulnerability in chromedriver, published on 9 Nov 2023. An attacker can exploit it over the internet without logging in, with no action from the victim.
Official description
Versions of the package chromedriver before 119.0.1 are vulnerable to Command Injection when setting the chromedriver.path to an arbitrary system binary. This could lead to unauthorized access and potentially malicious actions on the host system. **Note:** An attacker must have access to the system running the vulnerable chromedriver library to exploit it. The success of exploitation also depends on the permissions and privileges of the process running chromedriver.
Weakness: CWE-78
Which versions are affected by CVE-2023-26156?
2 open source packages ship an affected version, including chromedriver. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
chromedriver npm | All versions | 119.0.1 |
chromedriver npm | All versions | 119.0.1 |
Products include Chromedriver Project Chromedriver.
How do I fix CVE-2023-26156?
Upgrade chromedriver to 119.0.1 or later.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2023-26156 being exploited?
It is not confirmed as exploited in the wild, but public exploit code for CVE-2023-26156 exists.
Other vulnerabilities in chromedriver
Sources
Also known as GHSA-hm92-vgmw-qfmx.