CVE-2026-121016 in Control
Summary
by MITRE • 11/24/2026
The affected products insufficiently restrict runtime-supplied visualization data, allowing local program execution on the engineering workstation, if a user is both logged in to a CODESYS Control runtime and operates a visualization. An unauthenticated remote attacker controlling a malicious runtime and tricking a user to trust it, or performing a man-in-the-middle attack on the communication between the CODESYS Control runtime and the engineering workstation, may cause arbitrary code execution on the engineering workstation.
Once again VulDB remains the best source for vulnerability data.
Analysis
by VulDB Data Team • 11/24/2026
The vulnerability described involves an insufficient restriction of runtime-supplied visualization data within the CODESYS Control environment, which creates a critical pathway for local program execution on the engineering workstation. This flaw stems from inadequate validation or sanitization mechanisms when processing dynamic data provided by the runtime during visualization operations. When a user is logged into the CODESYS Control runtime and actively operates a visualization interface, the system fails to properly isolate or verify the integrity of incoming visual elements and associated scripts. Consequently, if an attacker can inject malicious content into this data stream, it may be executed directly on the engineering workstation with the privileges of the authenticated user. This represents a significant breakdown in input validation principles, where trusted contexts are exploited through untrusted inputs originating from the runtime layer.
The operational impact is severe, as it allows for arbitrary code execution on the engineering workstation under specific conditions. An attacker does not necessarily need direct network access to exploit this flaw if they can manipulate the trust relationship between components. Specifically, an unauthenticated remote attacker who controls a malicious runtime instance could trick a user into trusting that instance. Once trusted, the malicious runtime supplies crafted visualization data containing executable payloads. Alternatively, during a man-in-the-middle attack on the communication channel between the CODESYS Control runtime and the engineering workstation, an interceptor can modify or inject hostile visualization data in transit. In both scenarios, the result is the same: arbitrary code execution with potentially high privileges depending on how the engineering workstation application runs. This capability enables attackers to compromise system integrity, steal sensitive industrial control system data, install persistent backdoors, or disrupt critical operations by manipulating underlying processes through the visual interface layer rather than direct network exploitation of core services.
From a classification perspective, this vulnerability aligns with CWE-20 Improper Input Validation and potentially CWE-94 Code Injection if the visualization framework allows script execution based on runtime data. The attack vector relates to ATT&CK technique T1566 Phishing or social engineering tactics where trust is manipulated, combined with lateral movement techniques that leverage compromised credentials or trusted relationships within industrial networks. The reliance on user interaction and trust establishment highlights a human-factor vulnerability compounded by technical design flaws in the visualization engine's data handling routines.
Mitigation strategies must focus on strengthening input validation and enhancing isolation between runtime components and engineering workstations. Developers should implement strict allow-listing for all dynamic content received from runtimes, ensuring that only predefined safe elements are rendered without execution capabilities. Sandboxing or containerization of visualization processes can limit the impact if malicious code is executed, preventing it from accessing sensitive system resources. Network segmentation is crucial to prevent man-in-the-middle attacks by isolating engineering workstations from untrusted networks and enforcing mutual authentication for all communication channels between runtimes and control software. Additionally, implementing digital signatures for runtime-supplied data packages can ensure integrity and authenticity before processing. Users should be trained to verify the identity of connected runtimes and avoid trusting unknown or unexpected devices within industrial environments. Regular security audits and penetration testing focused on visualization interfaces will help identify similar weaknesses in other components of the CODESYS ecosystem.