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

    docs: Improper Control of Generation of Code

    CVE-2026-55675Saltyorg

    The Salty documentation repository builds and deploys the docs.saltbox.dev website. Prior to commit 649c9aea2daef1168eeb0415b44e65dbbde9f220, .github/workflows/trigger-pr-build.yml records an untrusted fork commit in the pr_info artifact, and the secret-bearin

  • 8.8 High severity

    heym: Improper Neutralization of Special Elements used in an OS Command

    CVE-2026-55376Heymrun

    Heym builds and runs agentic systems and business-process automations on self-hosted infrastructure. Prior to 0.0.40, an authenticated user who can create or edit a workflow with an Agent custom Python tool can bypass the blacklist-based sandbox in backend/app

  • 9.9 Critical severity

    SAP S/4HANA (Manage Substitution/Validation…: Improper Control of Generation of Code

    CVE-2026-89107SAP

    SAP S/4HANA (Manage Substitution/Validation Rules) does not sufficiently validate input processed by rule definition functionality that utilizes a domain-specific scripting language. An authenticated attacker with specific business privileges could submit spec

  • 9.9 Critical severity

    i: Improper Control of Generation of Code

    CVE-2026-96119IBM

    IBM i 7.3, 7.4, 7.5, and 7.6 could allow a remote authenticated attacker to obtain sensitive information or execute arbitrary code on the system due to improper data sanitization by the HTTP Server Administration web application.

  • 8.8 High severity

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

    CVE-2026-82108IBM

    IBM DataStage on Cloud Pak for Data 5.4.0.0 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in an OS command.

  • 8.7 High severity

    Maximo Application Suite - Location Service…: Improper Control of Generation of Code

    CVE-2026-18537IBM

    IBM Maximo Application Suite - Location Service for Esri Component 9.2, 9.1, and 9.0 is vulnerable to improper input validation due to an unsanitised container image reference in a Kubernetes operator template.

  • 7.2 High severity

    adminer: Improper Control of Generation of Code

    CVE-2026-109347Vrana

    Adminer before 6.1.1 contains a remote code execution vulnerability that allows authenticated SQLite users to bypass ATTACH and VACUUM INTO restrictions by prefixing statements with a UTF-8 byte-order mark. Attackers can attach a database file at a PHP-served

  • 8.8 High severity

    cms: Improper Control of Generation of Code

    CVE-2026-109308Craft CMS

    Craft CMS 4.0.0 before 4.18.7 and 5.0.0 before 5.10.14 passes the raw 'updates' request parameter in AppController::actionCacheUpdates to UpdatesModel without Component::cleanseConfig(), allowing behavior and event-handler injection. Authenticated control pane

  • 8.8 High severity

    Thelia: Improper Control of Generation of Code

    CVE-2026-107248Thelia

    Thelia 3.0.0's back-office Email/Messages feature contains a server‑side template injection (SSTI) flaw that allows any authenticated user with the “Messages” permission to supply unsandboxed Twig templates, which are then compiled and executed as raw code. By

  • 8.8 High severity

    Thelia: Improper Control of Generation of Code

    CVE-2026-103535TheliaEPSS 1.05%

    Thelia v2.6.1 contains path traversal and PHP code injection vulnerabilities in its translation editor that can be chained to achieve remote code execution. The `item_name` parameter, used to build the translation file's write path, does not sanitize directory

  • 8.8 High severity

    LogicalDOC Community Edition: Improper Control of Generation of Code

    CVE-2026-109199LogicalDOC

    LogicalDOC Community Edition through 9.3 contains a code injection vulnerability that allows authenticated users to execute OS commands by submitting Velocity templates in DocumentService.sendAsEmail subject or message fields. Attackers can invoke SystemTool e

  • 10.0 Critical severity

    SiteVault – Backup, Restore, Migration &amp…: Improper Control of Generation of Code

    CVE-2026-42696Royal Plugins

    Improper Control of Generation of Code ('Code Injection') vulnerability in Royal Plugins SiteVault – Backup, Restore, Migration & Cloning sitevault-backup-restore-migration allows Remote Code Inclusion.This issue affects SiteVault – Backup, Restore, Migrat

  • 9.8 Critical severity

    floci: Improper Control of Generation of Code

    CVE-2026-108598Floci-io

    Floci 1.1.0 before 2.2.0 contains a code injection vulnerability in VtlTemplateEngine that allows unauthenticated attackers to execute commands via unrestricted Velocity mapping templates. Attackers can create a REST API with a MOCK integration whose template

  • 7.5 High severity

    Thank You Page Customizer for WooCommerce: Improper Control of Generation of Code

    CVE-2026-103071VillaTheme

    Improper Control of Generation of Code ('Code Injection') vulnerability in VillaTheme Thank You Page Customizer for WooCommerce woo-thank-you-page-customizer allows Code Injection.This issue affects Thank You Page Customizer for WooCommerce: from n/a through 1

  • 9.8 Critical severity

    openapi-typescript-codegen: Improper Control of Generation of Code

    CVE-2026-108551Ferdikoomen

    openapi-typescript-codegen through 0.31.0 contains a code injection vulnerability that allows attackers controlling an OpenAPI document to inject JavaScript by supplying unescaped values interpolated into single-quoted string literals. Attackers can embed a si

  • 9.1 Critical severity

    Avada (Fusion) Builder: Improper Control of Generation of Code

    CVE-2026-97670ThemeFusion

    The Avada (Fusion) Builder plugin for WordPress is vulnerable to authorization bypass in all versions up to, and including, 7.16.1. This is due to the plugin not properly verifying authorization before dispatching a WordPress action hook whose name is taken fr

  • 7.2 High severity

    Fastcache by Host.it: Improper Control of Generation of Code

    CVE-2026-104021Hostspa

    The Fastcache by Host.it plugin for WordPress is vulnerable to Code Injection in all versions up to, and including, 1.7.4 via the `fastcache_settings[cache_cookie_exclude][]` parameter. This is due to the plugin registering the `cache_cookie_exclude` setting v

  • 8.2 High severity

    tinacms: Improper Control of Generation of Code

    CVE-2026-108259Tinacms

    Tina is a headless content management system. Prior to 3.0.0, @tinacms/cli reads Git branch values from VERCEL_GIT_COMMIT_REF, GITHUB_BRANCH, or HEAD, incorporates the raw value into the API URL, and interpolates that URL into JavaScript string literals in pac

  • 7.2 High severity

    Smartermail: Improper Control of Generation of Code

    CVE-2026-104082SmarterTools

    SmarterMail before build 9777 contains a remote code execution vulnerability that allows an attacker holding a SysAdmin-scoped access token to bypass the Volume Mount script-directory containment control by provisioning a new mail domain with an arbitrary File

  • 7.2 High severity

    nginx-ui: Improper Control of Generation of Code

    CVE-2026-1078060xJacky

    Nginx UI is a web user interface for the Nginx web server. From 2.3.8 until 2.5.0, an authenticated administrator with an active secure session can submit attacker-controlled portable backup key material and a matching manifest to POST /api/restore. The restor

  • 8.4 High severity

    sumatrapdf: Improper Control of Generation of Code

    CVE-2026-107732Sumatrapdfreader

    SumatraPDF is a multi-format reader for Windows. In 3.6.1 and earlier, untrusted document paths and PDF link targets are interpolated into notification text that ParseTip() interprets as trusted tip markup. When a user clicks an injected link, ExecuteTipLink()

  • 7.5 High severity

    Security Verify Access: Improper Control of Generation of Code

    CVE-2026-11888IBM

    IBM Security Verify Access 10.0 through 10.0.9.2 and IBM Verify Identity Access 11.0 through 11.0.3 is vulnerable to an information disclosure attack.

  • 9.8 Critical severity

    dot-access: Improper Control of Generation of Code

    CVE-2026-107700Ntharim

    dot-access 0.0.3 through 1.0.0 contains a code injection vulnerability that allows remote attackers to execute JavaScript by supplying crafted paths to get(). The path is concatenated into a new Function body in index.js, so attackers can reach constructor.con

  • 8.8 High severity

    Cisco License On-Prem: Improper Control of Generation of Code

    CVE-2026-76484Cisco

    As part of Cisco's ongoing commitment to proactive security and product quality, the engineering team for Cisco License On-Prem, formerly Cisco Smart Software Manager On-Prem (SSM On-Prem), has conducted a comprehensive internal security review. This review re

  • 9.1 Critical severity

    PraisonAI: Improper Control of Generation of Code

    CVE-2026-62176MervinPraison

    PraisonAI is a multi-agent teams system. Prior to version 4.6.78, the `deploy/api.py` module generates Python server code by directly interpolating the `agents_file` parameter into an f-string that is then written to a file and executed via `subprocess.Popen()

  • 9.3 Critical severity

    Movable Type Cloud Edition: Improper Control of Generation of Code

    CVE-2026-96408Six Apart

    A code injection vulnerability exists in the upgrade script of Movable Type, which may allow an unauthenticated attacker to execute an arbitrary Perl script or an SQL query on the affected product.

  • 7.2 High severity

    WP Coder: Improper Control of Generation of Code

    CVE-2026-104677WP Coder

    The WP Coder WordPress plugin before 4.5.2 does not restrict access to its PHP code-execution feature to administrators, gating it on a content capability that the Editor role holds by default, which allows Editor-level users to save and execute arbitrary PHP

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-97679IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in an OS command ('Code Injection') related to improper input validation.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-97676IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in code, resulting in a sandbox escape.

  • 8.1 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-97674IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary OS commands due to improper neutralization of special elements used in an OS command ('Code Injection'), aka improper control of code generation.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-97655IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote attacker to execute arbitrary code due to an incomplete blocklist in the code security scanner.

  • 9.8 Critical severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-93674IBMEPSS 15.3%

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote attacker to execute arbitrary code due to improper neutralization of special elements used in an OS command.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-93449IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-93445IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of generation of code.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-93443IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper neutralization of special elements used in code.

  • 8.8 High severity

    Langflow OSS: Improper Control of Generation of Code

    CVE-2026-88962IBM

    IBM Langflow OSS 1.0.0 through 1.12.2 could allow a remote authenticated attacker to execute arbitrary code due to improper control of code generation.

  • 8.8 High severity

    backstage: Improper Control of Generation of Code

    CVE-2026-106509Backstage

    Backstage is an open framework for building developer portals. Prior to 1.14.6, the @backstage/plugin-techdocs-node package is affected by improper validation of mkdocs theme configuration in techdocs. When TechDocs is configured to build documentation locally

  • 9.0 Critical severity

    bedrock-agentcore-starter-toolkit: Improper Control of Generation of Code

    CVE-2026-105812AWS

    Improper control of code generation in the agent import functionality of Amazon Bedrock AgentCore Starter Toolkit before 0.3.14 might allow an authenticated same-account actor to execute arbitrary code when a user imports and runs or deploys a Bedrock Agent, v

  • 7.2 High severity

    ClearPass Policy Manager (CPPM): Improper Control of Generation of Code

    CVE-2026-79810Hewlett Packard Enterprise

    Remote code execution vulnerabilities exist in the affected interface of HPE Networking ClearPass Policy Manager that could allow an authenticated remote attacker with high privileges to execute arbitrary code. Successful exploitation could allow an attacker t

  • 9.8 Critical severity

    handlebars.js: Improper Control of Generation of Code

    CVE-2026-106446Handlebars-lang

    Handlebars provides the power necessary to let users build semantic templates. From 4.0.0 until 4.7.10, Handlebars.compile() and Handlebars.precompile() accept pre-parsed AST objects while validating only selected PathExpression, NumberLiteral, and BooleanLite