Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password
A critical flaw in CODESYS Control, the runtime software used in programmable logic controllers from many manufacturers, allows an attacker to run code on a controller without a password and without user action. The one requirement is network access to the controller's online services, the interface used to program and manage it. Thirteen of the 26 affected products have a fixed version, 3.5.22.50, available now. The other 13, including the Linux-based runtimes, wait on release 4.24.0.0, planned for this month.
The flaw, tracked as CVE-2026-127148, is an out-of-bounds write in the two components that process online-service traffic. CODESYS GmbH disclosed it earlier this week through CERT@VDE, which gave it a CVSS score of 9.8. The security advisory splits the affected products into two groups. The first group includes CODESYS Safety SIL2, a safety runtime, and the simulation runtime within the CODESYS Development System, which also puts engineering workstations in scope. Whether the flaw could defeat a deployed, certified safety function has not been demonstrated.
CODESYS Control is not one vendor's PLC: device makers build it into their own hardware, and the affected list spans products for Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. Well over 10 million CODESYS-compatible controllers are in use worldwide, according to the vendor's ecosystem figures, a count that describes the ecosystem, not the number of vulnerable devices. The flaw is the most serious finding of PLC2SHELL, a research project that Limes Security made public yesterday in a research write-up.
The project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, of which 11 now carry CVE numbers. The researchers demonstrated code execution on Windows, Linux and VxWorks runtimes, and on a physical Schneider Electric Modicon M241 controller. All of this was laboratory work, and they are holding back exploitation details until patches are widely deployed. The findings were sent to the vendor in July via CERT@VDE. About 30 remain under coordinated disclosure, with a full presentation planned for a conference next year.
The CVE record also credits Luca Borzacchiello of Nozomi Networks as a finder of the critical flaw, alongside Felix Eberstaller, the researcher behind the work. No exploitation was known when CISA assessed the flaw earlier this week: the agency's entry lists exploitation as none and rates the flaw as automatable. Until updates land, the advisory recommends restricting online services with firewalls and network segmentation so that only trusted systems can reach them, and using a VPN with strong authentication for remote access. Operators of Linux-based products can only monitor 4.24.0.0 this month.
Source credits
The Hacker News. Edited by SetuGeo.