{"id":"CVE-2026-136922","summary":"PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions","details":"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().","modified":"2026-11-25T16:00:15.096057286Z","published":"2026-11-25T14:51:25.502Z","database_specific":{"unresolved_ranges":[{"extracted_events":[{"strategy":"StandaloneSingleVersion","range":[{"introduced":"0.8.7"},{"last_affected":"0.8.7"}],"source":"AFFECTED_FIELD"}]}],"cna_assigner":"VulnCheck","cwe_ids":["CWE-95"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136922.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/136xxx/CVE-2026-136922.json"},{"type":"PACKAGE","url":"https://github.com/RuleWorld/PyBioNetGen"},{"type":"ARTICLE","url":"https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py#L257-L275"},{"type":"FIX","url":"https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b"},{"type":"REPORT","url":"https://github.com/RuleWorld/PyBioNetGen/issues/118"},{"type":"FIX","url":"https://github.com/RuleWorld/PyBioNetGen/pull/119"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-136922"},{"type":"WEB","url":"https://pypi.org"},{"type":"ADVISORY","url":"https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/ruleworld/pybionetgen","events":[{"introduced":"0"},{"fixed":"cbfa145819765a9eb758bc4086576951d9a2e16b"}],"database_specific":{"extracted_events":[{"range":[{"fixed":"cbfa145819765a9eb758bc4086576951d9a2e16b"}],"source":"REFERENCES_COMMIT"}]}}],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-136922.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V4","score":"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"}]}