CVE-2026-40030: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in khyrenz parseusbs
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.
AI Analysis
Technical Summary
The vulnerability in khyrenz parseusbs (CVE-2026-40030) is an OS command injection caused by improper neutralization of special elements in the volume listing path argument passed with the -v flag. The argument is directly used in an os.popen() call with the ls command without sanitization, allowing attackers to inject arbitrary shell commands by including shell metacharacters in the volume path. This affects parseusbs versions before 1.9, specifically version 0 as stated. The CVSS 4.0 score is 8.4 (high severity), reflecting the potential for high impact if exploited. No official patch or remediation is currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the parseusbs process by injecting commands through the volume path argument. This can lead to unauthorized command execution, potentially compromising system integrity and confidentiality during volume content enumeration.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted input for the -v flag or running parseusbs in environments where untrusted users can supply volume path arguments. Monitor vendor channels for updates regarding an official fix.
CVE-2026-40030: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in khyrenz parseusbs
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.
CVSS v4.0
Score 8.4high
Affected software
Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability in khyrenz parseusbs (CVE-2026-40030) is an OS command injection caused by improper neutralization of special elements in the volume listing path argument passed with the -v flag. The argument is directly used in an os.popen() call with the ls command without sanitization, allowing attackers to inject arbitrary shell commands by including shell metacharacters in the volume path. This affects parseusbs versions before 1.9, specifically version 0 as stated. The CVSS 4.0 score is 8.4 (high severity), reflecting the potential for high impact if exploited. No official patch or remediation is currently documented, and no known exploits in the wild have been reported.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the parseusbs process by injecting commands through the volume path argument. This can lead to unauthorized command execution, potentially compromising system integrity and confidentiality during volume content enumeration.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, avoid using untrusted input for the -v flag or running parseusbs in environments where untrusted users can supply volume path arguments. Monitor vendor channels for updates regarding an official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulnCheck
- Date Reserved
- 2026-04-08T13:36:50.661Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 69d6cdb91cc7ad14dab5bfa3
Added to database: 04/08/2026, 21:50:49 UTC
Last enriched: 06/24/2026, 15:10:17 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 122
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.