CVE-2026-40030
OS Command Injection in parseusbs -v Volume Path Argument
Publication date: 2026-04-08
Last updated on: 2026-04-13
Assigner: VulnCheck
Description
Description
CVSS Scores
EPSS Scores
| Probability: | |
| Percentile: |
Meta Information
Affected Vendors & Products
| Vendor | Product | Version / Range |
|---|---|---|
| khyrenz | parseusbs | to 1.9 (exc) |
Helpful Resources
Exploitability
| CWE ID | Description |
|---|---|
| CWE-78 | The product constructs all or part of an OS command using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the intended OS command when it is sent to a downstream component. |
Attack-Flow Graph
AI Powered Q&A
How can this vulnerability impact me? :
This vulnerability can allow an attacker to execute arbitrary commands on the affected system with the privileges of the user running parseusbs. This can lead to full compromise of confidentiality, integrity, and availability of the system, including unauthorized data access, modification, or destruction.
Can you explain this vulnerability to me?
The vulnerability exists in parseusbs versions before 1.9, where the volume listing path argument provided with the -v flag is not sanitized before being passed into an os.popen() shell command that uses ls. This allows an attacker to inject arbitrary OS commands by crafting the volume path argument with shell metacharacters, leading to command injection during volume content enumeration.