CVE-2026-40029 PUBLISHED

parseusbs < 1.9 Command Injection via Crafted LNK Filename

Assigner: VulnCheck
Reserved: 08.04.2026 Published: 08.04.2026 Updated: 08.04.2026

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.

Metrics

CVSS Vector: 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
CVSS Score: 8.5

Product Status

Vendor khyrenz
Product parseusbs
Versions Default: unaffected
  • affected from 0 to 1.9 (excl.)
  • Version 1.9 is unaffected
  • Version 99f05996494e7e41ea0c7e13145ba20eb793e46b is unaffected

Credits

  • Mobasi Security Team finder

References

Problem Types

  • Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') (CWE-78) CWE