CVE-2026-141338
7.8HighPublished Dec 1, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
High
0CVSS v3.110
- Attack vector
- Local
- Complexity
- Low
- Privileges
- None
- User action
- Required
- Impact
- Full C/I/A compromise
- Weakness
- CWE-78
What an attacker gets
Attackers can execute arbitrary commands as the analyst by providing a maliciously named BAM or SAM file. This requires the analyst to process a file with shell syntax in its filename using inStrain.
Root cause
The application passes unsanitized file names containing shell syntax directly to the system shell in run_coverm, _sam_to_bam, and subset_bam functions.
Affected versions
inStrain before 1.12.1
CVSS v3.1 · CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
Fix & remediation
Upgrade to inStrain 1.12.1 or later. Until upgraded, do not process BAM or SAM files from untrusted sources that may contain shell metacharacters in their filenames.
$ pip install --upgrade inStrainAI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
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
Related Critical / High CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1413437.8HighAttackers can execute arbitrary code with your privileges by providing a malicious PyTorch model file. This requires a user to load a crafted model via the InferencePipeline.
- CVE-2026-1413428.8HighAuthenticated attackers can execute arbitrary Python code as the server process. This allows them to steal data source credentials and LLM API keys.
- CVE-2026-1413417.8HighLocal attackers can execute arbitrary code as the user by placing a malicious package in the same directory as a Jupyter notebook. This requires a user to open a notebook in a directory containing the malicious file.
- CVE-2026-1413407.0HighAttackers can execute arbitrary commands as the user running the process. This requires a user to process a maliciously named genome file through the ANImf algorithm.
- CVE-2026-1413397.8HighAttackers can execute arbitrary code with your user privileges. They need to trick you into loading a malicious clip_img_encoder.pt file.
- CVE-2026-1413308.1HighUnauthenticated attackers can hijack user sessions by tricking victims into clicking a malicious link. This allows the attacker to steal the victim's login name and persistent app password.