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

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 1.02%, higher than 64% of CVEs (2026-12-01)
- Published: 2026-04-08T21:35:24.801Z
- Modified: 2026-11-08T14:02:41.918Z
- Weaknesses: CWE-78
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: VulnCheck

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

(As written by CVE List.)

## Affected

- khyrenz parseusbs: before 1.9.0; before 1.9 (not affected: 1.9.0; 99f05996494e7e41ea0c7e13145ba20eb793e46b)

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`
- NVD: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/khyrenz/parseusbs/pull/10> (issue-tracking, patch)
- <https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b> (patch)
- <https://mobasi.ai/sentinel> (third-party-advisory, vendor-advisory)
- <https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename> (third-party-advisory)

## Sources

- CVE List: [CVE-2026-40029](https://www.cve.org/CVERecord?id=CVE-2026-40029), CVE Terms of Use, modified 2026-11-08
- NVD: [CVE-2026-40029](https://nvd.nist.gov/vuln/detail/CVE-2026-40029), Public domain, modified 2026-07-24

---

Page: https://cve.day/CVE-2026-40029 · Whole record: https://cve.day/CVE-2026-40029.json · Rebuilt by cve.day 2026-11-25T22:59:18.323Z
