inStrain Passed BAM File Names Straight to a Shell
inStrain is a bioinformatics tool for strain-level analysis of microbial sequencing data. Before version 1.12.1, several code paths built shell commands with the path to a BAM or SAM file and did not quote the filename. A file named with command substitution or backticks could run an operating-system command with the analyst's privileges.
The issue is CVE-2026-141338. The public description names run_coverm , _sam_to_bam , and subset_bam as paths that passed the mapping-file name through a shell. The vendor fix in 1.12.1 states that mapping-file paths are no longer sent through a shell and that paths with spaces now work in those paths.
A filename is attacker-controlled input
Scientific workflows exchange BAM and SAM files through shared storage, job queues, sample sheets, and email. The person who runs inStrain may not be the person who created the filename.…