Read the docs

Code injection in PyBioNetGen via parameter expressions

Priority LOW 37CWE-95Published · Updated

Key facts

Attack vector
Local
Privileges required
None
User interaction
Passive
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
No fix listed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-95.

Summary

PyBioNetGen 0.8.7 contains a code injection flaw in ParameterBlock.add_item() and ModelBlock.add_item() where parameter expressions are passed to sympy.sympify(), which evaluates them as Python code (CWE-95). An attacker who supplies a crafted BNG-XML model file with Python code in a Parameter expr or value attribute can run code as the user who loads it with bionetgen.bngmodel().

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Description from the CNA

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 now

EPSS 0.00383 24th percentileScored 2026-11-30
Fix No fix listed No fixed version in the sources yet

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
RuleWorldPyBioNetGen0.8.7—No fix listedCNA
  • PyBioNetGen VendorRuleWorld Affected 0.8.7 Fixed in — No fix listed CNA

Remediation

The sources list no fixed version for PyBioNetGen.

Written with Claude Haiku 5.5 from the sources below · 2026-11-25

Timeline

  1. 2026-11-25 Threatist record created from CVE-2026-136922
  2. 2026-11-25 Alias added: GHSA-4c2x-whwm-xj85

References

Sources