CVE-2026-141338

7.8High

Published Dec 1, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite

7.8CVSS

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.

remediation — bash
$ pip install --upgrade inStrain

AI-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

Source: nvd.nist.gov/vuln/detail/CVE-2026-141338

More fully triaged vulnerabilities you may want to check next.