Cyber Resilience

CVE-2026-40030

HighPublic PoC

Published: 08 April 2026

Published
08 April 2026
Modified
13 April 2026
KEV Added
Patch
CVSS Score v4 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/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
EPSS Score 0.0075 50.2th percentile
Risk Priority 55 floored blend · peak EPSS

Summary

CVE-2026-40030 is a high-severity OS Command Injection (CWE-78) vulnerability in Khyrenz Parseusbs. Its CVSS base score is 8.4 (High).

Operationally, exploitation aligns with the MITRE ATT&CK technique Exploitation for Client Execution (T1203); ranked in the top 49.8% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

The strongest mitigations our analysis identified are NIST 800-53 SI-10 (Information Input Validation) and SI-2 (Flaw Remediation).

Deeper analysis

CVE-2026-40030 is an OS command injection vulnerability (CWE-78) affecting parseusbs versions before 1.9. The flaw occurs when the volume listing path argument provided via the -v flag is passed unsanitized into an os.popen() shell command that executes ls, enabling arbitrary command injection through crafted volume path arguments containing shell metacharacters. This issue was published on 2026-04-08 and carries a CVSS v3.1 base score of 7.8 (AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H).

A local attacker can exploit this vulnerability by tricking a user into running parseusbs with a specially crafted -v flag argument during volume content enumeration. No privileges are required (PR:N), but the attack demands local access (AV:L), low complexity (AC:L), and user interaction (UI:R) to execute the malicious command. Successful exploitation allows the attacker to inject and execute arbitrary operating system commands, potentially resulting in high confidentiality, integrity, and availability impacts.

Mitigation is available through the patch in parseusbs version 1.9, as detailed in the upstream GitHub commit (99f05996494e7e41ea0c7e13145ba20eb793e46b) and pull request (#10). Additional guidance appears in advisories from VulnCheck and other sources linked in the CVE references.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability details

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…

more

attacker can provide a crafted volume path via the -v flag that injects arbitrary commands during volume content enumeration.

CWE(s)

Related Threats

MITRE ATT&CK Enterprise TechniquesAI

T1203 Exploitation for Client Execution Execution
Adversaries may exploit software vulnerabilities in client applications to execute code.
T1059.004 Unix Shell Execution
Adversaries may abuse Unix shell commands and scripts for execution.
Why these techniques?

OS command injection via unsanitized -v argument to os.popen() enables arbitrary Unix shell command execution (T1059.004) by exploiting the vulnerable local client tool (T1203).

Confidence: HIGH · MITRE ATT&CK Enterprise v19.0

CVEs Like This One

CVE-2026-40029Same product: Khyrenz Parseusbs
CVE-2026-5485Shared CWE-78
CVE-2026-40032Shared CWE-78
CVE-2026-33412Shared CWE-78
CVE-2025-1244Shared CWE-78
CVE-2026-41015Shared CWE-78
CVE-2026-6849Shared CWE-78
CVE-2026-24844Shared CWE-78
CVE-2026-39862Shared CWE-78
CVE-2026-33874Shared CWE-78

Affected Assets

khyrenz
parseusbs
≤ 1.9

Mitigating Controls

Mitigating Controls (NIST 800-53 r5) AI

prevent

SI-10 requires input validation at system interfaces, directly preventing OS command injection by sanitizing the unsanitized volume path argument passed to os.popen().

prevent

SI-2 ensures timely flaw remediation by applying the patch in parseusbs version 1.9 that fixes the command injection vulnerability.

prevent

AC-6 enforces least privilege, limiting the impact of arbitrary commands injected via the crafted -v flag by restricting process privileges.

References