
CODESYS GmbH and CERT@VDE have published a critical flaw in the CODESYS Control runtime, the software that many manufacturers build into their programmable logic controllers (PLCs). CVE-2026-127148 is an out-of-bounds write in the components that handle the CODESYS online protocol, the interface used to program and manage a controller. According to the CERT@VDE advisory, an unauthenticated remote attacker can send a specially crafted packet and execute arbitrary code on the affected product. The advisory’s CVSS score is 9.8. The Hacker News says the only requirement is network access to the controller’s online services.
The flaw is the most serious finding of PLC2Shell, a research project by Felix Eberstaller of Limes Security. Limes says it found about 40 vulnerabilities across the runtime, CODESYS Visualization and engineering components; the first eleven have been published, and it is deliberately withholding exploitation details while products are being updated. The researchers say they demonstrated code execution on Windows, Linux and VxWorks runtimes and on a Schneider Electric Modicon M241. Limes also reports that on its lab devices it could establish persistence that survives a restart and stays until the firmware is reflashed, and notes that other devices may behave the same way. The Hacker News says no exploitation was known when CISA assessed the flaw this week; neither source reports attacks in the wild. Limes adds that on a hardware PLC the runtime is part of the manufacturer’s firmware, so operators have to wait for the device maker’s update.
How to check if you’re affected
Affected products are the CODESYS Control runtime products and related components listed in CERT@VDE advisory VDE-2026-169, which splits them into two groups by fixed version. Check the runtime version shown in your CODESYS device view or the device’s web interface (Limes’ page offers the same check), and also ask your PLC manufacturer whether its devices embed CODESYS.
- Windows-based and toolkit products, affected versions from 3.0.0.0 up to (not including) 3.5.22.50: the advisory lists Control RTE (SL), Control RTE for Beckhoff CX SL, Control Win (SL), Runtime Toolkit, Embedded Target Visu Toolkit, Remote Target Visu, Safety SIL2, Gateway, Edge Gateway for Windows, HMI (SL), OPC DA Server SL, PLCHandler and Development System 3 (its simulation runtime is affected). The fix is 3.5.22.50, available now through the CODESYS Installer or the vendor’s download area.
- Linux-based products, affected versions from 3.5.0.0 up to (not including) 4.24.0.0: the advisory lists Control for BeagleBone, emPC-A/iMX6, IOT2000, Linux ARM, Linux, PFC100, PFC200, PLCnext, Raspberry Pi and WAGO Touch Panels 600, plus Virtual Control SL, Edge Gateway for Linux and TargetVisu for Linux SL. The fix is 4.24.0.0, which the advisory says is planned for December 2026.
- Until you can update, the advisory’s mitigation is to restrict network access to the CODESYS online protocol services with firewalls and segmentation, allow connections only from trusted systems, keep affected devices off untrusted networks including the Internet, and use VPN with strong authentication where remote access is needed.
- Visualization users: four of the other ten CVEs are in CODESYS Visualization before 4.11.0.0 (advisory VDE-2026-154); The Hacker News says 4.11.0.0 was released last week.
- After patching, Limes recommends checking the integrity of the controller and its application, because patching alone does not show whether a controller was already tampered with. That recommendation is Limes’ own research-side advice, not part of the CERT@VDE advisory.
Sources
- CERT@VDE: CODESYS Control - multiple vulnerabilities (VDE-2026-169)
- Limes Security: PLC2Shell: Pre-Auth RCE in CODESYS Control Runtime
- CERT@VDE: CODESYS Visualization - multiple vulnerabilities (VDE-2026-154)
- The Hacker News: Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password
