CVE-2026-136922
Received Received - Intake

PyBioNetGen 0.8.7 Code Injection via sympy.sympify()

Vulnerability report for CVE-2026-136922, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-11-25

Last updated on: 2026-11-25

Assigner: 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().

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-11-25
Last Modified
2026-11-25
Generated
2026-11-25
AI Q&A
2026-11-25
EPSS Evaluated
N/A
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
RuleWorld PyBioNetGen 0.8.7

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-95 The product receives input from an upstream component, but it does not neutralize or incorrectly neutralizes code syntax before using the input in a dynamic evaluation call (e.g. "eval").

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

PyBioNetGen 0.8.7 has a code injection vulnerability in ParameterBlock.add_item() and ModelBlock.add_item() functions. Attackers can exploit this by crafting a BNG-XML model file with Python code in parameter expressions. When processed by sympy.sympify(), the code executes arbitrary Python commands with the user's privileges.

Detection Guidance

To detect this vulnerability, inspect BNG-XML model files for suspicious parameter expressions containing Python code or system commands. Check for files with attributes like expr="__import__('os').system('...')" or similar constructs in Parameter or Model blocks.

Impact Analysis

If you load a malicious BNG-XML model file, attackers can execute arbitrary Python code on your system. This could lead to data theft, system compromise, or further network attacks. The impact depends on your user privileges and system configuration.

Compliance Impact

This vulnerability could lead to unauthorized data access or modification, violating GDPR's integrity and confidentiality principles or HIPAA's security requirements. Organizations may face compliance violations if user data is compromised through this exploit.

Mitigation Strategies

Upgrade PyBioNetGen to a patched version that replaces sympy.sympify() with safe expression evaluation. Avoid loading BNG-XML models from untrusted sources. Review model files for malicious parameter expressions before processing.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-136922. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart

Security Radar

News mentioning this vulnerability
Loading related security news...