CVE-2026-136922
PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions
High · 8.5
- CVSS
- 8.5
- EPSS
- 0.38% (p24)
- Published
- 2026-11-25
- Age
- 3d old
- Modified
- 2026-11-26
- Product
- RuleWorld PyBioNetGen
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
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().
Sources
- NVD · first seen 3d ago · NVD terms of use
- OSV · first seen 3d ago · CC-BY 4.0
- CVE List · first seen 3d ago · CVE Terms of Use
References
- https://github.com/RuleWorld/PyBioNetGen/issues/118 issue-tracking
- https://github.com/RuleWorld/PyBioNetGen/pull/119 issue-tracking
- https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b patch
- https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py#L257-L275 technical-description
- https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions third-party-advisory
- https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136922.json advisory
- https://github.com/RuleWorld/PyBioNetGen package
- https://nvd.nist.gov/vuln/detail/CVE-2026-136922 advisory
- https://pypi.org web