CVE-2026-136922
published high CVSS 4.0 · 8.5PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| RuleWorld | — | PyBioNetGen0.8.7 · Other versions: unaffected | Affected | Not stated | VulnCheck |
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().
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 4.0
- Base score
- 8.5 / 10
- Severity
- high
- Provider
- VulnCheck · cna
- Vector string
- 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
Additional Assessments
| Version | Score | Severity | Provider | Vector | Scenarios |
|---|---|---|---|---|---|
| 3.1 | 7.8 | high | VulnCheck · cna | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H | — |
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| RuleWorld | PyBioNetGen | 0.8.7 (affected · semver)Default: unaffected | VulnCheck · cna |
Weaknesses
1- CWE-95 Improper Neutralization of Directives in Dynamically Evaluated Code ('Eval Injection')
References
5- https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py#L257-L275
- https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b
- https://github.com/RuleWorld/PyBioNetGen/issues/118
- https://github.com/RuleWorld/PyBioNetGen/pull/119
- VulnCheck Advisory: PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions
Provider assertions
2VulnCheck · cna
PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 7d3b51373b31c15777bbc76e81c1714a4fc95c9593a987e8e502802dc8be1bc6
- Ingested
- 25 Nov 2026, 16:42:41 UTC
- Source record
- Official CVE record