CVE-2023-26128 keep-module-latest vulnerable to Command Injection due to missing input sanitization
Attackers with Node.js execution access can exploit missing input sanitization in keep-module-latest to execute arbitrary commands.
- Exploited in the wild
- Not known
- Login needed
- Not needed
- Attackable
- Local or same network only
- Victim action needed
- Not needed
- Fix
- None listed
What is CVE-2023-26128?
CVE-2023-26128 is a high-severity command injection vulnerability in keep-module-latest, published on 27 May 2023. It can only be exploited from the same machine or local network, with no action from the victim.
Official description
All versions of the package keep-module-latest are vulnerable to Command Injection due to missing input sanitization or other checks and sandboxes being employed to the installModule function. **Note:** To execute the code snippet and potentially exploit the vulnerability, the attacker needs to have the ability to run Node.js code within the target environment. This typically requires some level of access to the system or application hosting the Node.js environment.
Which versions are affected by CVE-2023-26128?
2 open source packages ship an affected version, including keep-module-latest. It affects 1 product.
| Package | Affected | Fixed in |
|---|---|---|
keep-module-latest npm | All versions to 1.0.1 | None |
keep-module-latest npm | All versions to 1.0.1 | None |
Products include Keep-Module-Latest Project Keep-Module-Latest.
How do I fix CVE-2023-26128?
No fix has been published for CVE-2023-26128 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-2023-26128 being exploited?
There is no known exploitation of CVE-2023-26128 in the wild and no public exploit code.
Sources
Also known as GHSA-wxrx-pc44-rcgc.