Vulnerability 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().
CVSS Score
HIGH
Related Weaknesses (CWE)
References
- https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda6837
- https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951
- https://github.com/RuleWorld/PyBioNetGen/issues/118
- https://github.com/RuleWorld/PyBioNetGen/pull/119
- https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympif
FAQ
What is CVE-2026-136922?
CVE-2026-136922 is a vulnerability with a CVSS score of 7.8 (HIGH). 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....
How severe is CVE-2026-136922?
CVE-2026-136922 has been rated HIGH with a CVSS base score of 7.8/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-136922?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.