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

  • 9.1 Critical severity

    Software Appliance: Improper Control of Generation of Code

    CVE-2026-21671VeeamEPSS 1.46%

    A vulnerability allowing an authenticated user with the Backup Administrator role to perform remote code execution (RCE) in high availability (HA) deployments of Veeam Backup & Replication.

  • 8.8 High severity

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

    CVE-2026-4039OpenClaw

    A vulnerability was determined in OpenClaw 2026.2.19-2. This vulnerability affects the function applySkillConfigenvOverrides of the component Skill Env Handler. Executing a manipulation can lead to code injection. It is possible to launch the attack remotely.

  • 8.8 High severity

    claudecodeui: Improper Control of Generation of Code

    CVE-2026-31861SiteboonEPSS 6.85%

    Cloud CLI (aka Claude Code UI) is a desktop and mobile UI for Claude Code, Cursor CLI, Codex, and Gemini-CLI. Prior to 1.24.0, The /api/user/git-config endpoint constructs shell commands by interpolating user-supplied gitName and gitEmail values into command s

  • 8.8 High severity

    cms: Improper Control of Generation of Code

    CVE-2026-31857Craft CMSEPSS 1.12%

    Craft is a content management system (CMS). Prior to 5.9.9 and 4.17.4, a Remote Code Execution vulnerability exists in the Craft CMS 5 conditions system. The BaseElementSelectConditionRule::getElementIds() method passes user-controlled string input through ren

  • 7.2 High severity

    EDS5000 series: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-67037Lantronix

    An issue was discovered in Lantronix EDS5000 2.1.0.0R3. An authenticated attacker can inject OS commands into the "tunnel" parameter when killing a tunnel connection. Injected commands are executed with root privileges.

  • 7.2 High severity

    EDS5000 series: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-67036Lantronix

    An issue was discovered in Lantronix EDS5000 2.1.0.0R3. The Log Info page allows users to see log files by specifying their names. Due to a missing sanitization in the file name parameter, an authenticated attacker can inject arbitrary OS commands that are exe

  • 7.2 High severity

    EDS5000 series: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-67035Lantronix

    An issue was discovered in Lantronix EDS5000 2.1.0.0R3. The SSH Client and SSH Server pages are affected by multiple OS injection vulnerabilities due to missing sanitization of input parameters. An attacker can inject arbitrary commands in delete actions of va

  • 7.2 High severity

    EDS5000 series: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-67034Lantronix

    An issue was discovered in Lantronix EDS5000 2.1.0.0R3. An authenticated attacker can inject OS commands into the "name" parameter when deleting SSL credentials through the management interface. Injected commands are executed with root privileges.

  • 9.8 Critical severity

    Openclaw: Improper Control of Generation of Code

    CVE-2026-30741OpenClaw

    A remote code execution (RCE) vulnerability in OpenClaw Agent Platform v2026.2.6 allows attackers to execute arbitrary code via a Request-Side prompt injection attack.

  • 8.6 High severity

    MR-GM5L-S1: Improper Control of Generation of Code

    CVE-2026-20892Micro Research

    Code injection vulnerability exists in MR-GM5L-S1 and MR-GM5A-L1, which may allow an attacker with administrative privileges to execute arbitrary commands.

  • 9.4 Critical severity

    rssn: Improper Control of Generation of Code

    CVE-2026-30960Apich-Organization

    rssn is a scientific computing library for Rust, combining a high-performance symbolic computation engine with numerical methods support and physics simulations functionalities. The vulnerability exists in the JIT (Just-In-Time) compilation engine, which is fu

  • 8.2 High severity

    EcoStruxure™ Automation Expert: Improper Control of Generation of Code

    CVE-2026-2273Schneider Electric

    CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability exist that could cause execution of untrusted commands on the engineering workstation which could result in a limited compromise of the workstation and a potential loss of Confiden

  • 9.9 Critical severity

    oneuptime: Improper Control of Generation of Code

    CVE-2026-30887OneUptime

    OneUptime is a solution for monitoring and managing online services. Prior to 10.0.18, OneUptime allows project members to run custom Playwright/JavaScript code via Synthetic Monitors to test websites. However, the system executes this untrusted user code insi

  • 7.2 High severity

    Easy PHP Settings: Improper Control of Generation of Code

    CVE-2026-3352Shahadul878

    The Easy PHP Settings plugin for WordPress is vulnerable to PHP Code Injection in all versions up to, and including, 1.0.4 via the `update_wp_memory_constants()` method. This is due to insufficient input validation on the `wp_memory_limit` and `wp_max_memory_l

  • 8.1 High severity

    locutus: Improper Neutralization of Directives in Dynamically Evaluated Code

    CVE-2026-29091Locutusjs

    Locutus brings stdlibs of other programming languages to JavaScript for educational purposes. Prior to version 3.0.0, a remote code execution (RCE) flaw was discovered in the locutus project, specifically within the call_user_func_array function implementation

  • 9.8 Critical severity

    mesa: Improper Control of Generation of Code

    CVE-2026-29075Mesa

    Mesa is an open-source Python library for agent-based modeling, simulating complex systems and exploring emergent behaviors. In version 3.5.0 and prior, checking out of untrusted code in benchmarks.yml workflow may lead to code execution in privileged runner.

  • 7.5 High severity

    changedetection.io: Improper Control of Generation of Code

    CVE-2026-29039Dgtlmoon

    changedetection.io is a free open source web page change detection tool. Prior to version 0.54.4, the changedetection.io application allows users to specify XPath expressions as content filters via the include_filters field. These XPath expressions are process

  • 7.8 High severity

    NatroMacro: Improper Control of Generation of Code

    CVE-2026-28801NatroTeam

    Natro Macro is an open-source Bee Swarm Simulator macro written in AutoHotkey. Prior to version 1.1.0, any ahk code contained inside of a pattern or path file is executed by the macro. Since users commonly share path/pattern files, an attacker could share a fi

  • 8.8 High severity

    chartbrew: Improper Control of Generation of Code

    CVE-2026-25888Chartbrew

    Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to version 4.8.1, there is a remote code execution vulnerability via a vulnerable API. This issue has been patched in version 4

  • 7.2 High severity

    chartbrew: Improper Control of Generation of Code

    CVE-2026-25887Chartbrew

    Chartbrew is an open-source web application that can connect directly to databases and APIs and use the data to create charts. Prior to version 4.8.1, there is a remote code execution vulnerability via the MongoDB dataset Query. This issue has been patched in

  • 8.5 High severity

    JetEngine: Improper Control of Generation of Code

    CVE-2026-28134CrocoBlock

    Improper Control of Generation of Code ('Code Injection') vulnerability in Crocoblock JetEngine jet-engine allows Remote Code Inclusion.This issue affects JetEngine: from n/a through <= 3.7.2.

  • 9.0 Critical severity

    Widget Options: Improper Control of Generation of Code

    CVE-2026-27984Marketing Fire

    Improper Control of Generation of Code ('Code Injection') vulnerability in Marketing Fire Widget Options widget-options allows Code Injection.This issue affects Widget Options: from n/a through <= 4.1.3.

  • 9.9 Critical severity

    Builderall Builder for WordPress: Improper Control of Generation of Code

    CVE-2026-22390Builderall

    Improper Control of Generation of Code ('Code Injection') vulnerability in Builderall Builderall Builder for WordPress builderall-cheetah-for-wp allows Code Injection.This issue affects Builderall Builder for WordPress: from n/a through <= 3.0.1.

  • 9.1 Critical severity

    cms: Improper Control of Generation of Code

    CVE-2026-28783Craft CMS

    Craft is a content management system (CMS). Prior to 5.9.0-beta.1 and 4.17.0-beta.1, Craft CMS implements a blocklist to prevent potentially dangerous PHP functions from being called via Twig non-Closure arrow functions. In order to be able to successfully exe

  • 8.1 High severity

    HPE Aruba Networking Wireless Operating System…: Improper Control of Generation of Code

    CVE-2026-23808Hewlett Packard Enterprise

    A vulnerability has been identified in a standardized wireless roaming protocol that could enable a malicious actor to install an attacker-controlled Group Temporal Key (GTK) on a client device. Successful exploitation of this vulnerability could allow a remot

  • 8.8 High severity

    Easyweb: Improper Control of Generation of Code

    CVE-2024-55022WeintekEPSS 1.49%

    Weintek cMT-3072XH2 easyweb v2.1.53, OS v20231011 was discovered to contain an authenticated command injection vulnerability via the HMI Name parameter.

  • 8.8 High severity

    Impact Mobile: Improper Control of Generation of Code

    CVE-2023-31044Nokia

    An issue was discovered in Nokia Impact before Mobile 23_FP1. In Impact DM 19.11 onwards, a remote authenticated user, using the Add Campaign functionality, can inject a malicious payload within the Campaign Name. This data can be exported to a CSV file. Attac

  • 9.8 Critical severity

    Apache Ranger: Improper Control of Generation of Code

    CVE-2025-59059ApacheEPSS 1.38%

    Remote Code Execution Vulnerability in NashornScriptEngineCreator is reported in Apache Ranger versions <= 2.7.0. Users are recommended to upgrade to version 2.8.0, which fixes this issue.

  • 8.8 High severity

    AFFiNE: Improper Control of Generation of Code

    CVE-2026-21853Toeverything

    AFFiNE is an open-source, all-in-one workspace and an operating system. Prior to version 0.25.4, there is a one-click remote code execution vulnerability. This vulnerability can be exploited by embedding a specially crafted affine: URL on a website. An attacke

  • 8.8 High severity

    Master Addons for Elementor Premium: Improper Control of Generation of Code

    CVE-2026-3132Jewel Theme

    The Master Addons for Elementor Premium plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.1.3 via the 'JLTMA_Widget_Admin::render_preview'. This is due to missing capability check. This makes it possible for au

  • 9.8 Critical severity

    Ac15 Firmware: Improper Control of Generation of Code

    CVE-2026-24105TendaEPSS 1.98%

    An issue was discovered in goform/formsetUsbUnload in Tenda AC15V1.0 V15.03.05.18_multi. The value of `v1` was not checked, potentially leading to a command injection vulnerability if injected into doSystemCmd.

  • 9.8 Critical severity

    W20e Firmware: Improper Control of Generation of Code

    CVE-2026-24107TendaEPSS 2.46%

    An issue was discovered in Tenda W20E V4.0br_V15.11.0.6. Failure to validate the value of `usbPartitionName`, which is directly used in `doSystemCmd`, may lead to critical command injection vulnerabilities.

  • 7.3 High severity

    db-gpt: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-3409Eosphoros-ai

    A security flaw has been discovered in eosphoros-ai db-gpt 0.7.5. Affected is the function importlib.machinery.SourceFileLoader.exec_module of the file /api/v1/serve/awel/flow/import of the component Flow Import Endpoint. Performing a manipulation as part of F

  • 9.8 Critical severity

    CMS: Improper Control of Generation of Code

    CVE-2026-3395MaxSiteEPSS 4.02%

    A flaw has been found in MaxSite CMS up to 109.1. This impacts the function eval of the file application/maxsite/admin/plugins/editor_markitup/preview-ajax.php of the component MarkItUp Preview AJAX Endpoint. Executing a manipulation can lead to code injection

  • 8.0 High severity

    cms: Improper Control of Generation of Code

    CVE-2026-28425Statamic

    Statmatic is a Laravel and Git powered content management system (CMS). Prior to versions 5.73.16 and 6.7.2, an authenticated control panel user with access to Antlers-enabled inputs may be able to achieve remote code execution in the application context. That

  • 9.8 Critical severity

    Frick Controls Quantum HD: Improper Control of Generation of Code

    CVE-2026-21658Johnson Controls

    Unauthenticated Remote Code Execution i.e Improper Control of Generation of Code ('Code Injection') vulnerability in Johnson Controls Frick Controls Quantum HD allows Code Injection. Insufficient validation of input in certain parameters may permit unexpected

  • 9.8 Critical severity

    Frick Controls Quantum HD: Improper Control of Generation of Code

    CVE-2026-21657Johnson Controls

    Improper Control of Generation of Code ('Code Injection') vulnerability in Johnson Controls Frick Controls Quantum HD allows Code Injection. Insufficient validation of input in certain parameters may permit unexpected actions, which could impact the security o

  • 9.8 Critical severity

    Frick Controls Quantum HD: Improper Control of Generation of Code

    CVE-2026-21656Johnson Controls

    Improper Control of Generation of Code ('Code Injection') vulnerability in Johnson Controls Frick Controls Quantum HD allows Code Injection. Insufficient validation of input in certain parameters may permit unexpected actions, which could impact the security o

  • 9.8 Critical severity

    langflow: Improper Control of Generation of Code

    CVE-2026-27966Langflow-aiEPSS 35.2%

    Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.8.0, the CSV Agent node in Langflow hardcodes `allow_dangerous_code=True`, which automatically exposes LangChain’s Python REPL tool (`python_repl_ast`). As a resu

  • 9.9 Critical severity

    agenta-api: Improper Control of Generation of Code

    CVE-2026-27952Agenta-AI

    Agenta is an open-source LLMOps platform. In Agenta-API prior to version 0.48.1, a Python sandbox escape vulnerability existed in Agenta's custom code evaluator. Agenta used RestrictedPython as a sandboxing mechanism for user-supplied evaluator code, but incor