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

    Interchange: Improper Control of Generation of Code

    CVE-2026-75031Interchange

    In the interchange/interchange project, a critical remote code execution (RCE) vulnerability was found in the “quick question” admin feature. In default installations arbitrary Perl code can be injected and executed server-side by unauthenticated users. The Pe

  • 10.0 Critical severity

    vm2: Improper Control of Generation of Code

    CVE-2026-93603Patriksimek

    vm2 through 3.12.0 (fixed in 3.12.1) does not correctly handle a nullish `this` receiver in the apply trap of its bridge (lib/bridge.js): when sandboxed code calls a host-provided non-strict (sloppy-mode) function without a receiver — e.g. `fn()`, a detached m

  • 9.1 Critical severity

    AF Companion: Improper Control of Generation of Code

    CVE-2026-84738AF Companion

    The AF Companion WordPress plugin before 2.2.0 does not validate the type of files uploaded through one of its import features, allowing users with a low-privileged store-management role to upload arbitrary files, including PHP ones, leading to Remote Code Exe

  • 8.8 High severity

    Vvveb: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-54612Givanz

    Vvveb is a powerful and easy to use CMS with page builder to build websites, blogs or ecommerce stores. From 1.0.0 until 1.0.8.5, saveGlobalElements() in admin/controller/editor/global-trait.php concatenates the attacker-controlled file portion of data-v-save-

  • 9.3 Critical severity

    wavelog: Improper Control of Generation of Code

    CVE-2026-54237Wavelog

    Wavelog is web-based amateur radio logging software. From 1.8 until 2.4.2, Wavelog exposes /install/ajax.php and /install/includes/interface_assets/triggers.php after installation without an installation lock or permission check. Unsanitized input reaches writ

  • 9.8 Critical severity

    chamilo-lms: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-45140ChamiloEPSS 1.33%

    Chamilo LMS is an open-source learning management system. Prior to 2.0.1, Chamilo LMS allows an unauthenticated remote attacker to execute arbitrary code on the server. The authoritative advisory does not identify the affected endpoint, component, input, or ex

  • 8.8 High severity

    Grafana OSS: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-15815Grafana

    Grafana OSS and Grafana Enterprise did not safely resolve symbolic links when extracting plugin archives. A crafted plugin archive can chain relative symbolic link entries to escape the plugin installation directory, writing arbitrary files and an executable b

  • 9.0 Critical severity

    anyquery: Improper Control of Generation of Code

    CVE-2026-47252Julien040

    Anyquery is an SQL query engine built on top of SQLite. Prior to 0.4.5, authenticated users with INSERT or UPDATE access to affected macOS virtual tables can execute operating-system commands because the Chrome plugin and equivalent Brave, Edge, and Safari var

  • 10.0 Critical severity

    vm2: Improper Control of Generation of Code

    CVE-2026-92937PatriksimekEPSS 1.03%

    vm2 3.11.6 is vulnerable to a sandbox escape leading to remote code execution in the host Node.js process. The fix for GHSA-m283-3h24-438v is incomplete: the bridge gate at lib/bridge.js:1624 identity-checks only the direct call target when deciding whether to

  • 7.8 High severity

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

    CVE-2026-86320Red Hat

    A flaw was found in flatpak-builder where Git hooks are not disabled when applying patch sources with use-git-am: true. An attacker who can provide a malicious source containing a Git post-applypatch hook can cause the hook to execute on the host during the bu

  • 9.0 Critical severity

    wpShopGermany IT-RECHT KANZLEI: Improper Control of Generation of Code

    CVE-2026-88795wpShopGermany IT-RECHT KANZLEI

    The wpShopGermany IT-RECHT KANZLEI WordPress plugin before 2.4 does not generate its API authentication token securely, deriving it from data the requester controls and creating it as a side effect of the check that is supposed to validate it, allowing unauthe

  • 8.8 High severity

    cms: Improper Control of Generation of Code

    CVE-2026-92593Craft CMS

    Craft CMS versions 5.10.0 through 5.10.12 contain an incomplete fix for CVE-2026-55794: the Controller::getPostedRedirectUrl() -> View::renderObjectTemplate() sink remained unsandboxed, and the same fix commit added a self-signing oracle in Cp::elementLabelHtm

  • 7.5 High severity

    @refinedev/inferencer: Improper Control of Generation of Code

    CVE-2026-92784Refinedev

    @refinedev/inferencer through 7.0.0 fails to escape API field names when interpolating them into generated JSX source code. Attackers controlling the data provider can inject malicious JavaScript through crafted JSON property names that execute in the develope

  • 9.3 Critical severity

    HP AC Print & Scan: Improper Control of Generation of Code

    CVE-2026-89083HP

    HP has identified potential security vulnerabilities in the HP Advance software that may enable elevation of privilege, remote code execution, or arbitrary file write under certain conditions, impacting the HP Advance server hosting the software.

  • 9.3 Critical severity

    HP AC Print & Scan: Improper Control of Generation of Code

    CVE-2026-89082HP

    HP has identified potential security vulnerabilities in the HP Advance software that may enable elevation of privilege, remote code execution, or arbitrary file write under certain conditions, impacting the HP Advance server hosting the software.

  • 10.0 Critical severity

    EOS: Improper Control of Generation of Code

    CVE-2026-73456Arista Networks

    Under certain circumstances on affected platforms running Arista EOS with gRPC Network Packet Sampling Interface (gNPSI) enabled, an unauthenticated gNPSI client can craft a malicious request to allow arbitrary code execution, granting an attacker full adminis

  • 7.8 High severity

    redocly-cli: Improper Control of Generation of Code

    CVE-2026-63325Redocly

    Redocly CLI makes OpenAPI validation, linting, and documentation workflows easier. Prior to version 2.33.0 of @redocly/respect-core and @redocly/cli, the respect command dynamically evaluates $faker runtime expressions in Arazzo descriptions. A crafted express

  • 9.8 Critical severity

    Sentry Seer is vulnerable to a multi-stage trust-boundary violation that allows…

    CVE-2026-90999Functional Software

    Sentry Seer is vulnerable to a multi-stage trust-boundary violation that allows unauthenticated attacker-controlled telemetry to become code that is executed by an agent in a privileged automation environment. An external attacker can submit fabricated Sentry

  • 8.8 High severity

    Scada-LTS: Improper Control of Generation of Code

    CVE-2026-84858Scada-LTS

    ScadaLTS 2.8.1-release-candidate build 0 is affected by an Authenticated Remote Code Execution via Scripting Sandbox Bypass The DWR "DataSourceEditDwr" class exposes the "validateScript" method that compiles and executes attacker-supplied JavaScript via the Rh

  • 8.0 High severity

    Jenkins Script Security Plugin: Improper Control of Generation of Code

    CVE-2026-92127Jenkins

    Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d and earlier automatically approves the classpath entries in an item configuration when a user with Overall/Administer permission copies the item, or updates that configuration through the REST API or CLI, al

  • 8.5 High severity

    Jenkins Script Security Plugin: Use of Externally-Controlled Input to Select Classes or Code

    CVE-2026-92126Jenkins

    Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d and earlier does not reject @Builder annotations whose builderStrategy member names an arbitrary class, allowing attackers with permission to define and run sandboxed scripts, including Pipelines, to execute

  • 8.8 High severity

    Jenkins Script Security Plugin: Improper Control of Generation of Code

    CVE-2026-92125Jenkins

    Jenkins Script Security Plugin 1415.v9a_f9b_3a_c253d and earlier does not reject the @GroovyASTTransformationClass annotation, allowing attackers with permission to define and run sandboxed scripts, including Pipelines, to run an arbitrary AST transformation a

  • 8.6 High severity

    EKI-1242IEIMS: Improper Control of Generation of Code

    CVE-2026-73170Advantech

    Nozomi Networks Labs identified a CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability in the Modbus CSV import workflow of Advantech EKI-1242EIMS in firmware version V1.06.01 that allows a remote authenticated attacker to execute ar

  • 8.6 High severity

    EKI-1242IEIMS: Improper Control of Generation of Code

    CVE-2026-73166Advantech

    Nozomi Networks Labs identified a CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability in the web management interface of Advantech EKI-1242IEIMS in firmware version V1.06.01 that allows a remote authenticated attacker to execute arb

  • 10.0 Critical severity

    EOS: Improper Control of Generation of Code

    CVE-2026-73453Arista Networks

    An unauthenticated P4Runtime (Programming Protocol-Independent Packet Processors Runtime) client can achieve arbitrary code execution under certain conditions on affected platforms running Arista EOS configured with P4Runtime. P4Runtime is disabled by default

  • 8.8 High severity

    EOS: Improper Control of Generation of Code

    CVE-2026-73464Arista Networks

    On affected platforms running Arista EOS with gRPC Network Management Interface (gNMI) enabled, a specially crafted request could allow a malicious authenticated client with gRPC Network Management Interface (gNMI) access to execute arbitrary code with root pr

  • 7.2 High severity

    WP Import Export Lite: Improper Control of Generation of Code

    CVE-2026-76551WP Import Export Lite

    The WP Import Export Lite WordPress plugin before 3.9.33 does not restrict which PHP function may be applied to exported field values, allowing users granted its export permission to have arbitrary functions invoked on values they control, leading to remote co

  • 7.2 High severity

    WP Import Export Lite: Improper Control of Generation of Code

    CVE-2026-76550WP Import Export Lite

    The WP Import Export Lite WordPress plugin before 3.9.34 does not validate a user-supplied output path when writing export files, allowing users granted its export permission to write files with arbitrary names to arbitrary locations on the server, leading to

  • 8.1 High severity

    Oracle GraalVM for JDK, Oracle GraalVM: Improper Control of Generation of Code

    CVE-2026-83408Oracle

    Vulnerability in the Oracle GraalVM for JDK, Oracle GraalVM product of Oracle Java SE (component: Compiler). The supported version that is affected is Oracle GraalVM for JDK 17: 23.0.13.1; Oracle GraalVM for JDK 21: 23.1.12.1; Oracle GraalVM: 25.0.4.1. Difficu

  • 8.1 High severity

    Chrome: Improper Control of Generation of Code

    CVE-2026-91719Google

    Code injection in XML in Google Chrome prior to 153.0.8010.47 allowed a remote attacker to bypass web origin policy via a crafted HTML page. (Chromium security severity: Low)

  • 10.0 Critical severity

    mcp-context-forge: Improper Control of Generation of Code

    CVE-2026-53710IBMEPSS 1.14%

    MCP Context Forge is an AI gateway, registry, and proxy for MCP, A2A, REST, and gRPC APIs. Prior to 1.0.2, the python_sandbox_server in mcp-servers/python/python_sandbox_server/src/python_sandbox_server/server_fastmcp.py exposes raw getattr through safe_builti

  • 9.8 Critical severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-57141MervinPraison

    PraisonAI is a multi-agent teams system. Prior to 1.7.2, the codeMode tool in src/praisonai-ts/src/tools/builtins/code-mode.ts executes model-generated JavaScript with new Function() and with(sandbox), while a regular-expression blocklist can be bypassed with

  • 9.8 Critical severity

    OpenAM: Improper Control of Generation of Code

    CVE-2026-62379OpenIdentityPlatformEPSS 1.07%

    Open Access Management (OpenAM) is an access management solution. Prior to 16.1.2, the pre-authentication /authservice PLL endpoint accepts a CustomCallback XML element whose className value selects an arbitrary Java class for AuthXMLUtils to load and instanti

  • 8.8 High severity

    DataStage on Cloud Pak for Data: Improper Control of Generation of Code

    CVE-2026-16428IBM

    IBM DataStage on Cloud Pak for Data 5.4.0.0 IBM DataStage could allow a remote authenticated attacker to execute arbitrary code due to improper configuration of the XSLT transformation engine.

  • 9.8 Critical severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-57131MervinPraison

    PraisonAI is a multi-agent teams system. Prior to 4.6.58, praisonai.jobs.server.create_app mounts praisonai.jobs.router.create_router under /api/v1/runs without authentication or per-job authorization. Network clients can submit attacker-controlled prompts and

  • 9.4 Critical severity

    Conditional Content Pro extension for Joomla: Improper Control of Generation of Code

    CVE-2026-85192Regularlabs.com

    Joomla Extension - regularlabs.com - Authenticated, privileged remote code execution in Conditional Content extension for Joomla < 8.0.0 - Conditional Content Pro accepts inline PHP Condition Rules in article syntax. In affected versions, the PHP is passed to

  • 7.8 High severity

    vLLM: Improper Control of Generation of Code

    CVE-2026-90553Vllm-project

    vLLM before 0.28.0 contains a remote code execution vulnerability in the LlavaOnevision2 processor loader that ignores the trust_remote_code parameter when loading remote processor classes. Attackers can craft a malicious model with arbitrary code in processin

  • 9.8 Critical severity

    The Events Calendar: Improper Control of Generation of Code

    CVE-2026-78159StellarWPEPSS 1.39%

    The The Events Calendar plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 6.17.3 via the parse_array function. This is due to insufficient validation of the widget 'classes' map, allowing a plain-array payload to

  • 9.8 Critical severity

    SGLang: Improper Control of Generation of Code

    CVE-2026-86793SGLang

    SGLang allows unauthenticated pickle deserialization through /update_weights_from_tensor when no auth keys are configured, and the SafeUnpickler policy can be bypassed because builtins.import and builtins.getattr are resolvable, enabling code execution via pic

  • 10.0 Critical severity

    teddy-bear-customize-addon: Improper Control of Generation of Code

    CVE-2026-14560Teddy-bear-customize-addon

    The teddy-bear-customize-addon WordPress plugin through 1.0.5 does not properly validate uploaded files, relying on a client-supplied content type and preserving the original filename, allowing unauthenticated attackers to upload arbitrary PHP files and execut