PyPI
CVE-2026-136922
PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions
- Severity
- High 8.5
- Published
- 25 Nov 2026
- Last changed
- 25 Nov 2026
- Added to UpHeron
- 25 Nov 2026
- Weakness
- Eval injection (CWE-95)
- Attack
- Needs local access · No login needed · Needs someone to view a page or file
- Attacker can
- Read data · Change data · Take it down
- CVSS vector
CVSS:4.0/AV:L/AC:L/AT:N/PR:N/UI:P/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N- Sources
- CVE Program
Description
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().
Affected software
| Software | Affected versions |
|---|---|
bionetgenPyPI · osv:PyPI:bionetgen |
|
About bionetgen
- Weekly downloads (PyPI)
- 475PyPI Stats, 25 Nov 2026
This is the only vulnerability in bionetgen in our list.
References
- CVE.org https://www.cve.org/CVERecord?id=CVE-2026-136922