8.4high
parseusbs < 1.9 Command Injection via Volume Path Argument
- Severity
- 8.4high CVSS:4.0 by VulnCheck
- Exploit likelihood
- 0.98% (higher than 63% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulnCheck
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.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| khyrenz parseusbs | before 1.9.0, before 1.9 Not affected: 1.9.0, 99f05996494e7e41ea0c7e13145ba20eb793e46b | CVE List, NVD |
All scores
| VulnCheck | 8.4high CVSS:4.0 | 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 |
| VulnCheck | 7.8high CVSS:3.1 | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H |
Classification
SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.
What each source says
CVE List
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.
NVD (es)
parseusbs anterior a la versión 1.9 contiene una vulnerabilidad de inyección de comandos del sistema operativo donde el argumento de la ruta de listado de volúmenes (bandera -v) se pasa sin sanitizar a un comando de shell os.popen() con ls, permitiendo la inyección de comandos arbitrarios a través de argumentos de ruta de volumen manipulados que contienen metacaracteres de shell. Un atacante puede proporcionar una ruta de volumen manipulada a través de la bandera -v que inyecta comandos arbitrarios durante la enumeración del contenido del volumen.
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-volume-path-argument | third-party-advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-40030 changed 2026-11-08 | CVE Terms of Use |
| NVD | CVE-2026-40030 changed 2026-07-24 | Public domain |