Preliminary notice: published right away from the original source data, without editorial write-up. It will shortly be replaced by a written and reviewed version.
Summary
CVE-2026-136922: high-severity vulnerability (CVSS 8.5) in RuleWorld PyBioNetGen.
What happened
Original description from the source: 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().
Why it matters
High severity, CVSS 8.5.
Affected products and versions
RuleWorld PyBioNetGen 0.8.7
| Product | Versions | Fixed in |
|---|---|---|
| RuleWorld PyBioNetGen | 0.8.7 | — |
Action recommended by the source
See the official references for the fix or mitigation.
Sources and references
- https://github.com/RuleWorld/PyBioNetGen/issues/118 — CVE Program
- https://github.com/RuleWorld/PyBioNetGen/pull/119 — CVE Program
- https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b — CVE Program
- https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py#L257-L275 — CVE Program
- https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions — CVE Program
Weaknesses (CWE): CWE-95
Relevant change history
Published
Preliminary advisory published.