A newly disclosed vulnerability in CODESYS Control—software used in programmable logic controllers (PLCs) by numerous industrial vendors—permits remote attackers to execute arbitrary code without any password or user interaction. This flaw affects controllers’ online services, which are used for programming and device management. An attacker only needs network access to exploit it.
Scope & Severity
The vulnerability, identified as CVE-2026-127148, stems from an out-of-bounds write in components that handle traffic for CODESYS’s online services. It carries a 9.8 out of 10 CVSS score—placing it among the most critical flaws discovered for industrial control systems this year.
Two groups of products are affected:
- Thirteen products—including CODESYS Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, and the Development System—are vulnerable if running versions from 3.0.0.0 up to but not including 3.5.22.50. A fixed version, 3.5.22.50, is already available.
- The other thirteen—including Linux-based runtimes, Control for Raspberry Pi SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, Edge Gateway for Linux, and the PFC100/PFC200 SL—are running versions from 3.5.0.0 up to 4.24.0.0 (exclusive). Fix 4.24.0.0 is expected this December 2026.
Real-World Impact & Discovery
CODESYS is not a single manufacturer’s PLC: the software is built into devices from many players, such as Beckhoff, WAGO, the PLCnext ecosystem, and even Raspberry Pi-based installations. According to ecosystem metrics, there are more than 10 million CODESYS-compatible controllers in active use globally—though not all are vulnerable. Industrial safety systems, engineering workstations, and certified safety runtimes are among the at-risk deployments.
The flaw was uncovered by OT security firm Limes Security as part of its PLC2SHELL research project, which revealed nearly 40 vulnerabilities in CODESYS systems (run-times, visualization, engineering tools), 11 of which now have public CVE identifiers. Researchers demonstrated exploits running on Windows, Linux, and VxWorks platforms, as well as a Schneider Electric Modicon M241 controller. No proof of active exploitation has surfaced, and more exploit details are being withheld until fixes are broadly installed.
Response & Mitigation
CODESYS GmbH published a security advisory via CERT@VDE and confirmed the issue in July. The first batch of product fixes (version 3.5.22.50) is ready for half of the affected products; the remaining Linux-based ones are due version 4.24.0.0 this month.
Mitigations until patching include strict firewall restrictions, network segmentation, and ensuring only trusted hosts can access CODESYS online services. Remote access should be tunneled over VPN with strong authentication. Most controllers ship with firmware from device makers—meaning patch deployment may require waiting for manufacturers’ support and possibly regulatory revalidation in industrial contexts.
Earlier flaws in CODESYS (notably in the V3 SDK) required some form of authentication, making this unauthenticated, remote code execution issue exceptionally severe. This marks a turning point in how threat actors might exploit industrial control infrastructure.
Analytical Perspective: This vulnerability underscores a growing risk in industrial control systems—platforms built for physical operations being undermined by remote software flaws without any access barriers. For operators, it means that system architecture—how and where controllers are networked—is now as critical as code security. The patch rollout will be a test of vendor responsiveness, particularly among device manufacturers who must issue firmware-level updates. Watch how quickly industry regulators require proof of patching in safety-critical or certified systems. In the meantime, network hygiene—segmentation, limiting exposure, vetting remote access—is the strongest line of defence.