December 4, 2026
← All advisories

Critical CODESYS Control Runtime Flaw Lets Attackers Take Over Controllers Without a Login

Fix status comparison for the CODESYS Control runtime flaws: a 9.8 critical score for CVE-2026-127148, which needs no login, next to Windows-based products fixed now in version 3.5.22.50 and Linux-based products with the fix 4.24.0.0 planned for December 2026, plus a reminder that controllers with CODESYS built in need firmware from their manufacturer and four defensive steps.

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.

What the flaws are

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.

  • CVE-2026-127148, scored 9.8 (Critical). An out-of-bounds write, meaning the software writes data past the end of the memory it set aside, in the CmpChannelMgr and CmpChannelMgrEmbedded components that handle online service packets. An unauthenticated attacker, meaning someone who does not need a username or password at all, can send a specially crafted packet and run arbitrary code on the device. That is remote code execution, and CODESYS says it results in a complete compromise of confidentiality, integrity and availability.
  • CVE-2026-127149, scored 7.1 (High). The redundancy component does not check permissions properly. An attacker with a low-privileged account can change the redundancy configuration or cause the controller to stop controlling the process.
  • CVE-2026-127147, scored 6.5 (Medium). An integer underflow, a math error in a length check, in the settings component lets an attacker with a low-privileged account crash the runtime, which is a denial-of-service condition.
  • CVE-2026-127150, scored 5.5 (Medium). A path traversal flaw in the OpenSSL component lets an attacker with an administrator account learn whether selected files exist on the device and may cause a denial-of-service condition.
  • CVE-2026-127146, scored 4.3 (Medium). The breakpoint component does not check permissions properly for some debug operations, so an attacker with a low-privileged account can change debug breakpoints set by a legitimate user.

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.

What the researchers say

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.

Who is affected and is there a fix?

CODESYS lists two groups of affected products.

  • Fixed now in version 3.5.22.50 (all versions from 3.0.0.0 up to, but not including, 3.5.22.50): CODESYS Control RTE (SL), CODESYS Control RTE (for Beckhoff CX) SL, CODESYS Control Win (SL), CODESYS Runtime Toolkit, CODESYS Embedded Target Visu Toolkit, CODESYS Remote Target Visu, CODESYS Safety SIL2, CODESYS Gateway, CODESYS Edge Gateway for Windows, CODESYS HMI (SL), CODESYS OPC DA Server SL, CODESYS PLCHandler and CODESYS Development System 3, where the simulation runtime is affected.
  • Fix planned for December 2026 in version 4.24.0.0 (all versions from 3.5.0.0 up to, but not including, 4.24.0.0): CODESYS Control for BeagleBone SL, CODESYS Control for emPC-A/iMX6 SL, CODESYS Control for IOT2000 SL, CODESYS Control for Linux ARM SL, CODESYS Control for Linux SL, CODESYS Control for PFC100 SL, CODESYS Control for PFC200 SL, CODESYS Control for PLCnext SL, CODESYS Control for Raspberry Pi SL, CODESYS Control for WAGO Touch Panels 600 SL, CODESYS Virtual Control SL, CODESYS Edge Gateway for Linux and CODESYS TargetVisu for Linux SL.

Until version 4.24.0.0 is released, the Linux-based products have no fix, so network restrictions are the only protection.

Why this matters for plants and utilities

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

What to do now

  1. Find every CODESYS-based device you own and ask each controller vendor for its firmware timeline. Check your asset inventory for controllers, HMI panels, soft PLCs and gateways that run CODESYS, including devices where it is built into the vendor's firmware. CERT@VDE publishes VDE-2026-169 as a machine-readable Common Security Advisory Framework (CSAF) document that can be matched against an inventory. Ask each manufacturer in writing whether its products are affected, which firmware fixes them and when it will ship.
  2. Patch the Windows-based runtimes, gateways and engineering tools to version 3.5.22.50. This includes CODESYS Control Win, Control RTE, the CODESYS Gateway, Edge Gateway for Windows, HMI, OPC DA Server, PLCHandler and the Development System. Plan the Linux-based products for version 4.24.0.0 as soon as it is released, and schedule the maintenance windows now.
  3. Restrict the CODESYS online protocol to the engineering network. Use firewalls and network segmentation so that only trusted engineering workstations can reach the controllers' online services, and make sure no CODESYS device can be reached from the internet or the business network. Where remote access is needed, allow it only through a virtual private network (VPN) with strong authentication, such as multifactor authentication, and turn on the controllers' user management and passwords.
  4. Monitor for unexpected online connections. Use operational technology (OT) network monitoring to flag any connection to a controller's CODESYS online services from a system that is not an approved engineering workstation, and investigate it. Because a compromise can survive a restart, consider integrity checks of the controller and its application program as part of any response.

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/

← All advisories

Cite this advisory: Red Tiger Security, "Critical CODESYS Control Runtime Flaw Lets Attackers Take Over Controllers Without a Login", December 4, 2026, https://www.redtigersecurity.com/advisory/codesys-plc2shell-control-runtime-rce

Read the original source →

We are here to help.

Check out our resources and book a follow-up call with our team.

+1.877.387.7733