CVE-2026-40029
JSON

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 packageVersionsReported by
khyrenz parseusbsbefore 1.9.0, before 1.9
Not affected: 1.9.0, 99f05996494e7e41ea0c7e13145ba20eb793e46b
CVE List, NVD

All scores

VulnCheck8.5high CVSS:4.0CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
VulnCheck7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
NVD7.8high CVSS:3.1CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Classification

CWE-78

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

Sources

SourceRecordLicence
CVE ListCVE-2026-40029 changed 2026-11-08CVE Terms of Use
NVDCVE-2026-40029 changed 2026-07-24Public domain