Code Injection Vulnerability in PyBioNetGen by RuleWorld
CVE-2026-136922
8.5HIGH
What is CVE-2026-136922?
PyBioNetGen version 0.8.7 is susceptible to a code injection vulnerability due to improper handling of parameter expressions in the ParameterBlock and ModelBlock functions. Attackers can exploit this flaw by delivering a specially crafted BNG-XML model file, embedding malicious Python code in the parameter expressions of either the 'expr' or 'value' attributes. When the compromised model is processed using bionetgen.bngmodel(), the Python code executes under the context of the user, potentially leading to unauthorized actions and system compromise.
Affected Version(s)
PyBioNetGen 0.8.7
