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

    hydra: Improper Control of Generation of Code

    CVE-2026-106441Hydra-ecosystem

    Hydra is a framework for elegantly configuring complex applications. Prior to 1.3.6 and 1.4.0.dev9, Hydra passes Python logging configuration to logging.config.dictConfig() without applying Hydra's target policy to handler class values or formatter, filter, ha

  • 7.3 High severity

    Chrome: Improper Control of Generation of Code

    CVE-2026-106189Google

    Code injection in ReaderMode in Google Chrome on on iOS prior to 155.0.8059.39 allowed a remote attacker leveraging social engineering to bypass web origin policy via a crafted HTML page. (Chromium security severity: Medium)

  • 8.1 High severity

    payload: Improper Control of Generation of Code

    CVE-2026-105858PayloadCMS

    Payload is a free and open source headless content management system. In versions before 3.90.0 and canary versions before 4.0.0-canary.34, a crafted request to the public first-register operation can execute code remotely when local authentication is enabled

  • 10.0 Critical severity

    payload: Improper Control of Generation of Code

    CVE-2026-105857PayloadCMS

    Payload is a free and open source headless content management system. In @payloadcms/plugin-form-builder versions before 3.90.0 and canary versions before 4.0.0-canary.34, an attacker can craft a form submission that executes code remotely on the server. This

  • 8.4 High severity

    openapi-python-client: Improper Control of Generation of Code

    CVE-2026-105801Openapi-generators

    openapi-python-client generates Python clients from OpenAPI documents. Prior to 0.29.1, the generator does not safely neutralize malicious OpenAPI document content before rendering string, docstring, and f-string contexts in generated Python. The generated Pyt

  • 8.8 High severity

    kiota: Improper Control of Generation of Code

    CVE-2026-105796Microsoft

    Kiota is an OpenAPI based HTTP Client code generator. From 0.5.0 until 1.35.0, Kiota's Java and PHP documentation-comment sanitizers delete block-comment terminators rather than neutralizing them, allowing overlapping characters to reform a terminator and plac

  • 8.1 High severity

    smarty: Improper Control of Generation of Code

    CVE-2026-82531Smarty-php

    Smarty before 4.5.8 and 5.x before 5.8.5 contains a code injection vulnerability where the top-level nocache_hash is never restored during extends:/multi-component template inheritance, leaving it null. Attackers can supply assigned data containing a forged Sm

  • 7.7 High severity

    immich: Improper Control of Generation of Code

    CVE-2026-105764Immich-app

    Immich is a high-performance self-hosted photo and video management solution. Prior to 3.2.4, an authenticated non-admin user could upload SVG files that thumbnail-generation code in server/src/repositories/media.repository.ts passed to libvips. Files that byp

  • 7.2 High severity

    Ghost: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-105677TryGhost

    Ghost is a Node.js content management system. From 6.10.3 until 6.64.0, a vulnerability in how Ghost loads theme translation files allowed an authenticated Administrator to execute arbitrary code on the server via a crafted theme. This issue is fixed in versio

  • 8.8 High severity

    Ghost: Improper Control of Generation of Code

    CVE-2026-105642TryGhost

    Ghost is a Node.js content management system. From 6.56.0 until 6.67.0, an image processing library bundled with Ghost contained a vulnerability in its SVG handling. Any staff user, including Contributors, could create a bookmark card for an attacker-controlle

  • 7.8 High severity

    auto-changelog: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-12171Cookpete

    auto-changelog before 2.6.1 merges configuration from inside the target repository (the .auto-changelog file and the auto-changelog key in package.json) into its options, and honors security-sensitive options from that untrusted source. The handlebarsSetup opt

  • 8.4 High severity

    DigitalCanion SA has discovered a vulnerability that allows remote attackers to execute…

    CVE-2026-104811Mitel

    DigitalCanion SA has discovered a vulnerability that allows remote attackers to execute arbitrary code on affected installations of the product. Authentication may be required to exploit this vulnerability. The specific flaw exists within the Configuration → S

  • 10.0 Critical severity

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

    CVE-2026-105135InternLM

    A vulnerability has been found in InternLM MindSearch 0.1.0. This issue affects the function ExecutionAction.run of the file mindsearch/agent/graph.py of the component Planner Agent. The manipulation of the argument inputs leads to code injection. The attack c

  • 9.1 Critical severity

    Beaver Builder Page Builder – Drag and Drop…: Improper Control of Generation of Code

    CVE-2026-92084Beaverbuilder

    The The Beaver Builder Page Builder – Drag and Drop Website Builder plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 2.11.0.5. This is due to the software allowing users to execute an action that does no

  • 8.8 High severity

    Paid Membership Plugin, Ecommerce, User…: Improper Control of Generation of Code

    CVE-2026-92536Properfraction

    The Paid Membership Plugin, Ecommerce, User Registration Form, Login Form, User Profile & Restrict Content – ProfilePress plugin for WordPress is vulnerable to Sensitive Information Exposure in all versions up to, and including, 4.17.4 via the get_user_profile

  • 8.8 High severity

    filesystem_spec: Improper Control of Generation of Code

    CVE-2026-104851Fsspec

    fsspec is a specification and Python implementation framework for filesystem interfaces. From 0.9.0 until 2026.6.0, fsspec.implementations.reference.ReferenceFileSystem evaluates fields from Kerchunk reference JSON documents through unrestricted jinja2.Templat

  • 9.5 Critical severity

    tinypool: Improper Control of Generation of Code

    CVE-2026-104849Tinylibs

    Tinypool is a minimal Node.js worker thread pool implementation. Prior to 2.1.2, Tinypool reads filename from a caller-supplied options object in pool.run(task, options) without requiring an own property, so a polluted Object.prototype.filename can replace the

  • 7.2 High severity

    CTX Feed Pro: Improper Control of Generation of Code

    CVE-2026-10026CTX

    The CTX Feed Pro plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 7.6.12. This is due to insufficient input validation on the 'Feed Config' field which is passed directly to the eval() function. This makes it possible

  • 8.8 High severity

    Red Hat Satellite 6.16 for RHEL 8: Improper Control of Generation of Code

    CVE-2026-96658Red Hat

    A flaw was found in Foreman. This vulnerability allows an authenticated remote attacker with low-level read permissions to achieve arbitrary code execution on the underlying server. By manipulating the permitted methods list within the template rendering engin

  • 9.1 Critical severity

    Appointment Booking Plugin – LatePoint |…: Improper Control of Generation of Code

    CVE-2026-92966LatePoint

    The The Appointment Booking Plugin – LatePoint | Calendar & Scheduling for WordPress plugin for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 5.7.0. This is due to the software allowing users to execute an actio

  • 7.2 High severity

    Email Protection Gateway: Improper Control of Generation of Code

    CVE-2026-102131KiteworksEPSS 1.19%

    Kiteworks Email Protection Gateway rejected certain configuration settings, but its validation did not recognize every form in which they could be supplied. An authenticated administrator could potentially use an unrecognized form to have a file of their choos

  • 7.2 High severity

    Email Protection Gateway: Improper Control of Generation of Code

    CVE-2026-102130KiteworksEPSS 1.19%

    Kiteworks Email Protection Gateway did not sufficiently validate the content of an uploaded backup, and allowed an administrator to influence how the application loaded it. An authenticated administrator could potentially use this to execute arbitrary code on

  • 7.2 High severity

    Email Protection Gateway: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-102097KiteworksEPSS 2.17%

    Kiteworks Email Protection Gateway before version 9.5.0 is vulnerable to Remote Code Execution. Kiteworks Email Protection Gateway allowed an authenticated administrator to import configuration whose contents were not sufficiently validated before being proces

  • 10.0 Critical severity

    kobako: Improper Control of Generation of Code

    CVE-2026-55107Elct9620

    Kobako is a Ruby gem that embeds a Wasm-isolated mruby interpreter inside applications, allowing execution of untrusted Ruby scripts (LLM-generated code, user formulas, student submissions, third-party plugins) in-process without giving them access to host mem

  • 8.7 High severity

    Taskcluster is the task execution framework that supports Mozilla's continuous integration and…

    CVE-2026-55094Taskcluster

    Taskcluster is the task execution framework that supports Mozilla's continuous integration and release processes. Prior to version 100.3.0, Taskcluster is vulnerable to unauthenticated RCE on Taskcluster deployments with an anonymous role that exposes the Grap

  • 9.8 Critical severity

    Fireware OS: Improper Control of Generation of Code

    CVE-2026-86131WatchGuard

    A code injection vulnerability in WatchGuard Fireware OS's BOVPN Over TLS client configuration handling allows an attacker who controls the remote VPN server to execute arbitrary commands as root on the connecting Firebox.

  • 10.0 Critical severity

    Balbooa Forms extension for Joomla: Improper Control of Generation of Code

    CVE-2026-102425Balbooa.com

    Joomla Extension - balbooa.com - Unauthenticated RCE via field shortcode injection in Balbooa Forms < 2.4.3.4 - Balbooa Forms supports administrator-defined PHP code which runs after a public form submission. The feature also supports form-field shortcodes ins

  • 9.9 Critical severity

    GEOVIA Geospatial Data Manager: Improper Control of Generation of Code

    CVE-2026-84154Dassault Systèmes

    A Code Injection vulnerability affecting GEOVIA Geospatial Data Manager from Release 3DEXPERIENCE R2024x through Release 3DEXPERIENCE R2026x could allow an attacker to execute arbitrary code on the server.

  • 8.4 High severity

    Robot Operating System 2 (ROS 2): Improper Control of Generation of Code

    CVE-2024-42002Open Source Robotics Foundation

    A code injection vulnerability has been discovered in the Robot Operating System 2 (ROS 2) 'ros2topic' command-line tool, affecting all ROS 2 distributions from Crystal Clemmys up to and including Lyrical Luth and Rolling Ridley. The vulnerability lies in the

  • 8.8 High severity

    FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code…

    CVE-2026-54710FreePBX

    FreePBX is an open source IP PBX. Prior to versions 16.0.40 and 17.0.7, a critical remote code execution (RCE) vulnerability exists in the superfecta module due to unsafe inclusion of arbitrary PHP files, allowing authenticated attackers to execute arbitrary P

  • 8.8 High severity

    security-reporting: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-54708FreePBX

    FreePBX is an open source IP PBX. Prior to versions 16.0.72 and 17.0.7, a critical vulnerability exists in the FreePBX backup Module that allows authenticated attackers to execute arbitrary code on the server. Authentication with a known username that has suff

  • 8.1 High severity

    unsloth-zoo: Improper Control of Generation of Code

    CVE-2026-93348Unslothai

    Unsloth Zoo versions 2025.9.9 before 2026.8.14, as implemented in Unsloth 2025.9.9 through 2026.8.19, contains a code injection vulnerability in the model-loading compile path where the get_transformers_model_type() function in hf_utils.py collects model_type

  • 8.8 High severity

    Logsign SIEM: Improper Control of Generation of Code

    Improper Control of Generation of Code ('Code Injection') vulnerability in Innotim Software, Telecommunications and Consultancy Trade Ltd. Co. Logsign SIEM allows Code Injection. This issue affects Logsign SIEM: from 6.4.101 before 6.4.117.

  • 7.5 High severity

    Ad Inserter: Improper Control of Generation of Code

    CVE-2026-81655Ad Inserter

    The Ad Inserter WordPress plugin before 2.8.19 does not correctly restrict access to one of its settings pages, making it reachable by every logged in user under a configuration its own settings allow, and does not filter the content saved there, allowing user

  • 8.8 High severity

    heym: Improper Control of Generation of Code

    CVE-2026-100865Heymrun

    Heym before 0.0.53 evaluates workflow condition expressions using Python's eval() with insufficient sandboxing in the workflow executor service. Authenticated users can edit workflow condition nodes or import malicious templates to execute arbitrary Python and

  • 8.8 High severity

    heym: Improper Control of Generation of Code

    CVE-2026-100864Heymrun

    heym before 0.0.91 contains a sandbox escape vulnerability in the expression engine's DotList map/filter and fallback resolver that allows authenticated users to execute arbitrary Python code. Attackers can craft workflow expressions using dunder attribute acc

  • 8.0 High severity

    AzuraCast: Improper Control of Generation of Code

    CVE-2026-100857AzuraCast

    AzuraCast before 0.23.4 contains a code injection vulnerability in the ConfigWriter::cleanUpString() method that fails to sanitize Liquidsoap string interpolation sequences, allowing authenticated users with Media or Profile permissions to inject arbitrary Liq

  • 8.8 High severity

    AzuraCast: Improper Control of Generation of Code

    CVE-2026-100856AzuraCast

    AzuraCast before 0.23.6 contains a code injection vulnerability in the remote relay password field due to incomplete migration from the vulnerable cleanUpString method to toRawString. Attackers with RemoteRelays station permission can inject nested Liquidsoap

  • 8.4 High severity

    contrast: Improper Control of Generation of Code

    CVE-2026-100839Edgelesssys

    Contrast is a confidential-computing runtime for Kubernetes. In versions before 1.18.0, the guest kernel's ACPI/AML handling is vulnerable to an AML injection attack ("BadAML"). ACPI tables containing AML bytecode are passed from the untrusted host (QEMU) to t

  • 8.8 High severity

    horilla-hr: Improper Control of Generation of Code

    CVE-2026-96795Horilla

    Horilla is an HR and CRM software. Prior to 2.0.0, HorillaListView.export_data in horilla_views/generic/cbv/views.py accepts an authenticated user's columns POST parameter, takes field_tuple[1], interpolates it into dynamic_fn_str as Python source, and passes