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 parseusbs utility prior to version 1.9 is vulnerable to OS command injection (CWE-78) because it passes the volume listing path argument (-v flag) directly into an os.popen() call with the ls command without sanitization. This allows an attacker to craft volume path arguments containing shell metacharacters that execute arbitrary commands on the host system during volume enumeration. The vulnerability is local attack vector with low attack complexity but requires user interaction. It has high impact on confidentiality, integrity, and availability. No official fix or patch is currently documented.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the parseusbs process. This can lead to unauthorized system access, data compromise, or disruption of service. The vulnerability affects confidentiality, integrity, and availability of the affected system. No known exploits have been reported in the wild at this time.
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 with the -v flag in parseusbs. Restrict usage of parseusbs to trusted users and environments. Monitor vendor channels for updates or official patches.
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.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The parseusbs utility prior to version 1.9 is vulnerable to OS command injection (CWE-78) because it passes the volume listing path argument (-v flag) directly into an os.popen() call with the ls command without sanitization. This allows an attacker to craft volume path arguments containing shell metacharacters that execute arbitrary commands on the host system during volume enumeration. The vulnerability is local attack vector with low attack complexity but requires user interaction. It has high impact on confidentiality, integrity, and availability. No official fix or patch is currently documented.
Potential Impact
Successful exploitation allows an attacker to execute arbitrary OS commands with the privileges of the parseusbs process. This can lead to unauthorized system access, data compromise, or disruption of service. The vulnerability affects confidentiality, integrity, and availability of the affected system. No known exploits have been reported in the wild at this time.
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 with the -v flag in parseusbs. Restrict usage of parseusbs to trusted users and environments. Monitor vendor channels for updates or official patches.
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: 4/8/2026, 9:50:49 PM
Last enriched: 5/9/2026, 1:46:33 AM
Last updated: 5/23/2026, 10:11:39 PM
Views: 65
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.