PyBioNetGen 0.8.7 contains a code injection vulnerability in ParameterBlock.add_item() and ModelBlock.add_item() that
Source GCVE Database
Not known to be exploited · CVSS 8.5 High.
Data as of 25 Nov 2026, 16:22 UTC
Thin evidence
One scorer or none| CNA (VulnCheck) | CVSS 4.0 | 8.5 |
|---|---|---|
| CNA (VulnCheck) | CVSS 3.1 | 7.8 |
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:NExploitation evidence
Disclosed: evidence found.
CVE published 25 Nov 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 25 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
| RuleWorldPyBioNetGen | Affected
| Fixed in– |
PyPIPyBioNetGenpkg:pypi/PyBioNetGenOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
Until a fix is available, users should avoid loading untrusted or unauthenticated BNG-XML model files with bionetgen.bngmodel().
Description
PyBioNetGen version 0.8.7 has a code injection vulnerability in the ParameterBlock.add_item() and ModelBlock.add_item() functions. This flaw allows attackers to execute arbitrary Python code by supplying crafted parameter expressions that are passed to sympy.sympify(). Specifically, a malicious BNG-XML model file containing Python code in a Parameter expr or value attribute can trigger code execution when loaded via bionetgen.bngmodel().
References
- nvd.nist.gov/vuln/detail/CVE-2026-136922 (opens in a new tab)
- github.com/RuleWorld/PyBioNetGen/issues/118 (opens in a new tab)
- github.com/RuleWorld/PyBioNetGen/pull/119 (opens in a new tab)
- github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b (opens in a new tab)
- github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py (opens in a new tab)
- vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions (opens in a new tab)