CVE-2026-40030 Details
Description
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.
A command injection vulnerability has been identified in Parseusbs versions prior to 1.9. The issue arises because the volume listing path argument, specified with the -v flag, is passed without proper sanitization into a shell command using os.popen(). This flaw allows arbitrary command injection by crafting volume path arguments that include shell metacharacters. An attacker can exploit this vulnerability by injecting commands during the enumeration of volume contents.
Users are advised to update to Parseusbs version 1.9 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Apr 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b | [email protected] | Patch |
| https://github.com/khyrenz/parseusbs/pull/10 | [email protected] | Issue Tracking |
| https://mobasi.ai/sentinel | [email protected] | Third Party Advisory |
| https://www.vulncheck.com/advisories/parseusbs-command-injection-via-volume-path-argument | [email protected] | Third Party Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-78 | Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| khyrenz parseusbs | < 1.9 |
CPE
Remediation
| |
Change History
5 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jul 24, 2026 | CVE Translated | [email protected] |
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Apr 13, 2026 | Initial Analysis | [email protected] |
| Apr 8, 2026 | New CVE Received | [email protected] |