CyberSecBulletin

Improper Control of Generation of Code

CWE-94

The product constructs all or part of a code segment using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify the syntax or behavior of the intended code segment.

We track 2,468 vulnerabilities of this type. 100% are rated high or critical, and the average CVSS score is 8.8. 82 have been exploited in real attacks.

How this weakness is prevented

  • Architecture and Design: Refactor your program so that you do not have to dynamically generate code.
  • Architecture and Design: Run your code in a jail or similar sandbox environment that enforces strict boundaries between the process and the operating system. This may effectively restrict which code can be executed by your product. Examples include the Unix chroot jail and AppArmor. In general, managed code may provide some protection. This may not be a feasible solution, and it only limits the impact to the operating system; the rest of your application may still be subject to compromise. Be careful to avoid CWE-243 and other weaknesses related to jails.
  • Testing: Use dynamic tools and techniques that interact with the product using large test suites with many diverse inputs, such as fuzz testing (fuzzing), robustness testing, and fault injection. The product's operation may slow down, but it should not become unstable, crash, or generate incorrect results.
  • Operation: Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).
  • Operation: Run the code in an environment that performs automatic taint propagation and prevents any command execution that uses tainted variables, such as Perl's -T switch. This will force the program to perform validation steps that remove the taint, although you must be careful to correctly validate your inputs so that you do not accidentally mark dangerous inputs as untainted (see CWE-183 and CWE-184).

Latest Improper Control of Generation of Code vulnerabilities

  • 7.5 High severity

    n8n: Improper Control of Generation of Code

    CVE-2026-126391n8n

    n8n before 1.123.89 contains an insufficient isolation vulnerability in workflow expression evaluation that allows authenticated users to escape the sandbox. Attackers with permission to create or modify workflows can craft expressions referencing unexpected J

  • 8.8 High severity

    Widget Options – Advanced Conditional…: Improper Control of Generation of Code

    CVE-2026-116615MarketingFire

    The Widget Options – Advanced Conditional Visibility for Gutenberg Blocks & Classic Widgets plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 4.2.6.1 via the `post_content` parameter. This is due to asymmetric parsing b

  • 9.8 Critical severity

    Streamit: Improper Control of Generation of Code

    CVE-2026-126119Streamit

    The Streamit WordPress plugin before 1.3.10 does not perform any authorization or nonce verification on one of its unauthenticated AJAX routes, which invokes an attacker-supplied PHP function with an attacker-supplied argument array, allowing unauthenticated a

  • 7.2 High severity

    WP Ultimate CSV Importer: Improper Control of Generation of Code

    CVE-2026-125912WP Ultimate CSV Importer

    The WP Ultimate CSV Importer WordPress plugin before 9.2 does not restrict the destination filename and extension, nor validate the fetched content type, when importing remote media, allowing an Administrator of a Multisite subsite to write and execute arbitra

  • 8.8 High severity

    datamodel-code-generator: Improper Control of Generation of Code

    CVE-2026-127208Datamodel-code-generator

    datamodel-code-generator before 0.84.0 contains a code injection vulnerability that allows attackers to achieve arbitrary code execution by supplying a malicious JSON Schema with a crafted x-python-type annotation containing a string ast.Constant node in a sub

  • 7.8 High severity

    Telerik UI for WPF: Improper Control of Generation of Code

    CVE-2026-124703Progress Software

    In Telerik UI for WPF, versions prior to 2026.4.1110, an improper control of code generation vulnerability exists that allows an attacker to execute unauthorized code in the context of the affected application.

  • 7.8 High severity

    Telerik UI for WinForms: Improper Control of Generation of Code

    CVE-2026-124699Progress Software

    In Telerik UI for WinForms, versions prior to 2026.4.1111, an improper control of code generation vulnerability exists that allows an attacker to supply a crafted expression and execute unauthorized code in the context of the affected application.

  • 8.8 High severity

    heym: Improper Control of Generation of Code

    CVE-2026-67546Heymrun

    Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to version 0.0.75, the same POST /api/mcp/fetch-tools endpoint (any authenticated user, lowest role) also accepts the stdio transport, which spawns the a

  • 8.8 High severity

    heym: Improper Control of Generation of Code

    CVE-2026-67544Heymrun

    Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to version 0.0.71, Heym's workflow engine accepts an arbitrary Python code string in the playwrightCode field of a Playwright node. This string is writte

  • 8.8 High severity

    heym: Improper Control of Generation of Code

    CVE-2026-67543Heymrun

    Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to version 0.0.70, heym hardens one untrusted-code path but not its sibling. The Python tool executor (python_tool_executor.py) treats user code as untru

  • 7.2 High severity

    XClarity Integrator for WAC: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-65949Lenovo

    Improper neutralization of special elements used in an OS command in Lenovo XClarity Integrator for Microsoft Windows Admin Center 5.1.1 and 5.2.0 allows an authenticated remote attacker to execute arbitrary PowerShell commands by submitting a crafted hostname

  • 7.2 High severity

    FortiManager: Improper Control of Generation of Code

    CVE-2026-126185Fortinet

    A improper control of generation of code ('code injection') vulnerability in Fortinet FortiAnalyzer 8.0.0 through 8.0.1, FortiAnalyzer 7.6.0 through 7.6.7, FortiAnalyzer 7.4.0 through 7.4.11, FortiAnalyzer Cloud 8.0.0 through 8.0.1, FortiAnalyzer Cloud 7.6.0 t

  • 7.2 High severity

    FortiManager: Improper Control of Generation of Code

    CVE-2026-126182Fortinet

    A improper control of generation of code ('code injection') vulnerability in Fortinet FortiManager 8.0.0 through 8.0.1, FortiManager 7.6.0 through 7.6.7, FortiManager 7.4.0 through 7.4.11, FortiManager 7.2.0 through 7.2.12, FortiManager Cloud 8.0.0 through 8.0

  • 8.2 High severity

    @tinacms/mdx: Improper Control of Generation of Code

    CVE-2026-126774Tinacms

    @tinacms/mdx before 2.4.2 contains a code injection vulnerability in its MDX serializer, which writes rich-text values into MDX expressions without escaping them. Authenticated content editors can save crafted values that break out of list field or highlightCo

  • 8.7 High severity

    aeon: Improper Control of Generation of Code

    CVE-2026-65820Aeon-toolkit

    aeon is a scikit-learn compatible Python library for learning from time series. Prior to version 1.5.0, a GitHub Actions workflow used pull_request_target for pre-commit checks on pull requests from forks. In this configuration, fork-controlled code could be c

  • 10.0 Critical severity

    STAGGS: Improper Control of Generation of Code

    CVE-2026-78287Staggs

    Improper Control of Generation of Code ('Code Injection') vulnerability in Staggs STAGGS staggs allows Remote Code Inclusion.This issue affects STAGGS: from n/a through 3.3.0.

  • 9.9 Critical severity

    Adobe Connect: Improper Control of Generation of Code

    CVE-2026-121892AdobeEPSS 1.24%

    Adobe Connect is affected by an Improper Control of Generation of Code ('Code Injection') vulnerability that could result in arbitrary code execution in the context of the current user. A low-privileged attacker could exploit this vulnerability to execute arbi

  • 9.9 Critical severity

    Adobe Experience Manager as a Cloud Service: Improper Control of Generation of Code

    CVE-2026-113580AdobeEPSS 1.27%

    Adobe Experience Manager is affected by an Improper Control of Generation of Code ('Code Injection') vulnerability that could result in arbitrary code execution in the context of the current user. A low-privileged attacker could exploit this vulnerability to e

  • 9.9 Critical severity

    Adobe Experience Manager as a Cloud Service: Improper Control of Generation of Code

    CVE-2026-113579AdobeEPSS 1.27%

    Adobe Experience Manager is affected by an Improper Control of Generation of Code ('Code Injection') vulnerability that could result in arbitrary code execution in the context of the current user. A low-privileged attacker could exploit this vulnerability to e

  • 8.1 High severity

    Microsoft Teams for Android: Improper Control of Generation of Code

    CVE-2026-122979Microsoft

    Improper control of generation of code ('code injection') in Microsoft Teams for Android allows an unauthorized attacker to perform spoofing over a network.

  • 9.4 Critical severity

    groupoffice: Improper Control of Generation of Code

    CVE-2026-63011Intermesh

    Group-Office is an enterprise customer relationship management and groupware tool. Prior to versions 6.8.167, 25.0.102, and 26.0.27, the Contact/labels JMAP endpoint in GroupOffice accepts a fully attacker-controlled template string (tpl parameter) that is pas

  • 8.2 High severity

    ROS#: Improper Control of Generation of Code

    CVE-2026-109097Siemens

    A vulnerability has been identified in ROS# (All versions < V2.3.1). Affected systems do not properly escape text of message definition files. This could allow an attacker that is able to pass a crafted message definition file to the user to inject arbitrary c

  • 7.2 High severity

    SAP ABAP Developer Tools (AMDP Data Preview): Improper Control of Generation of Code

    CVE-2026-120009SAP

    SAP ABAP Developer Tools (AMDP Data Preview) does not perform sufficient validation and authorization checks within certain affected functionality. An attacker with high privileges could submit specially crafted input to inject and execute arbitrary code on th

  • 9.9 Critical severity

    SAP NetWeaver Knowledge Management (XML Forms): Improper Control of Generation of Code

    CVE-2026-109803SAP

    SAP NetWeaver Knowledge Management (XML Forms) does not sufficiently restrict the selection of XSL transformations processed by the affected functionality. Under certain conditions, an authenticated user with access to the affected functionality could cause an

  • 9.9 Critical severity

    S4CRM: Improper Control of Generation of Code

    CVE-2026-109795SAP

    SAP NetWeaver does not perform necessary authorization checks and lacks sufficient input validation in certain remote-enabled functionality. An attacker with low privileges could send specially crafted input through a remote interface to inject and execute arb

  • 10.0 Critical severity

    Confection WordPress Cable: Improper Control of Generation of Code

    CVE-2026-115252Confection WordPress Cable

    The Confection WordPress Cable WordPress plugin from 0.4.0 to 0.4.7 does not perform any capability or nonce checks before saving its settings and writing one of them, unmodified, into a standalone PHP file that it then serves, allowing unauthenticated users t

  • 8.8 High severity

    TRIRIGA Application Platform: Improper Control of Generation of Code

    CVE-2026-110273IBM

    IBM TRIRIGA Application Platform 5.0.0 through 5.0.9 IBM TRIRIGA could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in an OS command.

  • 7.4 High severity

    flow-core-x: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-124328FlowCI

    A vulnerability has been found in FlowCI flow-core-x up to 1.23.49. The affected element is the function ConditionManagerImpl.run of the file core/src/main/java/com/flowci/core/common/manager/ConditionManagerImpl.java of the component Groovy Script Evaluation.

  • 9.1 Critical severity

    Red Hat Build of Keycloak: Improper Control of Generation of Code

    CVE-2026-120984Red Hat

    A flaw was found in the Keycloak server's client management component. When a client is created or imported with authorization services enabled, the system fails to properly clear an internal session attribute used during the setup process. This allows an auth

  • 9.0 Critical severity

    Fiber Admin: Improper Control of Generation of Code

    CVE-2026-121491Fiber Admin

    The Fiber Admin WordPress plugin before 4.0.1 does not validate or escape a request header before writing it into a PHP file it regenerates on an unprotected admin hook, allowing unauthenticated attackers to execute arbitrary code when its custom database erro

  • 9.9 Critical severity

    API Connect: Improper Control of Generation of Code

    CVE-2026-17359IBM

    IBM API Connect 10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of generation of code. A user-supplied value can influence code that the product generates, w

  • 9.9 Critical severity

    API Connect: Improper Control of Generation of Code

    CVE-2026-17342IBM

    IBM API Connect 10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of generation of code.

  • 8.8 High severity

    API Connect: Improper Control of Generation of Code

    CVE-2026-17140IBM

    IBM API Connect 10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of generation of code. Input supplied by a user can influence code generated by the product,

  • 7.5 High severity

    API Connect: Improper Control of Generation of Code

    CVE-2026-105002IBM

    IBM API Connect 10.0.8.0 through 10.0.8.12 and 12.1.0.0 through 12.1.1.2 could allow arbitrary code to be executed by the management service in certain non-default configurations due to improper control of generation of code. Customization content may be evalu

  • 9.8 Critical severity

    Printcart Store – Web to Print Product…: Improper Control of Generation of Code

    CVE-2026-19803Printcart

    The Printcart Store – Web to Print Product Designer for WooCommerce plugin for WordPress is vulnerable to Arbitrary File Upload in all versions up to, and including, 2.13.2. This is due to the `nbu_crop_image` AJAX handler accepting a user-supplied `url` param

  • 9.4 Critical severity

    jupyterlab-desktop: Improper Neutralization of Input During Web Page Generation

    CVE-2026-102530Jupyterlab

    JupyterLab Desktop is the cross-platform desktop application for JupyterLab. Prior to 4.6.2-1, remote-server URLs were inserted into the server-selection dialog and Welcome view without safe encoding. An attacker who convinces a user to submit a crafted URL ca

  • 8.3 High severity

    Internet of Agents: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-123675OpenBMB

    A flaw has been found in OpenBMB Internet of Agents up to 9d78e88e47160eb42ee1ee8538c05e1c2c47877a. This affects the function execute_code of the file im_client/agents/tools/code_executor.py of the component Code Executor Tool. This manipulation of the argumen

  • 7.2 High severity

    Product Feed Manager for WooCommerce – CTX…: Improper Control of Generation of Code

    CVE-2026-87964Wahid0003

    The Product Feed Manager for WooCommerce – CTX Feed – Support 220+ Shopping, AI & Social Channels plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 8.0.26. This is due to insufficient sanitization of the `feedConfig

  • 9.8 Critical severity

    Static Snapshot: Improper Control of Generation of Code

    CVE-2026-116533Static Snapshot

    The Static Snapshot WordPress plugin through 0.2.1 does not sanitise shell metacharacters in a user-supplied value before concatenating it into operating-system commands run by the server, allowing unauthenticated attackers to execute arbitrary commands on the

  • 8.8 High severity

    freeswitch: Improper Neutralization of Special Elements used in a Command

    CVE-2026-116786Signalwire

    FreeSWITCH is a Software Defined Telecom Stack enabling the digital transformation from proprietary telecom switches to a software implementation that runs on any commodity hardware. Prior to 1.11.2, sofia_handle_sip_i_refer() placed raw Refer-To URI parameter