CVE-2023-26128 json
keep-module-latest vulnerable to Command Injection due to missing input sanitization
published 2023-05-27 3 y ago modified 2026-06-17 4 mo ago also GHSA-wxrx-pc44-rcgc , EUVD-2023-1645
- cvss
- 8.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 1.2%
- EPSS 1.2% chance of exploitation in 30 days, percentile 68%
- public exploits
- 0
- none known
Summary
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.
CISA SSVC
- Exploitation
- none
- Automatable
- no
- Technical impact
- total
- Assessed
- 21 mo ago
Exploit prediction
1.19% chance of exploitation in the next 30 days, higher than 68% of all scored CVEs (FIRST EPSS, 2026-11-08).
Exploits and checks
- security.snyk.io https://security.snyk.io/vuln/SNYK-JS-KEEPMODULELATEST-3157165 referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H/E:P |
| CNA | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
| NVD | 3.1 | 7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| GitHub | 3.1 | 8.4 | CVSS:3.1/AV:L/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| npm | keep-module-latest | <=1.0.1 |
no fix listed |
Affected products
- n/a keep-module-latest
Classification
References
-
security.snyk.io
/vuln/SNYK-JS-KEEPMODULELATEST-3157165
web, exploit, third-party-advisory
-
github.com
/liujunyang/keep-module-latest/blob/master/index.js%23L50
web, broken-link
-
nvd.nist.gov
/vuln/detail/CVE-2023-26128
advisory
-
github.com
/liujunyang/keep-module-latest
package
Sources
- CVE List CVE-2023-26128
- GitHub Advisory GHSA-wxrx-pc44-rcgc
- NVD CVE-2023-26128
Fencer Vulns keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.