Skip to content

CVE-2026-40029 parseusbs < 1.9 Command Injection via Crafted LNK Filename

HighCVSS 8.5 EPSS 0.82%
Published
Updated
Exploit status
No public exploit known
CISA SSVC
No known exploitation · automatable: no · technical impact: total

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.

Upgrade path

1 package: 1 fixed.

PackageAffectedFixed inStatus
khyrenz parseusbs < 1.9; < 1.9.0 1.9, 1.9.0 Fixed

Affected products

ProductAffected versionsFixed in
khyrenz parseusbs < 1.9.0 1.9.0
khyrenz parseusbs < 1.9 1.9

References