CVE-2026-136922
PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions
CVSS Score
7.8
EPSS Score
0.0%
EPSS Percentile
0th
PyBioNetGen 0.8.7 contains a code injection vulnerability in ParameterBlock.add_item() and ModelBlock.add_item() that allows attackers to execute Python code by passing parameter expressions to sympy.sympify(). Attackers can supply a crafted BNG-XML model file with Python code in a Parameter expr or value attribute to execute code as the user when loaded with bionetgen.bngmodel().
| CWE | CWE-95 |
| Vendor | ruleworld |
| Product | pybionetgen |
| Published | Nov 25, 2026 |
| Last Updated | Nov 25, 2026 |
Stay Ahead of the Next One
Get instant alerts for ruleworld pybionetgen
Be the first to know when new high vulnerabilities affecting ruleworld pybionetgen are published โ delivered to Slack, Telegram or Discord.
Get Free Alerts โ
Free ยท No credit card ยท 60 sec setup
CVSS v3 Breakdown
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H Attack Vector
Local
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
Affected Versions
RuleWorld / PyBioNetGen
0.8.7
References
github.com: https://github.com/RuleWorld/PyBioNetGen/issues/118 github.com: https://github.com/RuleWorld/PyBioNetGen/pull/119 github.com: https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b github.com: https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py#L257-L275 vulncheck.com: https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions
Credits
Dilanka Kaushal Hewage Jim Faeder