PatchSiren

PatchSiren cyber security CVE debrief

CVE-2026-136922 RuleWorld CVE debrief

PyBioNetGen 0.8.7 contains a code injection vulnerability in ParameterBlock.add_item() and ModelBlock.add_item() via sympy.sympify(). The vulnerability allows attackers to execute Python code by passing parameter expressions to sympy.sympify(). This can be exploited by supplying a crafted BNG-XML model file with Python code in a Parameter expr or value attribute, leading to code execution as the user when loaded with bionetgen.bngmodel(). Defenders should assess exposure and prioritize verifying potential impact.

Vendor
RuleWorld
Product
PyBioNetGen
CVSS
HIGH 8.5
CISA KEV
Not listed in stored evidence
Original CVE published
2026-11-25
Original CVE updated
2026-11-25
Advisory published
2026-11-25
Advisory updated
2026-11-25

Who should care

Defenders responsible for PyBioNetGen deployments should assess exposure and potential impact. This includes operators, platform administrators, vulnerability management teams, and security teams who need to verify exposure and prioritize mitigation efforts based on the provided information.

Why it matters

Defenders should prioritize verifying exposure and assessing potential impact due to the code injection vulnerability in PyBioNetGen 0.8.7.

  • Potential code execution as the user loading the crafted BNG-XML model file

Technical summary

The vulnerability exists in ParameterBlock.add_item() and ModelBlock.add_item() due to the use of sympy.sympify(). This allows attackers to execute Python code by passing parameter expressions to sympy.sympify(). The affected version is PyBioNetGen 0.8.7. Defenders should prioritize verifying exposure and assessing potential impact based on the provided information without unsupported root-cause or exploit claims. The vulnerability can be exploited by supplying a crafted BNG-XML model file with Python code in a Parameter expr or value attribute.

Defensive priority

Defenders should prioritize verifying exposure and assessing potential impact.

Recommended defensive actions

  • Verify PyBioNetGen version 0.8.7 usage and assess potential exposure
  • Review and restrict input to sympy.sympify() where possible
  • Consider upgrading to a patched version if available
  • Review compensating controls for exposed systems while remediation is scheduled and verified
  • Check relevant monitoring, detection, and logs for exposed assets that need extra review
  • Track exceptions, retest remediated assets, and close the item only after evidence is documented
  • Confirm whether affected product deployments exist in managed environments and assign an owner for follow-up

Evidence notes

The CVE record and source item provide details on the vulnerability. The vulnerability exists due to the use of sympy.sympify() in ParameterBlock.add_item() and ModelBlock.add_item(). The source item and CVE record confirm the affected version as PyBioNetGen 0.8.7. Defenders should verify exposure and assess potential impact based on the provided information.

Sources and references

Verified primary and authoritative sources

  • CVE-2026-136922 CVE Program record

    Publisher, destination, and source semantics verified

    URL: https://www.cve.org/CVERecord?id=CVE-2026-136922

    CVE Program - Official CVE Program record with source-provided CVE metadata.

  • CVE-2026-136922 NVD vulnerability detail

    Publisher, destination, and source semantics verified

    URL: https://nvd.nist.gov/vuln/detail/CVE-2026-136922

    NIST National Vulnerability Database - Official NIST NVD detail page and source-specific vulnerability assessment.

Supplemental references

  • PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions

    Unverified legacy reference

    URL: https://raw.githubusercontent.com/CVEProject/cvelistV5/main/cves/2026/136xxx/CVE-2026-136922.json

    cve_program_cvelist_v5

  • Source reference

    Unverified legacy reference

    URL: https://github.com/RuleWorld/PyBioNetGen/issues/118

    Supplemental source - issue-tracking

  • Source reference

    Unverified legacy reference

    URL: https://github.com/RuleWorld/PyBioNetGen/pull/119

    Supplemental source - issue-tracking, patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/RuleWorld/PyBioNetGen/commit/cbfa145819765a9eb758bc4086576951d9a2e16b

    Supplemental source - patch

  • Source reference

    Unverified legacy reference

    URL: https://github.com/RuleWorld/PyBioNetGen/blob/28bf351a9bbfc197e19487c26dedda683716bb64/bionetgen/modelapi/blocks.py

    Supplemental source - technical-description

  • Source reference

    Unverified legacy reference

    URL: https://www.vulncheck.com/advisories/pybionetgen-0.8.7-code-injection-via-sympify-of-model-parameter-expressions

    Supplemental source - third-party-advisory

Methodology and review provenance

AI-assisted synthesis based on stored public vulnerability evidence. System validation, approval state, and publication status do not by themselves establish human review of this revision. PatchSiren helps prioritize defensive review and does not prove exposure or remediation on any system.