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

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

    CVE-2025-3753Open Source Robotics Foundation

    A code execution vulnerability has been identified in the Robot Operating System (ROS) 'rosbag' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() function to process unsanitized, user-supplied in

  • 7.8 High severity

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

    CVE-2024-41921Open Source Robotics Foundation

    A code injection vulnerability has been discovered in the Robot Operating System (ROS) 'rostopic' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability lies in the 'echo' verb, which allows a user to introspect a ROS top

  • 7.8 High severity

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

    CVE-2024-41148Open Source Robotics Foundation

    A code injection vulnerability has been discovered in the Robot Operating System (ROS) 'rostopic' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability lies in the 'hz' verb, which reports the publishing rate of a topic

  • 7.8 High severity

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

    CVE-2024-39835Open Source Robotics Foundation

    A code injection vulnerability has been identified in the Robot Operating System (ROS) 'roslaunch' command-line tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability arises from the use of the eval() method to process user-supplied,

  • 7.8 High severity

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

    CVE-2024-39289Open Source Robotics Foundation

    A code execution vulnerability has been discovered in the Robot Operating System (ROS) 'rosparam' tool, affecting ROS distributions Noetic Ninjemys and earlier. The vulnerability stems from the use of the eval() function to process unsanitized, user-supplied p

  • 9.8 Critical severity

    Laravel Livewire Code Injection Exploited

    CVE-2025-54068LivewireEPSS 96.3%

    Livewire is a full-stack framework for Laravel. In Livewire v3 up to and including v3.6.3, a vulnerability allows unauthenticated attackers to achieve remote command execution in specific scenarios. The issue stems from how certain component property updates a

  • 9.8 Critical severity

    MaxKB: Improper Control of Generation of Code

    CVE-2025-539281Panel-dev

    MaxKB is an open-source AI assistant for enterprise. Prior to versions 1.10.9-lts and 2.0.0, a Remote Command Execution vulnerability exists in the MCP call. Versions 1.10.9-lts and 2.0.0 fix the issue.

  • 9.8 Critical severity

    Bears Backup: Improper Control of Generation of Code

    CVE-2025-5396Bearsthemes

    The Bears Backup plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 2.0.0. This is due to the bbackup_ajax_handle() function not having a capability check, nor validating user supplied input passed directly to cal

  • 8.6 High severity

    X360 VideoPlayer ActiveX Control: Improper Control of Generation of Code

    CVE-2025-34128X360SoftEPSS 1.48%

    A buffer overflow vulnerability exists in the X360 VideoPlayer ActiveX control (VideoPlayer.ocx) version 2.6 when handling overly long arguments to the ConvertFile() method. An attacker can exploit this vulnerability by supplying crafted input to cause memory

  • 9.3 Critical severity

    Achat Chat Server: Improper Control of Generation of Code

    CVE-2025-34127Achat SoftwareEPSS 1.88%

    A stack-based buffer overflow exists in Achat v0.150 in its default configuration. By sending a specially crafted message to the UDP port 9256, an attacker can overwrite the structured exception handler (SEH) due to insufficient bounds checking on user-supplie

  • 8.4 High severity

    A buffer overflow vulnerability exists in Heroes of Might and Magic III Complete 4.0.0.0, HD…

    CVE-2025-34124The 3DO Company

    A buffer overflow vulnerability exists in Heroes of Might and Magic III Complete 4.0.0.0, HD Mod 3.808 build 9, and Demo 1.0.0.0 via malicious .h3m map files that exploit object sprite name parsing logic. The vulnerability occurs during in-game map loading whe

  • 8.4 High severity

    A stack-based buffer overflow vulnerability exists in VideoCharge Studio 2.12.3.685 when…

    CVE-2025-34123VideoCharge Software

    A stack-based buffer overflow vulnerability exists in VideoCharge Studio 2.12.3.685 when processing a specially crafted .VSC configuration file. The issue occurs due to improper handling of user-supplied data in the XML 'Name' attribute, leading to an SEH over

  • 9.8 Critical severity

    pyload: Improper Control of Generation of Code

    CVE-2025-53890PyloadEPSS 1.3%

    pyload is an open-source Download Manager written in pure Python. An unsafe JavaScript evaluation vulnerability in pyLoad’s CAPTCHA processing code allows unauthenticated remote attackers to execute arbitrary code in the client browser and potentially the back

  • 8.8 High severity

    xwiki-rendering: Improper Control of Generation of Code

    CVE-2025-53836XWiki

    XWiki Rendering is a generic rendering system that converts textual input in a given syntax (wiki syntax, HTML, etc) into another syntax (XHTML, etc). Starting in version 4.2-milestone-1 and prior to versions 13.10.11, 14.4.7, and 14.10, the default macro cont

  • 7.2 High severity

    EcoStruxure™ IT Data Center Expert: Improper Control of Generation of Code

    CVE-2025-50123Schneider Electric

    A CWE-94: Improper Control of Generation of Code ('Code Injection') vulnerability exists that could cause remote command execution by a privileged account when the server is accessed via a console and through exploitation of the hostname input.

  • 9.8 Critical severity

    GB Forms DB: Improper Control of Generation of Code

    CVE-2025-5392Gb-plugins

    The GB Forms DB plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 1.0.2 via the gbfdb_talk_to_front() function. This is due to the function accepting user input and then passing that through call_user_func(). Thi

  • 10.0 Critical severity

    WordPress Pie Register Plugin: Improper Control of Generation of Code

    CVE-2025-34077Genetech SolutionsEPSS 16.5%

    An authentication bypass vulnerability exists in the WordPress Pie Register plugin ≤ 3.7.1.4 that allows unauthenticated attackers to impersonate arbitrary users by submitting a crafted POST request to the login endpoint. By setting social_site=true and manipu

  • 8.6 High severity

    helm: Improper Control of Generation of Code

    CVE-2025-53547Helm

    Helm is a package manager for Charts for Kubernetes. Prior to 3.18.4, a specially crafted Chart.yaml file along with a specially linked Chart.lock file can lead to local code execution when dependencies are updated. Fields in a Chart.yaml file, that are carrie

  • 8.8 High severity

    Microsoft SharePoint Code Injection Exploited

    CVE-2025-49704MicrosoftEPSS 100%

    Improper control of generation of code ('code injection') in Microsoft Office SharePoint allows an authorized attacker to execute code over a network.

  • 7.5 High severity

    Azure Monitor: Improper Control of Generation of Code

    CVE-2025-47988MicrosoftEPSS 1.04%

    Improper control of generation of code ('code injection') in Azure Monitor Agent allows an unauthorized attacker to execute code over an adjacent network.

  • 7.3 High severity

    Woodmart: Improper Control of Generation of Code

    CVE-2025-6744xTemos

    The The Woodmart theme for WordPress is vulnerable to arbitrary shortcode execution in all versions up to, and including, 8.2.3. This is due to the software allowing users to execute an action that does not properly validate a value before running do_shortcode

  • 9.9 Critical severity

    SAP S/4HANA and SAP SCM (Characteristic…: Improper Control of Generation of Code

    CVE-2025-42967SAPEPSS 1.04%

    SAP S/4HANA and SAP SCM Characteristic Propagation has remote code execution vulnerability. This allows an attacker with user level privileges to create a new report with his own code potentially gaining full control of the affected SAP system causing high imp

  • 9.8 Critical severity

    Challenges: Improper Control of Generation of Code

    CVE-2025-45479Educoder

    Insufficient security mechanisms for created containers in educoder challenges v1.0 allow attackers to execute arbitrary code via injecting crafted content into a container.

  • 9.8 Critical severity

    BoyunCMS: Improper Control of Generation of Code

    CVE-2025-7101BoyunCMS

    A vulnerability was found in BoyunCMS up to 1.4.20. It has been classified as critical. This affects an unknown part of the file /install/install_ok.php of the component Configuration File Handler. The manipulation of the argument db_pass leads to code injecti

  • 7.2 High severity

    Alone: Improper Control of Generation of Code

    CVE-2025-52718Beplusthemes

    Improper Control of Generation of Code ('Code Injection') vulnerability in Beplusthemes Alone alone allows Remote Code Inclusion.This issue affects Alone: from n/a through <= 7.8.2.

  • 10.0 Critical severity

    Easy Stripe: Improper Control of Generation of Code

    CVE-2025-49302Scott Paterson

    Improper Control of Generation of Code ('Code Injection') vulnerability in Scott Paterson Easy Stripe easy-stripe allows Remote Code Inclusion.This issue affects Easy Stripe: from n/a through <= 1.1.

  • 9.3 Critical severity

    Remote for Mac: Improper Control of Generation of Code

    CVE-2025-34089Aexol StudioEPSS 2.35%

    An unauthenticated remote code execution vulnerability exists in Remote for Mac, a macOS remote control utility developed by Aexol Studio, in versions up to and including 2025.7. When the application is configured with authentication disabled (i.e., the "Allow

  • 8.8 High severity

    CMS: Improper Control of Generation of Code

    CVE-2025-34086BoltEPSS 4.32%

    Bolt CMS versions 3.7.0 and earlier contain a chain of vulnerabilities that together allow an authenticated user to achieve remote code execution. A user with valid credentials can inject arbitrary PHP code into the displayname field of the user profile, which

  • 9.3 Critical severity

    PHPStudy: Improper Control of Generation of Code

    CVE-2025-34061Henan Xiaopi Security TechnologyEPSS 1.94%

    A backdoor in PHPStudy versions 2016 through 2018 allows unauthenticated remote attackers to execute arbitrary PHP code on affected installations. The backdoor listens for base64-encoded PHP payloads in the Accept-Charset HTTP header of incoming requests, deco

  • 7.8 High severity

    NSClient++: Improper Control of Generation of Code

    CVE-2025-34079NSClient++EPSS 1.7%

    An authenticated remote code execution vulnerability exists in NSClient++ version 0.5.2.35 when the web interface and ExternalScripts module are enabled. A remote attacker with the administrator password can authenticate to the web interface (default port 8443

  • 9.4 Critical severity

    Lucee: Improper Control of Generation of Code

    CVE-2025-34074Lucee Association SwitzerlandEPSS 2.2%

    An authenticated remote code execution vulnerability exists in Lucee’s administrative interface due to insecure design in the scheduled task functionality. An administrator with access to /lucee/admin/web.cfm can configure a scheduled job to retrieve a remote

  • 9.1 Critical severity

    Custom Login And Signup Widget: Improper Control of Generation of Code

    CVE-2025-49029Bitto.kaziEPSS 2.36%

    Improper Control of Generation of Code ('Code Injection') vulnerability in bitto.kazi Custom Login And Signup Widget custom-login-and-signup-widget allows Code Injection.This issue affects Custom Login And Signup Widget: from n/a through <= 1.0.

  • 8.8 High severity

    Red Hat Ansible Automation Platform 2.5 for…: Improper Control of Generation of Code

    CVE-2025-49521Red Hat

    A flaw was found in the EDA component of the Ansible Automation Platform, where user-supplied Git branch or refspec values are evaluated as Jinja2 templates. This vulnerability allows authenticated users to inject expressions that execute commands or access se

  • 8.6 High severity

    Content No Cache: Improper Control of Generation of Code

    CVE-2025-28993Jose Mortellaro

    Improper Control of Generation of Code ('Code Injection') vulnerability in Jose Mortellaro Content No Cache content-no-cache allows Code Injection.This issue affects Content No Cache: from n/a through <= 0.1.4.

  • 9.8 Critical severity

    LLaMA-Factory: Improper Control of Generation of Code

    CVE-2025-53002HiyougaEPSS 1.27%

    LLaMA-Factory is a tuning library for large language models. A remote code execution vulnerability was discovered in LLaMA-Factory versions up to and including 0.9.3 during the LLaMA-Factory training process. This vulnerability arises because the `vhead_file`

  • 7.8 High severity

    Megatron LM: Improper Control of Generation of Code

    CVE-2025-23265NVIDIA

    NVIDIA Megatron-LM for all platforms contains a vulnerability in a python component where an attacker may cause a code injection issue by providing a malicious file. A successful exploit of this vulnerability may lead to Code Execution, Escalation of Privilege

  • 7.8 High severity

    Megatron LM: Improper Control of Generation of Code

    CVE-2025-23264NVIDIA

    NVIDIA Megatron-LM for all platforms contains a vulnerability in a python component where an attacker may cause a code injection issue by providing a malicious file. A successful exploit of this vulnerability may lead to Code Execution, Escalation of Privilege

  • 9.8 Critical severity

    Terminal Handler: Improper Control of Generation of Code

    CVE-2023-47030Ncr

    An issue in NCR Terminal Handler v.1.5.1 allows a remote attacker to execute arbitrary code and obtain sensitive information via a GET request to a UserService SOAP API endpoint to validate if a user exists.

  • 9.8 Critical severity

    Terminal Handler: Improper Control of Generation of Code

    CVE-2023-47032Ncr

    Password Vulnerability in NCR Terminal Handler v.1.5.1 allows a remote attacker to execute arbitrary code via a crafted script to the UserService SOAP API function.

  • 9.8 Critical severity

    Itm Web Terminal: Improper Control of Generation of Code

    CVE-2023-48978NcrEPSS 1.05%

    An issue in NCR ITM Web terminal v.4.4.0 and v.4.4.4 allows a remote attacker to execute arbitrary code via a crafted script to the IP camera URL component.