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

    cedar-java: Improper Control of Generation of Code

    CVE-2026-55773Cedar-policy

    CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 2.3.6, 3.4.1 and 4.9.0, under certain circumstances, improper input handling could allow Cedar-expression injectio

  • 8.8 High severity

    cedar-java: Improper Control of Generation of Code

    CVE-2026-55771Cedar-policy

    CedarJava is an open source Java implementation of the Cedar policy language, used for fine-grained authorization decisions. In versions prior to 4.9.0, the EntityIdentifier.equals() has inverted null/self branches which could lead to incorrect equality compar

  • 9.5 Critical severity

    ServiceNow AI Platform: Improper Control of Generation of Code

    CVE-2026-6875ServiceNowEPSS 1.43%

    ServiceNow has addressed a remote code execution vulnerability that was identified in the ServiceNow AI platform. This vulnerability could enable an unauthenticated user, in certain circumstances, to execute code within the ServiceNow platform. ServiceNow addr

  • 9.3 Critical severity

    CMS: Improper Control of Generation of Code

    CVE-2026-12257Mura Software

    Versions of Mura CMS prior to 10.0.712 contain a critical remote code execution (RCE) vulnerability. The flaw is located in the endpoint “/index.cfm/_api/json/v1/default”, where the “method” parameter in POST requests is not properly validated or sanitised bef

  • 10.0 Critical severity

    Realtyna Organic IDX plugin: Improper Control of Generation of Code

    CVE-2026-57811Realtyna

    Improper Control of Generation of Code ('Code Injection') vulnerability in Realtyna Realtyna Organic IDX plugin real-estate-listing-realtyna-wpl allows Remote Code Inclusion.This issue affects Realtyna Organic IDX plugin: from n/a through <= 5.2.0.

  • 9.2 Critical severity

    Suspicious: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-13014Thales CERT

    A vulnerability in Thales CERT "Suspicious" application =< 1.3.4 allows a remote and unauthenticated attacker to execute arbitrary code and arbitrarily overwrite writable application files—including Python modules, configuration files, cron inputs, and runtime

  • 9.6 Critical severity

    Infra Monitoring: Improper Control of Generation of Code

    CVE-2026-14453Centreon

    This vulnerability is a critical Server-Side Template Injection (SSTI) in Centreon's centreon-open-tickets module that leads to Remote Code Execution. The message_confirm field is stored without sanitization and rendered via Smarty with no security policy enab

  • 7.3 High severity

    sonic-agent: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-15497SonicCloudOrg

    A vulnerability was determined in SonicCloudOrg sonic-agent up to 2.7.2. This affects an unknown function of the file sonic-server-controller/src/main/java/org/cloud/sonic/controller/controller/ExchangeController.java of the component JWT Authentication Filter

  • 10.0 Critical severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-61447MervinPraisonEPSS 15.2%

    PraisonAI before 1.6.78 contains a remote code execution vulnerability in CodeAgent._execute_python() that executes LLM-generated Python code without AST validation, import restrictions, or sandbox enforcement. Attackers can influence LLM output through prompt

  • 8.8 High severity

    WP Ultimate CSV Importer – WordPress Import &…: Improper Control of Generation of Code

    CVE-2026-13353SmackcodersEPSS 1.11%

    The WP Ultimate CSV Importer – WordPress Import & Export for CSV, XML & Excel plugin for WordPress is vulnerable to Remote Code Execution in all versions up to, and including, 8.0.1 via the 'MappedFields' parameter. This is due to missing capability checks on

  • 9.1 Critical severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-61444MervinPraison

    PraisonAI versions before 4.6.78 contain a code injection vulnerability in deploy/api.py where the agents_file parameter is directly interpolated into an f-string without sanitization. Attackers can inject arbitrary Python code that executes when the generated

  • 10.0 Critical severity

    langroid: Improper Control of Generation of Code

    CVE-2026-54769Langroid

    Langroid is a framework for building large-language-model-powered applications. Versions prior to 0.65.2 are vulnerable to a critical Sandbox Escape leading to Remote Code Execution (RCE) in its `TableChatAgent` and `VectorStore` capabilities. When these agent

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-59858Vim

    Vim is an open source, command line text editor. Prior to 9.2.0735, the C omni-completion script in runtime/autoload/ccomplete.vim interpolates the typeref: or typename: extension field of a tags entry, without escaping, into a :vimgrep pattern that is run thr

  • 7.8 High severity

    vim: Improper Control of Generation of Code

    CVE-2026-59856Vim

    Vim is an open source, command line text editor. Prior to 9.2.0736, the PHP omni-completion script in runtime/autoload/phpcomplete.vim interpolates a class or trait name, taken from the contents of the edited buffer, into a search() pattern that is run via win

  • 8.6 High severity

    siyuan: Improper Neutralization of Input During Web Page Generation

    CVE-2026-59833Siyuan-note

    SiYuan is an open-source personal knowledge management system. Prior to 3.7.1, SiYuan renders note and package content to HTML through the Lute engine with sanitization enabled, but Lute's dangerous javascript scheme block does not check form action or SVG xli

  • 9.1 Critical severity

    metabase: Improper Control of Generation of Code

    CVE-2026-59826MetabaseEPSS 1.01%

    Metabase is an open-source business intelligence and embedded analytics tool. From 1.55.0 until 1.58.15.1, 1.59.12, 1.60.6.3, and 1.61.2, Metabase did not validate unsafe H2 connection properties on one database-creation code path, allowing an authenticated ad

  • 9.0 Critical severity

    open-webui: Improper Control of Generation of Code

    CVE-2026-59216Open WebUI

    Open WebUI is an extensible, feature-rich, and user-friendly self-hosted AI platform. Prior to 0.10.0, get_event_call delivered execute:python and execute:tool Socket.IO events to a client-supplied session_id after checking only that the session was connected,

  • 7.2 High severity

    litellm: Improper Control of Generation of Code

    CVE-2026-59821BerriAI

    LiteLLM is a proxy server (AI Gateway) to call LLM APIs in OpenAI (or native) format. Prior to 1.82.0-stable, LiteLLM's Custom Code Guardrails production create and update paths did not apply the same sandboxing and validation used by the test endpoint, allowi

  • 8.8 High severity

    copier: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-53951Copier-org

    Copier is a library and CLI app for rendering project templates. In versions 9.5.0 through 9.15.1, the `trust` setting's prefix match (`copier/_settings.py`) compares the template URL against a trusted prefix with a raw `str.startswith` and no path normalizati

  • 8.4 High severity

    koodo-reader: Improper Control of Generation of Code

    CVE-2026-55408Koodo-reader

    Koodo Reader is an ebook reader. In version 2.3.0 and earlier, Koodo Reader is vulnerable to remote code execution through malicious EPUB files because the open-book IPC handler enables nodeIntegrationInSubFrames and EPUB chapter content is rendered with unsan

  • 8.7 High severity

    dataease: Improper Control of Generation of Code

    CVE-2026-53751DataEase

    DataEase is an open source data visualization and analysis tool. Prior to 2.10.24, the H2 database JDBC URL validation logic can be bypassed with special Unicode characters whose case-conversion behavior differs between DataEase validation and H2 parsing, allo

  • 8.5 High severity

    calibre: Improper Control of Generation of Code

    CVE-2026-53511Kovidgoyal

    calibre is an e-book manager. Prior to 9.10.0, a malicious EPUB, OPF, or PDF file can execute arbitrary Python code when its metadata is read by calibre, including through Add books or Edit books, by embedding a custom column definition with a python: template

  • 8.9 High severity

    FOSSBilling: Improper Control of Generation of Code

    CVE-2026-43921FOSSBilling

    FOSSBilling is a free, open-source billing and client management system. Versions 0.6.10 through 0.7.2 have a PHP code injection vulnerability in FOSSBilling's `Config::prettyPrintArrayToPHP()` method. When configuration values are updated, string values are w

  • 10.0 Critical severity

    crawl4ai: Improper Neutralization of Argument Delimiters in a Command

    CVE-2026-57572Unclecode

    Crawl4AI is an open-source LLM-friendly web crawler and scraper. Prior to 0.9.0, the Docker API server accepted request-supplied browser_config.extra_args, which flowed into Chromium's launch arguments. An attacker could inject Chromium switches that replace a

  • 9.9 Critical severity

    Plesk: Improper Control of Generation of Code

    CVE-2026-48614WebPros

    An improper authorization vulnerability in the Plesk XML API allows an authenticated user to inject arbitrary configuration directives, resulting in arbitrary file write as root and full privilege escalation on the underlying server.

  • 7.3 High severity

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

    CVE-2026-14749Mjperpinosa

    A vulnerability was identified in mjperpinosa stumasy up to 327d1b0f2915ba79d7ef8ebb74553e987609d9be. Impacted is the function eval of the file application/pages/imba_calculator/calculate.php. The manipulation of the argument mathematical_sentence leads to cod

  • 7.3 High severity

    TidGi-Desktop: Improper Neutralization of Special Elements in Output Used by a Downstream Component

    CVE-2026-14722Tiddly-gittly

    A vulnerability was found in tiddly-gittly TidGi-Desktop up to 0.13.0. This impacts an unknown function of the file src/services/wiki/wikiWorker/loadWikiTiddlersWithSubWikis.ts of the component Git Repository Import. The manipulation results in code injection.

  • 7.8 High severity

    nltk/nltk: Improper Control of Generation of Code

    CVE-2026-12252Nltk

    In nltk/nltk versions 3.9.3 and earlier, five Stanford interface classes (StanfordPOSTagger, StanfordNERTagger, StanfordParser, StanfordDependencyParser, and StanfordNeuralDependencyParser) are vulnerable to untrusted JAR code execution. These classes accept u

  • 8.7 High severity

    cms: Improper Control of Generation of Code

    CVE-2026-55794Craft CMS

    Craft CMS is a content management system (CMS). In versions 5.9.0 and above prior to 5.10.0, control panel users with the ability to edit entries can execute unsandboxed Twig code via the HTTP Referrer header, potentially leading to authenticated RCE. The issu

  • 9.4 Critical severity

    Altium Enterprise Server: Improper Limitation of a Pathname to a Restricted Directory

    CVE-2026-14439Altium

    A path traversal vulnerability exists in the Git Service component shared by Altium Enterprise Server and Altium 365. The service accepts a sequence of post-clone file-manipulation operations that use user-supplied paths without validation, allowing an authent

  • 8.8 High severity

    Chrome: Improper Control of Generation of Code

    CVE-2026-14407Google

    Inappropriate implementation in V8 in Google Chrome prior to 150.0.7871.46 allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page. (Chromium security severity: Medium)

  • 8.8 High severity

    Chrome: Improper Control of Generation of Code

    CVE-2026-14383Google

    Inappropriate implementation in V8 in Google Chrome prior to 150.0.7871.46 allowed a remote attacker to execute arbitrary code inside a sandbox via a crafted HTML page. (Chromium security severity: Medium)

  • 7.8 High severity

    tinacms: Improper Control of Generation of Code

    CVE-2026-54074Tinacms

    Tina is a headless content management system. @tinacms/cli versions prior to 2.4.3 contain a Remote Code Execution vulnerability in the Forestry-to-Tina migration command. The internal helper addVariablesToCode unquotes any value matching the marker "__TINA_IN

  • 7.5 High severity

    C492A-W6 Wi-Fi IP Camera: Improper Control of Generation of Code

    CVE-2026-58454JAIOTlink

    JAIOTlink C492A-W6 Wi-Fi IP cameras running firmware 4.8.30.57701411 contain a remote code execution vulnerability that allows authenticated attackers to execute arbitrary shell scripts by writing to the writable persistent JFFS2 storage path and triggering ex

  • 8.8 High severity

    timeline: Improper Control of Generation of Code

    CVE-2026-8857Wikimedia FoundationEPSS 2.1%

    A vulnerability in Wikimedia Foundation timeline. This vulnerability is associated with program files scripts/EasyTimeline.Pl, includes/Timeline.Php. This issue affects timeline: from * before 1.46.0, 1.45.4, 1.44.6, 1.43.9.

  • 9.8 Critical severity

    MediaWiki: Improper Control of Generation of Code

    CVE-2026-58025Wikimedia Foundation

    Deserialization of untrusted data vulnerability in Wikimedia Foundation MediaWiki. This vulnerability is associated with program files includes/Import/WikiImporter.Php, includes/Import/WikiRevision.Php, includes/Logging/LogEntryBase.Php. This issue affects Med

  • 7.8 High severity

    Megatron-Bridge: Improper Control of Generation of Code

    CVE-2026-24249NVIDIA

    NVIDIA Megatron Bridge for Linux contains a vulnerability where an attacker could cause deserialization of untrusted data. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tampering, and information disclo

  • 7.8 High severity

    Megatron-Bridge: Improper Control of Generation of Code

    CVE-2026-24248NVIDIA

    NVIDIA Megatron Bridge for Linux contains a vulnerability where an attacker could cause improper control of code generation. A successful exploit of this vulnerability might lead to code execution, escalation of privileges, data tampering, and information disc

  • 9.8 Critical severity

    txtai: Improper Control of Generation of Code

    CVE-2026-58449NeumlEPSS 1.35%

    txtai through 9.10.0, fixed in commit 11b32da, exposes an API /reindex endpoint whose function body parameter is resolved through txtai.util.Resolver, which performs __import__ and getattr on the caller-supplied dotted path with no allowlist. When the API is e

  • 9.9 Critical severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-7873IBMEPSS 6.92%

    IBM Langflow OSS 1.0.0 through 1.10.0 allows authenticated attackers to execute arbitrary OS commands and read sensitive files including credentials, enabling complete system compromise and lateral movement.