Home

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.

PUBLISHED Reserved 2026-04-08 | Published 2026-04-08 | Updated 2026-04-09 | Assigner VulnCheck




HIGH: 8.5CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

HIGH: 7.8CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H

Problem types

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

Product status

Default status
unaffected

Any version before 1.9
affected

1.9 (semver)
unaffected

99f05996494e7e41ea0c7e13145ba20eb793e46b (git)
unaffected

Credits

Mobasi Security Team finder

References

github.com/khyrenz/parseusbs/pull/10 (Pull Request) product

github.com/...ommit/99f05996494e7e41ea0c7e13145ba20eb793e46b (Patch Commit) patch

mobasi.ai/sentinel (Mobasi Sentinel Vulnerability Index) vendor-advisory

www.vulncheck.com/...mand-injection-via-crafted-lnk-filename (VulnCheck Advisory: parseusbs < 1.9 Command Injection via Crafted LNK Filename) third-party-advisory

cve.org (CVE-2026-40029)

nvd.nist.gov (CVE-2026-40029)

Download JSON