CVE-2026-40029
8.5
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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| khyrenz | parseusbs | 0 < 1.9.0 | affected |
| khyrenz | parseusbs | 1.9.0 | unaffected |
| khyrenz | parseusbs | 99f05996494e7e41ea0c7e13145ba20eb793e46b | unaffected |
Weaknesses
- CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: none
- Automatable: no
- Technical Impact: total
References
- https://github.com/khyrenz/parseusbs/pull/10
- https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b
- https://mobasi.ai/sentinel
- https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.