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

  • 8.0 High severity

    c3p0: Improper Control of Generation of Code

    CVE-2026-27830Swaldman

    c3p0, a JDBC Connection pooling library, is vulnerable to attack via maliciously crafted Java-serialized objects and `javax.naming.Reference` instances. Several c3p0 `ConnectionPoolDataSource` implementations have a property called `userOverridesAsString` whic

  • 9.9 Critical severity

    n8n: Improper Control of Generation of Code

    CVE-2026-27577n8nEPSS 10.7%

    n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, additional exploits in the expression evaluation of n8n have been identified and patched following CVE-2025-68613. An authenticated user with permission to creat

  • 8.8 High severity

    n8n: Improper Control of Generation of Code

    CVE-2026-27498n8n

    n8n is an open source workflow automation platform. Prior to versions 2.2.0 and 1.123.8, an authenticated user with permission to create or modify workflows could chain the Read/Write Files from Disk node with git operations to achieve remote code execution. B

  • 8.8 High severity

    n8n: Improper Neutralization of Special Elements used in an SQL Command

    CVE-2026-27497n8n

    n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, an authenticated user with permission to create or modify workflows could leverage the Merge node's SQL query mode to execute arbitrary code and write arbitrary

  • 9.9 Critical severity

    n8n: Improper Control of Generation of Code

    CVE-2026-27495n8n

    n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, an authenticated user with permission to create or modify workflows could exploit a vulnerability in the JavaScript Task Runner sandbox to execute arbitrary code

  • 9.0 Critical severity

    n8n: Improper Control of Generation of Code

    CVE-2026-27493n8nEPSS 1.39%

    n8n is an open source workflow automation platform. Prior to versions 2.10.1, 2.9.3, and 1.123.22, a second-order expression injection vulnerability existed in n8n's Form nodes that could allow an unauthenticated attacker to inject and evaluate arbitrary n8n e

  • 9.0 Critical severity

    budibase: Improper Control of Generation of Code

    CVE-2026-27702Budibase

    Budibase is a low code platform for creating internal tools, workflows, and admin panels. Prior to version 3.30.4, an unsafe `eval()` vulnerability in Budibase's view filtering implementation allows any authenticated user (including free tier accounts) to exec

  • 8.8 High severity

    livecodes: Improper Control of Generation of Code

    CVE-2026-27701Live-codes

    LiveCode is an open-source, client-side code playground. Prior to commit e151c64c2bd80d2d53ac1333f1df9429fe6a1a11, LiveCode's `i18n-update-pull` GitHub Actions workflow is vulnerable to JavaScript injection. The title of the Pull Request associated with the tr

  • 8.8 High severity

    Advanced Woo Labels – Product Labels & Badges…: Improper Control of Generation of Code

    CVE-2026-1929Mihail-barinov

    The Advanced Woo Labels plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.37. This is due to the use of `call_user_func_array()` with user-controlled callback and parameters in the `get_select_option_values()`

  • 8.8 High severity

    interface_traduction_objets: Improper Control of Generation of Code

    CVE-2026-27745SPIP

    The SPIP interface_traduction_objets plugin versions prior to 2.2.2 contain an authenticated remote code execution vulnerability in the translation interface workflow. The plugin incorporates untrusted request data into a hidden form field that is rendered wit

  • 9.8 Critical severity

    tickets: Improper Control of Generation of Code

    CVE-2026-27744SPIPEPSS 1.03%

    The SPIP tickets plugin versions prior to 4.3.3 contain an unauthenticated remote code execution vulnerability in the forum preview handling for public ticket pages. The plugin appends untrusted request parameters into HTML that is later rendered by a template

  • 10.0 Critical severity

    enclave: Improper Control of Generation of Code

    CVE-2026-27597AgentfrontEPSS 1.01%

    Enclave is a secure JavaScript sandbox designed for safe AI agent code execution. Prior to version 2.11.1, it is possible to escape the security boundraries set by `@enclave-vm/core`, which can be used to achieve remote code execution (RCE). The issue has been

  • 8.4 High severity

    Apache Airflow: Improper Control of Generation of Code

    CVE-2024-56373ApacheEPSS 1.23%

    DAG Author (who already has quite a lot of permissions) could manipulate database of Airflow 2 in the way to execute arbitrary code in the web-server context, which they should normally not be able to do, leading to potentially remote code execution in the con

  • 8.6 High severity

    Carbonite Safe Server Backup: Improper Control of Generation of Code

    CVE-2025-9120OpenText

    Improper Control of Generation of Code ('Code Injection') vulnerability in OpenText™ Carbonite Safe Server Backup allows Code Injection. The vulnerability could be exploited through an open port, potentially allowing unauthorized access. This issue affects Car

  • 8.8 High severity

    X6000r Firmware: Improper Neutralization of Special Elements used in an OS Command

    CVE-2025-70328TOTOLINKEPSS 2.04%

    TOTOLINK X6000R v9.4.0cu.1498_B20250826 contains an OS command injection vulnerability in the NTPSyncWithHost handler of the /usr/sbin/shttpd executable. The host_time parameter is retrieved via sub_40C404 and passed to a date -s shell command through CsteSyst

  • 9.8 Critical severity

    web-audio-recorder-js: Improper Control of Generation of Code

    CVE-2026-2964Higuma

    A vulnerability was identified in higuma web-audio-recorder-js 0.1/0.1.1. Impacted is the function extend in the library lib/WebAudioRecorder.js of the component Dynamic Config Handling. Such manipulation leads to improperly controlled modification of object p

  • 9.9 Critical severity

    oneuptime: Improper Control of Generation of Code

    CVE-2026-27574OneUptime

    OneUptime is a solution for monitoring and managing online services. In versions 9.5.13 and below, custom JavaScript monitor feature uses Node.js's node:vm module (explicitly documented as not a security mechanism) to execute user-supplied code, allowing trivi

  • 7.2 High severity

    Moodle: Improper Control of Generation of Code

    CVE-2026-26045Moodle

    A flaw was identified in Moodle’s backup restore functionality where specially crafted backup files were not properly validated during processing. If a malicious backup file is restored, it could lead to unintended execution of server-side code. Since restore

  • 9.9 Critical severity

    WPForms Google Sheet Connector: Improper Control of Generation of Code

    CVE-2025-67979WesternDeal

    Improper Control of Generation of Code ('Code Injection') vulnerability in WesternDeal WPForms Google Sheet Connector gsheetconnector-wpforms allows Code Injection.This issue affects WPForms Google Sheet Connector: from n/a through <= 4.0.1.

  • 7.7 High severity

    Inpersttion For Theme: Improper Control of Generation of Code

    CVE-2025-52744Inpersttion

    Improper Control of Generation of Code ('Code Injection') vulnerability in inpersttion Inpersttion For Theme err-our-team allows Code Injection.This issue affects Inpersttion For Theme: from n/a through <= 1.0.

  • 9.9 Critical severity

    semantic-kernel: Improper Control of Generation of Code

    CVE-2026-26030MicrosoftEPSS 3.91%

    Semantic Kernel, Microsoft's semantic kernel Python SDK, has a remote code execution vulnerability in versions prior to 1.39.4, specifically within the `InMemoryVectorStore` filter functionality. The problem has been fixed in version `python-1.39.4`. Users sho

  • 9.8 Critical severity

    Saisies pour formulaire: Improper Control of Generation of Code

    CVE-2025-71243SPIPEPSS 5.59%

    The 'Saisies pour formulaire' (Saisies) plugin for SPIP versions 5.4.0 through 5.11.0 contains a critical Remote Code Execution (RCE) vulnerability. An attacker can exploit this vulnerability to execute arbitrary code on the server. Users should immediately up

  • 8.8 High severity

    jsPDF: Improper Control of Generation of Code

    CVE-2026-25755Parallax

    jsPDF is a library to generate PDFs in JavaScript. Prior to 4.2.0, user control of the argument of the `addJS` method allows an attacker to inject arbitrary PDF objects into the generated document. By crafting a payload that escapes the JavaScript string delim

  • 7.2 High severity

    Identity Server: Improper Neutralization of Special Elements used in a Command

    CVE-2025-12107WSO2

    The Velocity template engine, utilized by the affected product, accepts and processes template syntax without sufficient sanitization or validation of user-controlled input. This allows an authenticated administrator to inject arbitrary template syntax. Succes

  • 9.1 Critical severity

    InvoicePlane: Improper Control of Generation of Code

    CVE-2026-25548InvoicePlane

    InvoicePlane is a self-hosted open source application for managing invoices, clients, and payments. A critical Remote Code Execution (RCE) vulnerability exists in InvoicePlane 1.7.0 through a chained Local File Inclusion (LFI) and Log Poisoning attack. An auth

  • 9.8 Critical severity

    MajorDoMo: Improper Control of Generation of Code

    CVE-2026-27174SergejeyEPSS 6.75%

    MajorDoMo (aka Major Domestic Module) allows unauthenticated remote code execution via the admin panel's PHP console feature. An include order bug in modules/panel.class.php causes execution to continue past a redirect() call that lacks an exit statement, allo

  • 8.8 High severity

    nltk/nltk: Improper Control of Generation of Code

    CVE-2025-14009NltkEPSS 1.02%

    A critical vulnerability exists in the NLTK downloader component of nltk/nltk, affecting all versions. The _unzip_iter function in nltk/downloader.py uses zipfile.extractall() without performing path validation or security checks. This allows attackers to craf

  • 7.8 High severity

    OpenFOAM: Improper Control of Generation of Code

    CVE-2025-61982OpenCFD

    An arbitrary code execution vulnerability exists in the Code Stream directive functionality of OpenCFD OpenFOAM 2506. A specially crafted OpenFOAM simulation file can lead to arbitrary code execution. An attacker can provide a malicious file to trigger this vu

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-33251NVIDIA

    NVIDIA NeMo Framework contains a vulnerability where an attacker could cause remote code execution. A successful exploit of this vulnerability might lead to code execution, denial of service, information disclosure, and data tampering.

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-33250NVIDIA

    NVIDIA NeMo Framework contains a vulnerability where an attacker could cause remote code execution. A successful exploit of this vulnerability might lead to code execution, denial of service, information disclosure, and data tampering.

  • 7.8 High severity

    Megatron-Bridge: Improper Control of Generation of Code

    CVE-2025-33240NVIDIA

    NVIDIA Megatron Bridge contains a vulnerability in a data shuffling tutorial, where malicious input could cause a code injection. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, information disclosure, and dat

  • 7.8 High severity

    Megatron-Bridge: Improper Control of Generation of Code

    CVE-2025-33239NVIDIA

    NVIDIA Megatron Bridge contains a vulnerability in a data merging tutorial, where malicious input could cause a code injection. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, information disclosure, and data

  • 7.8 High severity

    NeMo Framework: Improper Control of Generation of Code

    CVE-2025-33236NVIDIA

    NVIDIA NeMo Framework contains a vulnerability where malicious data created by an attacker could cause code injection. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, information disclosure, and data tampering

  • 7.2 High severity

    Product Addons for Woocommerce – Product…: Improper Control of Generation of Code

    CVE-2026-2296Acowebs

    The Product Addons for Woocommerce – Product Options with Custom Fields plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 3.1.0. This is due to insufficient input validation of the 'operator' field in conditional logic

  • 8.8 High severity

    Markdown Preview Enhanced: Improper Control of Generation of Code

    CVE-2025-65716Shd101wyy

    An issue in Visual Studio Code Extensions Markdown Preview Enhanced v0.8.18 allows attackers to execute arbitrary code via uploading a crafted .Md file.

  • 7.8 High severity

    Coderunner: Improper Control of Generation of Code

    CVE-2025-65715Formulahendry

    An issue in the code-runner.executorMap setting of Visual Studio Code Extensions Code Runner v0.12.2 allows attackers to execute arbitrary code when opening a crafted workspace.

  • 7.3 High severity

    Apache Avro Java SDK: Improper Control of Generation of Code

    CVE-2025-33042Apache

    Improper Control of Generation of Code ('Code Injection') vulnerability in Apache Avro Java SDK when generating specific records from untrusted Avro schemas. This issue affects Apache Avro Java SDK: all versions through 1.11.4 and version 1.12.0. Users are rec

  • 8.8 High severity

    yoke: Improper Control of Generation of Code

    CVE-2026-26056Yokecd

    Yoke is a Helm-inspired infrastructure-as-code (IaC) package deployer. In 0.19.0 and earlier, a vulnerability exists in the Air Traffic Controller (ATC) component of Yoke. It allows users with CR create/update permissions to execute arbitrary WASM code in the

  • 7.2 High severity

    authentik: Improper Control of Generation of Code

    CVE-2026-25227Goauthentik

    authentik is an open-source identity provider. From 2021.3.1 to before 2025.8.6, 2025.10.4, and 2025.12.4, when using delegated permissions, a User that has the permission Can view * Property Mapping or Can view Expression Policy is able to execute arbitrary c

  • 10.0 Critical severity

    Crawl4AI: Improper Control of Generation of Code

    CVE-2026-26216UnclecodeEPSS 6.33%

    Crawl4AI versions prior to 0.8.0 contain a remote code execution vulnerability in the Docker API deployment. The /crawl endpoint accepts a hooks parameter containing Python code that is executed using exec(). The __import__ builtin was included in the allowed