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

Published Updated

A crafted BNG-XML model file can execute Python code when loaded with PyBioNetGen; users loading untrusted models should care.

CVSS score

High

8.5/10

CVSS 4.0 · Scored by VulnCheck Breakdown
Exploited in the wild
Not known
Not in CISA's KEV catalogue
Exploit code
None known
No public exploit found
Fix
None listed
No fixed version published
Attack path
Local or same network
No login, a user must click or open something

What is CVE-2026-136922?

CVE-2026-136922 is a high-severity code injection vulnerability in RuleWorld PyBioNetGen, published on 25 Nov 2026. It can only be exploited from the same machine or local network, and only if a user opens a file or follows a link.

Official 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().

Weakness: CWE-95

How severe is CVE-2026-136922?

CVE-2026-136922 scores 8.5 out of 10 under CVSS 4.0, which is high severity. It was scored by VulnCheck.

Attack vector
Local
Attack complexity
Low
Attack requirements
None
Privileges required
None
User interaction
Passive
Confidentiality
High
Integrity
High
Availability
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

Which versions are affected by CVE-2026-136922?

1 open source package ship an affected version, including bionetgen.

An affected version is only exploitable if your software calls ParameterBlock.add_item(), ModelBlock.add_item() or sympy.sympify(). Many projects that include it are not exposed.

PackageAffectedFixed in
bionetgen PyPI
pkg:pypi/bionetgen
From 0.8.7 to 0.8.7None

How do I fix CVE-2026-136922?

No fix has been published for CVE-2026-136922 yet. Limit exposure of the affected software until one is available.

Upgrade, and never evaluate templates, expressions or code built from user input. More about Code injection.

Is CVE-2026-136922 being exploited?

There is no known exploitation of CVE-2026-136922 in the wild and no public exploit code.

Sources

Also known as GHSA-4c2x-whwm-xj85.

Is CVE-2026-136922 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free