CVE-2026-40030
8.4
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:A/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Summary
parseusbs before 1.9 contains an OS command injection vulnerability where the volume listing path argument (-v flag) is passed unsanitized into an os.popen() shell command with ls, allowing arbitrary command injection via crafted volume path arguments containing shell metacharacters. An attacker can provide a crafted volume path via the -v flag that injects arbitrary commands during volume content enumeration.
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-volume-path-argument
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.