CVE-2026-141338
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.
Predictions
Heuristic predictions, AS-IS, for prioritization only.
Mitigations
No mitigations published for this CVE yet.
The vendor-content worker queues fetches as references arrive (check back in a few minutes). Or — if you've already worked around this in production — publish your fix to the community-verified tier.
Propose a mitigation on Community Mitigations published via the community go through AI scoring + 2 human reviewers + 7-day silent objection window before landing here withsource_tier=community-verified.
Application impact
| Vendor | Product | Versions | Fixed |
|---|---|---|---|
| mrolm | instrain | {"endExcluding":"1.12.1"} | 1.12.1 |
References
- 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
CWEs
CWE-78
Community-verified mitigations for this CVE will appear above when contributors publish them.
Verify integrity in audit chain (admin only). AS-IS.