All vulnerabilities

PyPI

CVE-2026-141338

inStrain before 1.12.1 OS Command Injection via BAM or SAM File Name

Severity
High 8.5
Published
1 Dec 2026
Last changed
1 Dec 2026
Added to UpHeron
1 Dec 2026
Fixed in
1.12.1
Weakness
OS command injection (CWE-78)
Attack
Needs local access · No login needed · Needs someone to view a page or file
Attacker can
Read data · Change data · Take it down
CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Sources
CVE Program

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.

From the CVE Program.

Affected software

SoftwareAffected versions
instrainPyPI · osv:PyPI:instrain
  • Every version before 1.12.1

About instrain

Weekly downloads (PyPI)
159PyPI Stats, 1 Dec 2026

This is the only vulnerability in instrain in our list.

References

  • CVE.org https://www.cve.org/CVERecord?id=CVE-2026-141338