{"id":"CVE-2026-141338","summary":"inStrain before 1.12.1 OS Command Injection via BAM or SAM File Name","details":"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.","modified":"2026-12-01T17:00:39.405099044Z","published":"2026-12-01T15:43:12.662Z","database_specific":{"cna_assigner":"VulnCheck","cwe_ids":["CWE-78"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141338.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/141xxx/CVE-2026-141338.json"},{"type":"PACKAGE","url":"https://github.com/MrOlm/inStrain"},{"type":"ARTICLE","url":"https://github.com/MrOlm/inStrain/blob/v1.12.0/inStrain/quickProfile.py#L82-L93"},{"type":"FIX","url":"https://github.com/MrOlm/inStrain/commit/a2b18e9648d58ddac2bde393ba9da308a5384cdd"},{"type":"REPORT","url":"https://github.com/MrOlm/inStrain/issues/231"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-141338"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/instrain-before-1.12.1-os-command-injection-via-bam-or-sam-file-name"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/mrolm/instrain","events":[{"introduced":"0"},{"fixed":"a2b18e9648d58ddac2bde393ba9da308a5384cdd"}],"database_specific":{"extracted_events":[{"source":"AFFECTED_FIELD","strategy":"StandardRange","range":[{"introduced":"0"},{"fixed":"1.12.1"}]},{"source":"REFERENCES_COMMIT","range":[{"fixed":"a2b18e9648d58ddac2bde393ba9da308a5384cdd"}]}]}}],"versions":["v1.12.0","v1.11.0","v1.3.1"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-141338.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}