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

  • 10.0 Critical severity

    BRAIN2: Improper Control of Generation of Code

    CVE-2025-6512Bizerba SE & Co. KG

    On a client with a non-admin user, a script can be integrated into a report. The reports could later be executed on the BRAIN2 server with administrator rights.

  • 10.0 Critical severity

    panel: Improper Control of Generation of Code

    CVE-2025-49132PterodactylEPSS 54.5%

    Pterodactyl is a free, open-source game server management panel. Prior to version 1.11.11, using the /locales/locale.json with the locale and namespace query parameters, a malicious actor is able to execute arbitrary code without being authenticated. With the

  • 9.8 Critical severity

    conda-build: Improper Control of Generation of Code

    CVE-2025-32798Conda

    Conda-build contains commands and tools to build conda packages. Prior to version 25.4.0, the conda-build recipe processing logic has been found to be vulnerable to arbitrary code execution due to unsafe evaluation of recipe selectors. Currently, conda-build u

  • 9.8 Critical severity

    Remote support & Privileged Remote Access: Improper Control of Generation of Code

    CVE-2025-5309BeyondTrustEPSS 1.02%

    The chat feature within Remote Support (RS) and Privileged Remote Access (PRA) is vulnerable to a Server-Side Template Injection vulnerability which can lead to remote code execution.

  • 8.8 High severity

    xwiki-platform: Improper Control of Generation of Code

    CVE-2025-49581XWiki

    XWiki is a generic wiki platform. Any user with edit right on a page (could be the user's profile) can execute code (Groovy, Python, Velocity) with programming right by defining a wiki macro. This allows full access to the whole XWiki installation. The main pr

  • 9.8 Critical severity

    Cosmos: Improper Control of Generation of Code

    CVE-2025-28386OpenC3EPSS 1.04%

    A remote code execution (RCE) vulnerability in the Plugin Management component of OpenC3 COSMOS v6.0.0 allows attackers to execute arbitrary code via uploading a crafted .txt file.

  • 9.2 Critical severity

    RSform!Pro component for Joomla: Improper Control of Generation of Code

    CVE-2025-30085Rsjoomla.com

    Remote code execution vulnerability in RSForm!pro component 3.0.0 - 3.3.14 for Joomla was discovered. The issue occurs within the submission export feature and requires administrative access to the export feature.

  • 9.9 Critical severity

    MetalpriceAPI: Improper Control of Generation of Code

    CVE-2025-48140Metalpriceapi

    Improper Control of Generation of Code ('Code Injection') vulnerability in metalpriceapi MetalpriceAPI metalpriceapi allows Code Injection.This issue affects MetalpriceAPI: from n/a through <= 1.1.4.

  • 10.0 Critical severity

    Spreadsheet Price Changer for WooCommerce and…: Improper Control of Generation of Code

    CVE-2025-48123Holest Engineering

    Improper Control of Generation of Code ('Code Injection') vulnerability in Holest Engineering Spreadsheet Price Changer for WooCommerce and WP E-commerce – Light excel-like-price-change-for-woocommerce-and-wp-e-commerce-light allows Code Injection.This issue a

  • 9.9 Critical severity

    WilderForge: Improper Control of Generation of Code

    CVE-2025-49013WilderForge

    WilderForge is a Wildermyth coremodding API. A critical vulnerability has been identified in multiple projects across the WilderForge organization. The issue arises from unsafe usage of `${{ github.event.review.body }}` and other user controlled variables dire

  • 7.3 High severity

    Hibernate Validator: Improper Control of Generation of Code

    CVE-2025-35036Hibernate

    Hibernate Validator before 6.2.0 and 7.0.0, by default and depending how it is used, may interpolate user-supplied input in a constraint violation message with Expression Language. This could allow an attacker to access sensitive information or execute arbitra

  • 9.8 Critical severity

    Mp-112 Firmware: Improper Control of Generation of Code

    CVE-2025-32106AudioCodesEPSS 1.04%

    In Audiocodes Mediapack MP-11x through 6.60A.369.002, a crafted POST request request may result in an unauthenticated remote user's ability to execute unauthorized code.

  • 7.2 High severity

    QRadar Suite Software: Improper Control of Generation of Code

    CVE-2025-25021IBM

    IBM QRadar Suite Software 1.10.12.0 through 1.11.2.0 and IBM Cloud Pak for Security 1.10.0.0 through 1.10.11.0 could allow a privileged execute code in case management script creation due to the improper generation of code.

  • 7.2 High severity

    freescout: Improper Control of Generation of Code

    CVE-2025-48390Freescout-help-desk

    FreeScout is a free self-hosted help desk and shared mailbox. Prior to version 1.8.178, FreeScout is vulnerable to code injection due to insufficient validation of user input in the php_path parameter. The backticks characters are not removed, as well as tabul

  • 7.8 High severity

    Kea: Improper Control of Generation of Code

    CVE-2025-32801ISC

    Kea configuration and API directives can be used to load a malicious hook library. Many common configurations run Kea as root, leave the API entry points unsecured by default, and/or place the control sockets in insecure paths. This issue affects Kea versions

  • 7.8 High severity

    introspect: Improper Control of Generation of Code

    CVE-2025-5151Defog-ai

    A vulnerability classified as critical has been found in defog-ai introspect up to 0.1.4. This affects the function execute_analysis_code_safely of the file introspect/backend/tools/analysis_tools.py. The manipulation of the argument code leads to code injecti

  • 8.8 High severity

    docarray: Improperly Controlled Modification of Object Prototype Attributes

    CVE-2025-5150Docarray

    A vulnerability was found in docarray up to 0.40.1. It has been rated as critical. Affected by this issue is the function __getitem__ of the file /docarray/data/torch_dataset.py of the component Web API. The manipulation leads to improperly controlled modifica

  • 7.2 High severity

    DedeCMS: Improper Control of Generation of Code

    CVE-2025-5137DedeCMS

    A vulnerability was found in DedeCMS 5.7.117. It has been classified as critical. Affected is an unknown function of the file dede/sys_verifies.php?action=getfiles of the component Incomplete Fix CVE-2018-9175. The manipulation of the argument refiles leads to

  • 8.4 High severity

    ASPECT-Enterprise: Improper Control of Generation of Code

    CVE-2024-13952ABB

    Predictable filename vulnerabilities in ASPECT may expose sensitive information to a potential attacker if administrator credentials become compromisedThis issue affects ASPECT-Enterprise: through 3.*; NEXUS Series: through 3.*; MATRIX Series: through 3.*.

  • 8.0 High severity

    ASPECT-Enterprise: Improper Control of Generation of Code

    CVE-2025-30172ABB

    Remote Code Execution vulnerabilities are present in ASPECT if session administrator credentials become compromised This issue affects ASPECT-Enterprise: through 3.08.03; NEXUS Series: through 3.08.03; MATRIX Series: through 3.08.03.

  • 8.0 High severity

    ASPECT-Enterprise: Improper Control of Generation of Code

    CVE-2024-9639ABB

    Remote Code Execution vulnerabilities are present in ASPECT if session administra-tor credentials become compromised. This issue affects ASPECT-Enterprise: through 3.08.03; NEXUS Series: through 3.08.03; MATRIX Series: through 3.08.03.

  • 7.2 High severity

    ASPECT-Enterprise: Improper Control of Generation of Code

    CVE-2024-13929ABB

    Servlet injection vulnerabilities in ASPECT allow remote code execution if session administrator credentials become compromised. This issue affects ASPECT-Enterprise: through 3.08.03; NEXUS Series: through 3.08.03; MATRIX Series: through 3.08.03.

  • 7.2 High severity

    ASPECT-Enterprise: Improper Control of Generation of Code

    CVE-2024-13928ABB

    SQL injection vulnerabilities in ASPECT allow unintended access and manipulation of database repositories if session administrator credentials become compromised. This issue affects ASPECT-Enterprise: through 3.08.03; NEXUS Series: through 3.08.03; MATRIX Seri

  • 7.2 High severity

    Vtiger CRM: Improper Control of Generation of Code

    CVE-2025-45753vTiger

    A vulnerability in Vtiger CRM Open Source Edition v8.3.0 allows an attacker with admin privileges to execute arbitrary PHP code by exploiting the ZIP import functionality in the Module Import feature.

  • 7.2 High severity

    Seeddms: Improper Control of Generation of Code

    CVE-2025-45752Seeddms

    A vulnerability in SeedDMS 6.0.32 allows an attacker with admin privileges to execute arbitrary PHP code by exploiting the zip import functionality in the Extension Manager.

  • 9.8 Critical severity

    Wl-wn579a3 Firmware: Improper Control of Generation of Code

    CVE-2025-44881WAVLINKEPSS 1.91%

    A command injection vulnerability in the component /cgi-bin/qos.cgi of Wavlink WL-WN579A3 v1.0 allows attackers to execute arbitrary commands via a crafted input.

  • 9.8 Critical severity

    langroid: Improper Control of Generation of Code

    CVE-2025-46725Langroid

    Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, `LanceDocChatAgent` uses pandas eval() through `compute_from_docs()`. As a result, an attacker may be able to make the agent run malicious comman

  • 9.8 Critical severity

    langroid: Improper Control of Generation of Code

    CVE-2025-46724Langroid

    Langroid is a Python framework to build large language model (LLM)-powered applications. Prior to version 0.53.15, `TableChatAgent` uses `pandas eval()`. If fed by untrusted user input, like the case of a public-facing LLM application, it may be vulnerable to

  • 8.8 High severity

    rill-flow: Improper Control of Generation of Code

    CVE-2025-4866Weibocom

    A vulnerability was found in weibocom rill-flow 0.1.18. It has been classified as critical. Affected is an unknown function of the component Management Console. The manipulation leads to code injection. It is possible to launch the attack remotely. The exploit

  • 9.8 Critical severity

    Invision Power Board: Improper Control of Generation of Code

    CVE-2025-47916InvisioncommunityEPSS 84.3%

    Invision Community 5.0.0 before 5.0.7 allows remote code execution via crafted template strings to themeeditor.php. The issue lies within the themeeditor controller (file: /applications/core/modules/front/system/themeeditor.php), where a protected method named

  • 8.8 High severity

    UiPress lite | Effortless custom dashboards…: Improper Control of Generation of Code

    CVE-2025-3053AdmintwentytwentyEPSS 1.12%

    The UiPress lite | Effortless custom dashboards, admin themes and pages plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 3.5.07 via the uip_process_form_input() function. This is due to the function taking user

  • 8.8 High severity

    Pfsense Ce: Improper Control of Generation of Code

    CVE-2024-54780NetgateEPSS 12.7%

    Netgate pfSense CE (prior to 2.8.0 beta release) and corresponding Plus builds are vulnerable to command injection in the OpenVPN widget due to improper sanitization of user-supplied input to the OpenVPN management interface. An authenticated attacker can expl

  • 9.8 Critical severity

    Apache IoTDB: Improper Control of Generation of Code

    CVE-2024-24780ApacheEPSS 1.46%

    Remote Code Execution with untrusted URI of UDF vulnerability in Apache IoTDB. The attacker who has privilege to create UDF can register malicious function from untrusted URI. This issue affects Apache IoTDB: from 1.0.0 before 1.3.4. Users are recommended to u

  • 8.8 High severity

    Ivanti Endpoint Manager Mobile (EPMM) Code Injection Exploited

    CVE-2025-4428IvantiEPSS 88%

    Remote Code Execution in API component in Ivanti Endpoint Manager Mobile 12.5.0.0 and prior on unspecified platforms allows authenticated attackers to execute arbitrary code via crafted API requests.

  • 8.3 High severity

    SAP S/4HANA Cloud Private Edition or on…: Improper Control of Generation of Code

    CVE-2025-43010SAP

    SAP S/4HANA Cloud Private Edition or on Premise (SCM Master Data Layer (MDL)) allows an authenticated attacker with SAP standard authorization to execute a certain function module remotely and replace arbitrary ABAP programs, including SAP standard programs. T

  • 8.8 High severity

    Zhiyuan OA Web Application System: Improper Control of Generation of Code

    CVE-2025-4531Seeyon

    A vulnerability was found in Seeyon Zhiyuan OA Web Application System 8.1 SP2. It has been rated as critical. Affected by this issue is the function postData of the file ROOT\WEB-INF\classes\com\ours\www\ehr\salary\service\data\EhrSalaryPayrollServiceImpl.clas

  • 9.8 Critical severity

    Client Database Management System: Improper Control of Generation of Code

    CVE-2025-46191LerouxyxchireEPSS 1.22%

    Arbitrary File Upload in user_payment_update.php in SourceCodester Client Database Management System 1.0 allows unauthenticated users to upload arbitrary files via the uploaded_file_cancelled field. Due to the absence of proper file extension checks, MIME type

  • 9.3 Critical severity

    Kong Insomnia Desktop Application before 11.0.2 contains a template injection vulnerability…

    CVE-2025-1087KongEPSS 1.15%

    Kong Insomnia Desktop Application before 11.0.2 contains a template injection vulnerability that allows attackers to execute arbitrary code. The vulnerability exists due to insufficient validation of user-supplied input when processing template strings, which

  • 9.8 Critical severity

    Znuny: Improper Control of Generation of Code

    CVE-2025-26845Znuny

    An Eval Injection issue was discovered in Znuny through 7.1.3. A user with write access to the configuration file can use this to execute a command executed by the user running the backup.pl script.

  • 7.3 High severity

    Wolmart | Multi-Vendor Marketplace WooCommerce…: Improper Control of Generation of Code

    CVE-2024-13793Don-themes

    The Wolmart | Multi-Vendor Marketplace WooCommerce Theme theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 1.8.11. This is due to the software allowing users to execute an action that does not properly val