CVE-2026-40029

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.
Configurations

Configuration 1 (hide)

cpe:2.3:a:khyrenz:parseusbs:*:*:*:*:*:*:*:*

History

13 Apr 2026, 20:27

Type Values Removed Values Added
First Time Khyrenz
Khyrenz parseusbs
References () https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b - () https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b - Patch
References () https://github.com/khyrenz/parseusbs/pull/10 - () https://github.com/khyrenz/parseusbs/pull/10 - Issue Tracking
References () https://mobasi.ai/sentinel - () https://mobasi.ai/sentinel - Third Party Advisory
References () https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename - () https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename - Third Party Advisory
CPE cpe:2.3:a:khyrenz:parseusbs:*:*:*:*:*:*:*:*

08 Apr 2026, 22:16

Type Values Removed Values Added
New CVE

Information

Published : 2026-04-08 22:16

Updated : 2026-04-13 20:27


NVD link : CVE-2026-40029

Mitre link : CVE-2026-40029

CVE.ORG link : CVE-2026-40029


JSON object : View

Products Affected

khyrenz

  • parseusbs
CWE
CWE-78

Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')