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…
EPSS 0.8%top 47%

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: 04/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.

CVSS v4.0

Score 8.5high

Attack Vector
Local
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
Passive
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

GitHub Actionsmore threats →ai
khyrenz/parseusbs
pkg:github/khyrenz/parseusbs
Affected versions
<1.9

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 06/24/2026, 15:10:06 UTC

Technical Analysis

The vulnerability CVE-2026-40029 in khyrenz parseusbs (versions before 1.9) is an OS command injection issue. The parseUSBs.py script passes LNK file paths directly into an os.popen() shell command without sanitization. An attacker can craft .lnk filenames with embedded shell metacharacters that cause arbitrary command execution on the forensic examiner's machine during USB artifact parsing. This vulnerability is identified as CWE-78 (Improper Neutralization of Special Elements used in an OS Command). The CVSS 4.0 base score is 8.5, indicating high severity. No patch or official remediation guidance is currently available.

Potential Impact

Successful exploitation allows an attacker to execute arbitrary OS commands on the forensic examiner's machine with no privileges required and no user interaction needed beyond parsing the malicious .lnk file. This can lead to full system compromise or unauthorized actions during forensic analysis of USB devices.

Mitigation Recommendations

Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until a fix is available, users should avoid parsing untrusted or suspicious USB artifacts with parseusbs. Consider manual inspection or alternative tools that do not execute shell commands with unsanitized input.

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: 04/08/2026, 21:50:49 UTC

Last enriched: 06/24/2026, 15:10:06 UTC

Last updated: 07/31/2026, 19:22:58 UTC

Views: 112

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