CVE-2026-141338
inStrain before 1.12.1 contains an OS command injection …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/MrOlm/inStrain/blob/v1.12.0/inStrain/quickProfile.py#L82-L93
- github.com/MrOlm/inStrain/commit/a2b18e9648d58ddac2bde393ba9da308a5384cdd
- github.com/MrOlm/inStrain/issues/231
- www.vulncheck.com/advisories/instrain-before-1.12.1-os-command-injection-via-bam-or-sam-fi
- nvd.nist.gov/vuln/detail/CVE-2026-141338
- cve.org/CVERecord?id=CVE-2026-141338
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.