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.8 Critical severity

    kedro: Improper Control of Generation of Code

    CVE-2026-35171Kedro-org

    Kedro is a toolbox for production-ready data science. Prior to 1.3.0, Kedro allows the logging configuration file path to be set via the KEDRO_LOGGING_CONFIG environment variable and loads it without validation. The logging configuration schema supports the sp

  • 7.2 High severity

    glpi: Improper Control of Generation of Code

    CVE-2026-26026GLPI ProjectEPSS 12%

    GLPI is a free asset and IT management software package. From 11.0.0 to before 11.0.6, template injection by an administrator lead to RCE. This vulnerability is fixed in 11.0.6.

  • 7.3 High severity

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

    CVE-2026-5631Assafelovic

    A vulnerability has been found in assafelovic gpt-researcher up to 3.4.3. This affects the function extract_command_data of the file backend/server/server_utils.py of the component ws Endpoint. Such manipulation of the argument args leads to code injection. Th

  • 9.8 Critical severity

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

    CVE-2026-5584Fosowl

    A vulnerability has been found in Fosowl agenticSeek 0.1.0. Impacted is the function PyInterpreter.execute of the file sources/tools/PyInterpreter.py of the component query Endpoint. Such manipulation leads to code injection. The attack can be launched remotel

  • 9.8 Critical severity

    kafka-ui: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-5562ProvectusEPSS 2.58%

    A vulnerability was identified in provectus kafka-ui up to 0.7.2. This impacts the function validateAccess of the file /api/smartfilters/testexecutions of the component Endpoint. The manipulation leads to code injection. The attack can be initiated remotely. T

  • 8.7 High severity

    RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine.

    CVE-2026-28797InfiniFlow

    RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. In versions 0.24.0 and prior, a Server-Side Template Injection (SSTI) vulnerability exists in RAGFlow's Agent workflow Text Processing (StringTransform) and Message components. These compon

  • 8.2 High severity

    dbgate: Improper Neutralization of Input During Web Page Generation

    CVE-2026-34725DbGate

    DbGate is cross-platform database manager. From version 7.0.0 to before version 7.1.5, a stored XSS vulnerability exists in DbGate because attacker-controlled SVG icon strings are rendered as raw HTML without sanitization. In the web UI this allows script exec

  • 7.2 High severity

    Spam Protect for Contact Form 7: Improper Control of Generation of Code

    CVE-2026-1540Spam Protect for Contact Form 7

    The Spam Protect for Contact Form 7 WordPress plugin before 1.2.10 allows logging to a PHP file, which could allow an attacker with editor access to achieve Remote Code Execution by using a crafted header

  • 9.8 Critical severity

    Jeecg Boot: Improper Control of Generation of Code

    CVE-2024-40489Jeecg

    There is an injection vulnerability in jeecg boot versions 3.0.0 to 3.5.3 due to lax character filtering, which allows attackers to execute arbitrary code on components through specially crafted HTTP requests.

  • 8.8 High severity

    Red Hat Enterprise Linux 10: Improper Control of Generation of Code

    CVE-2026-35093Red Hat

    A flaw was found in libinput. A local attacker who can place a specially crafted Lua bytecode file in certain system or user configuration directories can bypass security restrictions. This allows the attacker to run unauthorized code with the same permissions

  • 9.8 Critical severity

    MetInfo CMS: Improper Control of Generation of Code

    CVE-2026-29014MetInfo CMSEPSS 39.5%

    MetInfo CMS versions 7.9, 8.0, and 8.1 contain an unauthenticated PHP code injection vulnerability that allows remote attackers to execute arbitrary code by sending crafted requests with malicious PHP code. Attackers can exploit insufficient input neutralizati

  • 7.2 High severity

    XenForo: Improper Control of Generation of Code

    CVE-2026-35056XenForo

    XenForo before 2.3.9 and before 2.2.18 allows remote code execution (RCE) by authenticated, but malicious, admin users. An attacker with admin panel access can execute arbitrary code on the server.

  • 9.8 Critical severity

    XenForo: Improper Control of Generation of Code

    CVE-2025-71281XenForo

    XenForo before 2.3.7 does not properly restrict methods callable from within templates. A loose prefix match was used instead of a stricter first-word match for methods accessible through callbacks and variable method calls in templates, potentially allowing u

  • 8.2 High severity

    siyuan: Improper Neutralization of Input During Web Page Generation

    CVE-2026-34585Siyuan-note

    SiYuan is a personal knowledge management system. Prior to version 3.6.2, a vulnerability allows crafted block attribute values to bypass server-side attribute escaping when an HTML entity is mixed with raw special characters. An attacker can embed a malicious

  • 9.0 Critical severity

    siyuan: Improper Neutralization of Input During Web Page Generation

    CVE-2026-34448Siyuan-note

    SiYuan is a personal knowledge management system. Prior to version 3.6.2, an attacker who can place a malicious URL in an Attribute View mAsse field can trigger stored XSS when a victim opens the Gallery or Kanban view with “Cover From -> Asset Field” enabled.

  • 9.8 Critical severity

    lodash: Improper Control of Generation of Code

    CVE-2026-4800LodashEPSS 2.81%

    The fix for CVE-2021-23337 added validation for the variable option in _.template but did not apply the same validation to options.imports key names, and both paths flow into the same Function() constructor sink. When an application passes untrusted input as o

  • 7.5 High severity

    zebra: Deserialization of Untrusted Data

    CVE-2026-34202ZcashFoundation

    ZEBRA is a Zcash node written entirely in Rust. Prior to zebrad version 4.3.0 and zebra-chain version 6.0.1, a vulnerability in Zebra's transaction processing logic allows a remote, unauthenticated attacker to cause a Zebra node to panic (crash). This is trigg

  • 7.1 High severity

    ruby-lsp: Improper Control of Generation of Code

    CVE-2026-34060Shopify

    Ruby LSP is an implementation of the language server protocol for Ruby. Prior to Shopify.ruby-lsp version 0.10.2 and ruby-lsp version 0.26.9, the rubyLsp.branch VS Code workspace setting was interpolated without sanitization into a generated Gemfile, allowing

  • 9.8 Critical severity

    Everest Forms Pro: Improper Control of Generation of Code

    CVE-2026-3300WpeverestEPSS 39.2%

    The Everest Forms Pro plugin for WordPress is vulnerable to Remote Code Execution via PHP Code Injection in all versions up to, and including, 1.9.12. This is due to the Calculation Addon's process_filter() function concatenating user-submitted form field valu

  • 9.8 Critical severity

    Contact Form by Supsystic: Improper Control of Generation of Code

    CVE-2026-4257SupsysticcomEPSS 41.5%

    The Contact Form by Supsystic plugin for WordPress is vulnerable to Server-Side Template Injection (SSTI) leading to Remote Code Execution (RCE) in all versions up to, and including, 1.7.36. This is due to the plugin using the Twig `Twig_Loader_String` templat

  • 9.8 Critical severity

    Cline: Improper Control of Generation of Code

    CVE-2026-30313ClineEPSS 1.19%

    DSAI-Cline's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on string-based parsing to validate commands; while it intercepts dangerous

  • 9.8 Critical severity

    Hai Build: Improper Control of Generation of Code

    CVE-2026-30308Presidio

    In its design for automatic terminal command execution, HAI Build Code Generator offers two options: Execute safe commands and Execute all commands. The description for the former states that commands determined by the model to be safe will be automatically ex

  • 9.8 Critical severity

    Sakadev: Improper Control of Generation of Code

    CVE-2026-30306Rahmanazhar

    In its design for automatic terminal command execution, SakaDev offers two options: Execute safe commands and execute all commands. The description for the former states that commands determined by the model to be safe will be automatically executed, whereas i

  • 9.8 Critical severity

    Roo Code: Improper Control of Generation of Code

    CVE-2026-30307RoocodeEPSS 1.19%

    Roo Code's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts

  • 9.8 Critical severity

    Syntx: Improper Control of Generation of Code

    CVE-2026-30305OrangecatEPSS 1.19%

    Syntx's command auto-approval module contains a critical OS command injection vulnerability that renders its whitelist security mechanism completely ineffective. The system relies on fragile regular expressions to parse command structures; while it attempts to

  • 10.0 Critical severity

    Tautulli: Improper Control of Generation of Code

    CVE-2026-28505Tautulli

    Tautulli is a Python based monitoring and tracking tool for Plex Media Server. Prior to version 2.17.0, the str_eval() function in notification_handler.py implements a sandboxed eval() for notification text templates. The sandbox attempts to restrict callable

  • 7.3 High severity

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

    CVE-2026-4998Sinaptik AI

    A weakness has been identified in Sinaptik AI PandasAI up to 3.0.0. This vulnerability affects the function CodeExecutor.execute of the file pandasai/core/code_execution/code_executor.py of the component Chat Message Handler. Executing a manipulation can lead

  • 9.6 Critical severity

    Notesnook Web/Desktop: Improper Neutralization of Input During Web Page Generation

    CVE-2026-33976Streetwriters

    Notesnook is a note-taking app. Prior to version 3.3.11 on Web/Desktop and 3.3.17 on Android/iOS, a stored XSS in the Web Clipper rendering flow can be escalated to remote code execution in the desktop app. The root cause is that the clipper preserves attacker

  • 8.6 High severity

    Notesnook Web/Desktop: Improper Neutralization of Input During Web Page Generation

    CVE-2026-33955Streetwriters

    Notesnook is a note-taking app. Prior to version 3.3.11 on Web/Desktop, a cross-site scripting vulnerability stored in the note history comparison viewer can escalate to remote code execution in a desktop application. The issue is triggered when an attacker-co

  • 9.8 Critical severity

    happy-dom: Improper Control of Generation of Code

    CVE-2026-33943Capricorn86

    Happy DOM is a JavaScript implementation of a web browser without its graphical user interface. In versions 15.10.0 through 20.8.7, a code injection vulnerability in `ECMAScriptModuleCompiler` allows an attacker to achieve Remote Code Execution (RCE) by inject

  • 8.2 High severity

    handlebars.js: Improper Neutralization of Input During Web Page Generation

    CVE-2026-33941Handlebars-lang

    Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, the Handlebars CLI precompiler (`bin/handlebars` / `lib/precompiler.js`) concatenates user-controlled strings — template file names and several CLI

  • 8.1 High severity

    handlebars.js: Improper Control of Generation of Code

    CVE-2026-33940Handlebars-lang

    Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, a crafted object placed in the template context can bypass all conditional guards in `resolvePartial()` and cause `invokePartial()` to return `undef

  • 8.1 High severity

    handlebars.js: Improper Control of Generation of Code

    CVE-2026-33938Handlebars-lang

    Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, the `@partial-block` special variable is stored in the template data context and is reachable and mutable from within a template via helpers that ac

  • 9.8 Critical severity

    handlebars.js: Improper Control of Generation of Code

    CVE-2026-33937Handlebars-langEPSS 1.95%

    Handlebars provides the power necessary to let users build semantic templates. In versions 4.0.0 through 4.7.8, `Handlebars.compile()` accepts a pre-parsed AST object in addition to a template string. The `value` field of a `NumberLiteral` AST node is emitted

  • 7.2 High severity

    windmill: Improper Control of Generation of Code

    CVE-2026-33881Windmill Labs

    Windmill is an open-source developer platform for internal code: APIs, background jobs, workflows and UIs. Workspace environment variable values are interpolated into JavaScript string literals without escaping single quotes in the NativeTS executor. A workspa

  • 9.9 Critical severity

    langflow: Improper Control of Generation of Code

    CVE-2026-33873Langflow-aiEPSS 1.48%

    Langflow is a tool for building and deploying AI-powered agents and workflows. Prior to version 1.9.0, the Agentic Assistant feature in Langflow executes LLM-generated Python code during its validation phase. Although this phase appears intended to validate ge

  • 9.8 Critical severity

    nanobot: Improper Control of Generation of Code

    CVE-2026-33654HKUDS

    nanobot is a personal AI assistant. Prior to version 0.1.6, an indirect prompt injection vulnerability exists in the email channel processing module (`nanobot/channels/email.py`), allowing a remote, unauthenticated attacker to execute arbitrary LLM instruction

  • 9.8 Critical severity

    letta: Improper Control of Generation of Code

    CVE-2026-4965Letta-ai

    A vulnerability was detected in letta-ai letta 0.16.4. This issue affects the function resolve_type of the file letta/functions/ast_parsers.py of the component Incomplete Fix CVE-2025-6101. Performing a manipulation results in improper neutralization of direct

  • 10.0 Critical severity

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

    CVE-2026-4963Huggingface

    A weakness has been identified in huggingface smolagents 1.25.0.dev0. This affects the function evaluate_augassign/evaluate_call/evaluate_with of the file src/smolagents/local_python_executor.py of the component Incomplete Fix CVE-2025-9959. This manipulation

  • 7.2 High severity

    wazuh-agent: Improper Control of Generation of Code

    CVE-2025-15616WazuhEPSS 1.73%

    Wazuh wazuh-agent and wazuh-manager versions 2.1.0 before 4.8.0 contain multiple shell injection and untrusted search path vulnerabilities that allow attackers to execute arbitrary commands through various components including logcollector configuration, maild