# CVE-2026-136922: PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions

- Severity: High 8.5 (CVSS:4.0, scored by VulnCheck) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 34% of CVEs (2026-12-01)
- Published: 2026-11-25T14:51:25.502Z
- Modified: 2026-11-25T17:17:53.867Z
- Weaknesses: CWE-95
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: 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().

(As written by CVE List.)

## Affected

- RuleWorld PyBioNetGen: 0.8.7

## Every score

- VulnCheck: CVSS:4.0 8.5 High `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`
- VulnCheck: CVSS:3.1 7.8 High `CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H`

## References

- <https://github.com/RuleWorld/PyBioNetGen/issues/118> (issue-tracking)
- <https://github.com/RuleWorld/PyBioNetGen/pull/119> (issue-tracking, patch)
- <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)

## Sources

- CVE List: [CVE-2026-136922](https://www.cve.org/CVERecord?id=CVE-2026-136922), CVE Terms of Use, modified 2026-11-25
- NVD: [CVE-2026-136922](https://nvd.nist.gov/vuln/detail/CVE-2026-136922), Public domain, modified 2026-11-25

---

Page: https://cve.day/CVE-2026-136922 · Whole record: https://cve.day/CVE-2026-136922.json · Rebuilt by cve.day 2026-11-25T23:17:51.918Z
