8.5high
parseusbs < 1.9 Command Injection via Crafted LNK Filename
- Severity
- 8.5high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 1.02% (higher than 64% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
Description
parseusbs before 1.9 contains an OS command injection vulnerability in parseUSBs.py where LNK file paths are passed unsanitized into an os.popen() shell command, allowing arbitrary command execution via crafted .lnk filenames containing shell metacharacters. An attacker can craft a .lnk filename with embedded shell metacharacters that execute arbitrary commands on the forensic examiner's machine during USB artifact parsing.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| khyrenz parseusbs | before 1.9.0, before 1.9 Not affected: 1.9.0, 99f05996494e7e41ea0c7e13145ba20eb793e46b | CVE List, NVD |
All scores
| VulnCheck | 8.5high CVSS:4.0 | CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
| NVD | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
parseusbs before 1.9 contains an OS command injection vulnerability in parseUSBs.py where LNK file paths are passed unsanitized into an os.popen() shell command, allowing arbitrary command execution via crafted .lnk filenames containing shell metacharacters. An attacker can craft a .lnk filename with embedded shell metacharacters that execute arbitrary commands on the forensic examiner's machine during USB artifact parsing.
NVD (es)
parseusbs anterior a 1.9 contiene una vulnerabilidad de inyección de comandos del sistema operativo en parseUSBs.py donde las rutas de archivos LNK se pasan sin sanitizar a un comando de shell os.popen(), permitiendo la ejecución arbitraria de comandos a través de nombres de archivo .lnk manipulados que contienen metacaracteres de shell. Un atacante puede manipular un nombre de archivo .lnk con metacaracteres de shell incrustados que ejecutan comandos arbitrarios en la máquina del examinador forense durante el análisis de artefactos USB.
References
| https://github.com/khyrenz/parseusbs/pull/10 | issue-tracking, patch | |
| https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b | patch | |
| https://mobasi.ai/sentinel | third-party-advisory, vendor-advisory | |
| https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40029 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-40029 changed 2026-07-24 | Public domain |