parseusbs < 1.9 Command Injection via Crafted LNK Filename
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.
- Products
- parseusbs
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-40029
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 31 Oct 2026, 13:43 UTC · Revision 1
Source evidence
parseusbs < 1.9 Command Injection via Crafted LNK Filename
core-cve · Original sourcePublished 8 Apr 2026, 21:35 UTC
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.
cve:CVE-2026-40029
parseusbs
Fixed versions: Not specified
Complete source record
{
"id": "3d050326005722efad60e7f04fc21f4b1e2c8f62a27c124d5d801cf4bca35006",
"url": "https://www.cve.org/CVERecord?id=CVE-2026-40029",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "parseusbs < 1.9 Command Injection via Crafted LNK Filename",
"summary": "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.",
"evidence": "cve:CVE-2026-40029",
"products": [
{
"name": {
"value": "parseusbs",
"evidence": "/containers/cna/affected/0/product"
},
"prerequisites": [],
"fixed_versions": [],
"affected_versions": []
}
],
"severity": "high",
"structured": {
"id": "CVE-2026-40029",
"aliases": [
"CVE-2026-40029"
],
"metrics": [
{
"format": "CVSS",
"cvssV4_0": {
"Safety": "NOT_DEFINED",
"version": "4.0",
"Recovery": "NOT_DEFINED",
"baseScore": 8.5,
"Automatable": "NOT_DEFINED",
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"valueDensity": "NOT_DEFINED",
"vectorString": "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",
"exploitMaturity": "NOT_DEFINED",
"providerUrgency": "NOT_DEFINED",
"userInteraction": "PASSIVE",
"attackComplexity": "LOW",
"attackRequirements": "NONE",
"privilegesRequired": "NONE",
"subIntegrityImpact": "NONE",
"vulnIntegrityImpact": "HIGH",
"subAvailabilityImpact": "NONE",
"vulnAvailabilityImpact": "HIGH",
"subConfidentialityImpact": "NONE",
"vulnConfidentialityImpact": "HIGH",
"vulnerabilityResponseEffort": "NOT_DEFINED"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
},
{
"format": "CVSS",
"cvssV3_1": {
"scope": "UNCHANGED",
"version": "3.1",
"baseScore": 7.8,
"attackVector": "LOCAL",
"baseSeverity": "HIGH",
"vectorString": "CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H",
"integrityImpact": "HIGH",
"userInteraction": "REQUIRED",
"attackComplexity": "LOW",
"availabilityImpact": "HIGH",
"privilegesRequired": "NONE",
"confidentialityImpact": "HIGH"
},
"scenarios": [
{
"lang": "en",
"value": "GENERAL"
}
]
}
],
"affected": [
{
"vendor": "khyrenz",
"product": "parseusbs",
"versions": [
{
"status": "affected",
"version": "0",
"lessThan": "1.9.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "1.9.0",
"versionType": "semver"
},
{
"status": "unaffected",
"version": "99f05996494e7e41ea0c7e13145ba20eb793e46b",
"versionType": "git"
}
],
"defaultStatus": "unaffected"
}
],
"modified": "2026-10-27T10:14:08.811Z",
"provider": "cve",
"references": [
"https://github.com/khyrenz/parseusbs/pull/10",
"https://github.com/khyrenz/parseusbs/commit/99f05996494e7e41ea0c7e13145ba20eb793e46b",
"https://mobasi.ai/sentinel",
"https://www.vulncheck.com/advisories/parseusbs-command-injection-via-crafted-lnk-filename"
],
"provider_metadata": {
"adp": [
{
"title": "CISA ADP Vulnrichment",
"metrics": [
{
"other": {
"type": "ssvc",
"content": {
"id": "CVE-2026-40029",
"role": "CISA Coordinator",
"options": [
{
"Exploitation": "none"
},
{
"Automatable": "no"
},
{
"Technical Impact": "total"
}
],
"version": "2.0.3",
"timestamp": "2026-04-09T14:48:22.522386Z"
}
}
}
],
"providerMetadata": {
"orgId": "134c704f-9b21-4f2e-91b3-4a467353bcc0",
"shortName": "CISA-ADP",
"dateUpdated": "2026-04-09T14:48:31.844Z"
}
}
],
"cna": {
"orgId": "83251b91-4cc7-4094-a5c7-464a1b83ea10",
"shortName": "VulnCheck",
"dateUpdated": "2026-10-27T10:14:08.811Z"
}
}
},
"related_cves": [
{
"value": "CVE-2026-40029",
"evidence": "/cveMetadata/cveId"
}
],
"security_relevant": true,
"severity_evidence": "/containers/cna/metrics"
},
"source_id": "core-cve",
"document_id": 391786,
"published_at": "2026-04-08T21:35:24.801+00:00"
}