What’s Vulnerable › Vulnerabilities

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

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 products

How to fix

Upgrade to a fixed version: khyrenz parseusbs 1.9; khyrenz parseusbs 1.9.0. Check the vendor advisory for mitigations.

References

Get alerted when CVE-2026-40029 or the next vulnerability affects your stack