{"answers":{"affected":"1 open source package ship an affected version, including bionetgen.","exploited":"There is no known exploitation of CVE-2026-136922 in the wild and no public exploit code.","exposure":"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.","fix":"No fix has been published for CVE-2026-136922 yet. Limit exposure of the affected software until one is available.","what":"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."},"fix_prompt":"Check this codebase for CVE-2026-136922 and fix it if it is affected.\n\nWhat it is: 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.\nExploitation: There is no known exploitation of CVE-2026-136922 in the wild and no public exploit code.\nExposure: 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.\n\nAffected packages and fixed versions:\n- bionetgen (PyPI): affected from 0.8.7 up to 0.8.7; no fix listed\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n   If an affected version is present, also search the code for calls to ParameterBlock.add_item(), ModelBlock.add_item() or sympy.sympify() and report whether any exist.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-136922/ (Markdown: https://insights.sbomify.com/CVE-2026-136922/index.md)","id":"CVE-2026-136922","markdown":"https://insights.sbomify.com/CVE-2026-136922/index.md","name":"CVE-2026-136922","record":{"aliases":["GHSA-4c2x-whwm-xj85"],"analysis":{"component_type":"library","exploitable_when_present":false,"fix_type":"no_fix_stated","impacts":["code_execution"],"network_reachable":"adjacent_or_local","non_default_config":false,"product_category":"Python bioinformatics library","requires_auth":"none","requires_specific_call":true,"summary":"A crafted BNG-XML model file can execute Python code when loaded with PyBioNetGen; users loading untrusted models should care.","user_interaction":"required","vuln_class":"code_injection","vulnerable_functions":["ParameterBlock.add_item()","ModelBlock.add_item()","sympy.sympify()"]},"analysis_generated_by":"sbomify/insights-2b-fp8","assigner":"VulnCheck","component":null,"cpe":[],"cvss":{"score":8.5,"severity":"high","source":"cna","vector":"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","version":"4.0"},"cwes":[{"id":"CWE-95","name":"Improper Neutralization of Directives in Dynamically Evaluated Code"}],"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().","ecosystems":["PyPI"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":false,"headline":"PyBioNetGen 0.8.7 Code Injection via sympify() of Model Parameter Expressions","id":"CVE-2026-136922","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"PyPI","product":null,"products":[],"type":"code_injection","year":"2026"},"main_cpe":null,"main_fixed":[],"main_package":null,"n_packages":1,"n_references":5,"n_vendor_status":0,"next":{"headline":"asar-py before 0.1.4 Path Traversal via AsarArchive.extract()","id":"CVE-2026-136923"},"nickname":null,"packages":[{"ecosystem":"PyPI","fixed":[],"introduced":["0.8.7"],"last_affected":["0.8.7"],"name_kind":null,"package":"bionetgen","purl":"pkg:pypi/bionetgen","purl_source":"cna","scope":"upstream","source":"CVE-2026-136922"}],"prev":{"headline":"nconf through 1.0.0-beta.2 Prototype Pollution via Memory#merge","id":"CVE-2026-136921"},"products":["PyBioNetGen"],"published":"2026-11-25","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","text_fixes":[],"updated":"2026-11-25","vendor_status":[],"vendors":["RuleWorld"]},"summary":"A crafted BNG-XML model file can execute Python code when loaded with PyBioNetGen; users loading untrusted models should care.","url":"https://insights.sbomify.com/CVE-2026-136922/"}