
A critical flaw in the CODESYS Control runtime, the software that runs the control program inside programmable logic controllers (PLCs) from hundreds of manufacturers, lets an attacker who can reach the controller over the network run their own code on it without logging in. CODESYS GmbH published Security Advisory 2026-17 on 30 November 2026, and CERT@VDE, the German industrial computer emergency response team that coordinated the disclosure, published the same advisory as VDE-2026-169. The advisory covers five vulnerabilities. The most serious one, CVE-2026-127148, is scored 9.8 out of 10, rated Critical, on version 3.1 of the Common Vulnerability Scoring System (CVSS). On 2 December the Austrian research firm Limes Security published a write-up that calls the research project PLC2Shell. Fixes are out for the Windows-based products, but the fix for the Linux-based runtimes is only planned for December 2026, and most controllers with CODESYS built in will need a firmware update from their own manufacturer. No attacks using these flaws have been reported so far.
CODESYS describes the five flaws in its advisory. All of them are reached through the CODESYS online protocol, the network connection that engineering software uses to program, monitor and manage a controller.
The flaws were reported by Felix Eberstaller of Limes Security and QuellSec, and the two most serious ones were also found independently by Luca Borzacchiello of Nozomi Networks.
Limes Security says the PLC2Shell project found about 40 vulnerabilities in total across the CODESYS Control runtime, CODESYS Visualization and the engineering components, and that the eleven published so far are only the first part. The researchers say they demonstrated code execution on Windows, Linux and VxWorks runtimes, as well as on a Schneider Electric Modicon M241 controller, and that on the devices in their lab the attacker's foothold survived a restart and stayed on the controller until the firmware was reflashed. They are deliberately withholding the exploitation details while affected products are being updated. Limes also points out that CODESYS Safety SIL2, the runtime used for functional safety, is on the affected list, so owners of safety-related systems should include these flaws in their risk assessment. A separate advisory, VDE-2026-170, covers two more flaws in the Linux and QNX platform layer of the runtime.
CODESYS lists two groups of affected products.
Until version 4.24.0.0 is released, the Linux-based products have no fix, so network restrictions are the only protection.
CODESYS is not just one brand of controller. According to CODESYS, about 1,000 device types from more than 500 manufacturers are built on it, and the runtime is often shipped inside the manufacturer's own firmware under the manufacturer's own brand name. Many plant owners have CODESYS-based controllers, drives, human-machine interface (HMI) panels and edge gateways without knowing it. When the runtime is part of a hardware controller's firmware, the owner cannot patch it directly and has to wait for that controller's manufacturer to integrate the CODESYS fix and release new firmware. Then the update needs a maintenance window, because updating a controller usually means stopping the process it runs, and safety-related systems may need retesting. Controllers that are no longer supported may never get a fix.
These controllers show up from the plant floor to the cloud: in field panels and skids that run pumps, valves and motors, in soft PLCs running on industrial computers and virtual machines, in HMI panels, in the gateways that link controllers to supervisory control and data acquisition (SCADA) systems and historians, and in edge gateways that send data to cloud platforms. A pre-authentication flaw means anyone who can reach the online service port can try it, so the real question for each site is who can reach these controllers over the network. Code running on a controller means control over the physical process itself, and as Limes notes, the HMI screens are fed by the same controller, so operators may keep seeing normal values while the process does something else.
On 24 November we covered the related CODESYS Visualization flaws from the same research team (VDE-2026-154), which affect the engineering workstation rather than the controller: https://www.redtigersecurity.com/advisory/codesys-visualization-engineering-workstation-flaws
Red Tiger can help. During our plant-safe onsite assessments, our team walks the system from the perimeter through the demilitarized zone (DMZ) and control room down to the field devices, identifies the controllers and gateways that run CODESYS, and maps every path that can reach their online services. We can then help you remediate and harden what we find, segment the controller networks, set up secure remote access, install a firewall and sensor at the site, connect them to the Red Tiger 24x7 security operations center (SOC), and monitor the site for ongoing detection and response, with regular metrics and reports. Our team has completed more than 500 assessments and trained more than 4,500 people.
We are here to help, so check out our resources online at www.redtigersecurity.com and book a follow-up call with our team if you have any questions: https://calendly.com/jonathanpollet/30min
Source: CODESYS GmbH, CODESYS Security Advisory 2026-17, CODESYS Control multiple vulnerabilities, 30 November 2026: https://api-us.codesys.com/fileadmin/user_upload/CODESYS_Group/Ecosystem/Up-to-Date/Security/Security-Advisories/Advisory2026-17_RTS-300.pdf
Source: CERT@VDE, VDE-2026-169, CODESYS Control multiple vulnerabilities, 30 November 2026: https://certvde.com/en/advisories/VDE-2026-169/
Source: Limes Security, "PLC2Shell: Pre-Auth RCE in CODESYS Control Runtime," 2 December 2026: https://plc2shell.com/en/plc2shell-vulnerability/
Source: SecurityWeek, "In Other News: Exploited Veeam Bugs, AI-Assisted Linux Hacking, PLC2Shell Vulnerabilities," 4 December 2026: https://www.securityweek.com/in-other-news-exploited-veeam-bugs-ai-assisted-linux-hacking-plc2shell-vulnerabilities/
Check out our resources and book a follow-up call with our team.