CODESYS Visualization flaws let a malicious PLC run code on the engineer's laptop
CODESYS GmbH and CERT@VDE disclosed four vulnerabilities in CODESYS Visualization on 24 November. The add-on draws operator screens inside the CODESYS Development System. The most serious flaw, CVE-2026-121016, lets a controller run by an attacker, or an attacker sitting between the controller and the PC, execute code on the engineering workstation while the engineer watches the screens online, according to CERT@VDE. All versions from 3.0.0.0 up to, but not including, 4.11.0.0 are affected. The fix is version 4.11.0.0.
CODESYS is a PLC programming environment used by many controller manufacturers, so engineering stations with CODESYS sit in factories, water and energy sites and integrator offices. The advisory does not mention exploitation. The flaws were reported by Felix Eberstaller (f0rw4rd) of Limes Security / QuellSec.
The attack runs from the controller to the PC
Most PLC security talk is about what an engineering station can do to a controller. This goes the other way. When an engineer is logged in to a controller and running visualization, the controller sends display data and commands back to the PC. CERT@VDE says the add-on does not restrict enough what the runtime may send, so a malicious controller can trigger local functions on the PC, COM/ActiveX components included, and run code with the rights of the user running CODESYS.
No password is needed. The attacker has to control the runtime and get the engineer to trust it, or sit in the middle of the connection. A fourth, low-severity flaw lets a malicious CODESYS project write files into arbitrary folders when an offline boot application is generated from it.
What to do until you update
CODESYS says to update CODESYS Visualization to 4.11.0.0 through the CODESYS Installer or the CODESYS Store. Until then it recommends turning on encrypted online communication between the development system and the runtime, which makes tampering and man-in-the-middle attacks harder, and only opening projects and archives from trusted sources.
Four CVEs and the affected versions
Product: CODESYS Visualization (add-on for CODESYS Development System), versions 3.0.0.0 up to but not including 4.11.0.0.
IDs: VDE-2026-154, CODESYS Advisory 2026-15.
CVEs:
- CVE-2026-121016, CVSS 3.1: 8.8 (AV:N/AC:L/PR:N/UI:R). Runtime-supplied visualization data not restricted enough, allowing local program execution on the engineering workstation (CWE-669).
- CVE-2026-121017, CVSS 3.1: 8.8. Local COM/ActiveX functionality invoked through visualization data (CWE-669).
- CVE-2026-121018, CVSS 3.1: 8.8. Runtime-supplied visualization commands invoke local functionality (CWE-669).
- CVE-2026-121019, CVSS 3.1: 3.3 (AV:L). Path traversal when generating an offline boot application from a malicious project; the attacker controls the path, not the file name or contents (CWE-22).
Preconditions: user logged in to a CODESYS Control runtime and running visualization; attacker controls the runtime or performs MITM.
Impact: code execution with the privileges of the CODESYS Development System user.
Fix: CODESYS Visualization 4.11.0.0.
Workarounds: encrypted online communication (121016/7/8); trusted projects only (121019).
Known exploitation / IOCs: none reported.
ICS Cyber News by email
Flashes and digests for the topics you pick. No ads.
Edited by Ilan Shaya with AI assistance