{"id":"CVE-2026-141338","aliases":["CVE-2026-141338"],"related":[],"kind":"vulnerability","state":"published","title":"inStrain before 1.12.1 OS Command Injection via BAM or SAM File Name","summary":"inStrain before 1.12.1 contains an OS command injection vulnerability that allows attackers to execute commands by embedding shell syntax in mapping file names. Attackers can supply a BAM or SAM file named with $(...) or backticks, which run_coverm, _sam_to_bam, or subset_bam pass unquoted to a shell, executing commands as the analyst.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"inStrain before 1.12.1 contains an OS command injection vulnerability that allows attackers to execute commands by embedding shell syntax in mapping file names. Attackers can supply a BAM or SAM file named with $(...) or backticks, which run_coverm, _sam_to_bam, or subset_bam pass unquoted to a shell, executing commands as the analyst.","source":"cvelist"}],"published":"2026-12-01T15:43:12.662Z","modified":"2026-12-01T16:18:27.203Z","severity":{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},"severities":[{"scorer":"VulnCheck","scheme":"CVSS:4.0","vector":"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","score":8.5,"rating":"HIGH"},{"scorer":"VulnCheck","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H","score":7.8,"rating":"HIGH"}],"cwes":["CWE-78"],"affected":[{"ranges":[{"type":"semver","introduced":"0","fixed":"1.12.1","status":"affected"}],"vendor":"MrOlm","product":"inStrain","repo":"https://github.com/MrOlm/inStrain","source":"cvelist"}],"references":[{"url":"https://github.com/MrOlm/inStrain/issues/231","tags":["issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MrOlm/inStrain/commit/a2b18e9648d58ddac2bde393ba9da308a5384cdd","tags":["patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/MrOlm/inStrain/blob/v1.12.0/inStrain/quickProfile.py#L82-L93","tags":["technical-description"],"sources":["cvelist","nvd"]},{"url":"https://www.vulncheck.com/advisories/instrain-before-1.12.1-os-command-injection-via-bam-or-sam-file-name","tags":["third-party-advisory"],"sources":["cvelist","nvd"]}],"credits":["Dilanka Kaushal Hewage (r3vpwnx)"],"assigner":"VulnCheck","sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-141338","url":"https://www.cve.org/CVERecord?id=CVE-2026-141338","licence":"CVE Terms of Use","modified":"2026-12-01T15:43:12.662Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-141338","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141338","licence":"Public domain","modified":"2026-12-01T16:18:27.203Z"}],"updatedAt":"2026-12-01T16:32:21.726Z"}