CVE-2026-141338
Severity CVSS v4.0:
HIGH
Type:
CWE-78
OS Command Injections
Publication date:
01/12/2026
Last modified:
01/12/2026
Description
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.
Impact
Base Score 4.0
8.50
Severity 4.0
HIGH
Base Score 3.x
7.80
Severity 3.x
HIGH
References to Advisories, Solutions, and Tools
- https://github.com/MrOlm/inStrain/blob/v1.12.0/inStrain/quickProfile.py#L82-L93
- https://github.com/MrOlm/inStrain/commit/a2b18e9648d58ddac2bde393ba9da308a5384cdd
- https://github.com/MrOlm/inStrain/issues/231
- https://www.vulncheck.com/advisories/instrain-before-1.12.1-os-command-injection-via-bam-or-sam-file-name


