Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-40029: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in khyrenz parseusbs

0
High
VulnerabilityCVE-2026-40029cvecve-2026-40029cwe-78
Published: Wed Apr 08 2026 (04/08/2026, 21:35:24 UTC)
Source: CVE Database V5
Vendor/Project: khyrenz
Product: parseusbs

Description

parseusbs before 1.9 contains an OS command injection vulnerability in parseUSBs.py where LNK file paths are passed unsanitized into an os.popen() shell command, allowing arbitrary command execution via crafted .lnk filenames containing shell metacharacters. An attacker can craft a .lnk filename with embedded shell metacharacters that execute arbitrary commands on the forensic examiner's machine during USB artifact parsing.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 05/09/2026, 01:46:27 UTC

Technical Analysis

The vulnerability CVE-2026-40029 in khyrenz parseusbs (versions before 1.9) is an OS command injection flaw in parseUSBs.py. It arises because the software passes unsanitized LNK file paths directly into an os.popen() shell command. An attacker can exploit this by crafting .lnk filenames containing shell metacharacters, which leads to arbitrary command execution on the forensic examiner's machine during USB artifact parsing. This vulnerability is categorized under CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The CVSS 4.0 base score is 8.5, indicating high severity, with attack vector local, low attack complexity, no privileges required, and user interaction needed.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary OS commands on the forensic examiner's machine when parsing maliciously crafted .lnk files. This can lead to compromise of the host system, data theft, or further system manipulation. The impact is high due to the ability to execute arbitrary commands with the privileges of the user running parseusbs.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is released, users should avoid parsing untrusted or suspicious USB artifacts with parseusbs versions prior to 1.9. Implementing manual sanitization or running the tool in a restricted environment may reduce risk.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
VulnCheck
Date Reserved
2026-04-08T13:36:49.290Z
Cvss Version
4.0
State
PUBLISHED
Remediation Level
null

Threat ID: 69d6cdb91cc7ad14dab5bf9d

Added to database: 4/8/2026, 9:50:49 PM

Last enriched: 5/9/2026, 1:46:27 AM

Last updated: 5/23/2026, 9:36:28 PM

Views: 67

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses