Code Injection Vulnerability in PyBioNetGen by RuleWorld
CVE-2026-136922

8.5HIGH

Key Information:

Vendor

Ruleworld

Vendor
CVE Published:
25 November 2026

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

References

CVSS V4

Score:
8.5
Severity:
HIGH
Confidentiality:
High
Integrity:
High
Availability:
High
Attack Vector:
Local
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dilanka Kaushal Hewage
Jim Faeder
.