Threat intel5 min read
CODESYS Control flaw lets attackers run code on PLCs without a login
CVE-2026-127148, rated 9.8, lets an attacker on the network run code on CODESYS-based controllers without a password. Thirteen products have a fix now; the Linux runtimes wait for December.
4Tify Team

The CODESYS Control runtime, the software that runs PLC logic inside controllers from many automation vendors, has a critical flaw that lets an attacker on the network run code on the controller without a password. It is tracked as CVE-2026-127148 and scored 9.8 out of 10. Thirteen of the 26 affected products already have a fix in version 3.5.22.50. The Linux-based runtimes have to wait for 4.24.0.0, which CODESYS has scheduled for December.
What happened
CODESYS GmbH and CERT@VDE published advisory VDE-2026-169 on 30 November 2026. It covers five flaws in the Control runtime. The critical one sits in two components, CmpChannelMgr and CmpChannelMgrEmbedded, which handle the packets of the runtime's online services. That is the channel the engineering software uses to log in to a controller, download programs and monitor it.
The two components don't check packet lengths properly, so a crafted packet can write past the end of a memory buffer. According to the advisory, an unauthenticated remote attacker can use this to execute arbitrary code on the device. The flaw needs no login and no action from a user. Network access to the online services is enough.
Who is affected
CODESYS is not one vendor's PLC. Device makers build the runtime into their own controllers and panels, and the affected list includes runtimes made for Beckhoff CX, WAGO PFC100 and PFC200 controllers, WAGO Touch Panels 600, PLCnext and the Raspberry Pi.
The 26 affected products fall into two groups:
- Versions from 3.0.0.0 up to 3.5.22.50: 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 (through its simulation runtime). Version 3.5.22.50 fixes them and is available now.
- Versions from 3.5.0.0 up to 4.24.0.0: Control for Linux SL, Linux ARM SL, BeagleBone SL, emPC-A/iMX6 SL, IOT2000 SL, PFC100 SL, PFC200 SL, PLCnext SL, Raspberry Pi SL and WAGO Touch Panels 600 SL, plus Virtual Control SL, Edge Gateway for Linux and TargetVisu for Linux SL. There was no fix when the advisory came out. Version 4.24.0.0 is planned for December 2026.
Many controllers carry the runtime inside the manufacturer's firmware. For those devices the fix reaches you only when the device maker ships its own update.
Is it being exploited?
No attacks have been reported. CISA's assessment in the CVE record lists exploitation as "none", but it also marks the flaw as automatable with total technical impact. As of 3 December 2026 the CVE is not in CISA's Known Exploited Vulnerabilities catalog, and no exploit code has been published.
Other fixes in the same release
The same advisory fixes four lower-rated flaws, all of which need an authenticated attacker. The most serious is CVE-2026-127149 (CVSS 7.1), a missing authorization check in the CmpRedundancy component that lets a low-privileged user change the redundancy configuration or stop the PLC from controlling the process.
A second advisory, VDE-2026-170, covers CVE-2026-127167 (CVSS 7.2). It is an out-of-bounds write in the Linux and QNX builds of the runtime that leads to code execution, but it requires a high-privileged account. On 24 November, CODESYS Visualization 4.11.0.0 fixed three flaws rated 8.8 that can run code on the engineering workstation when a logged-in user operates a visualization served by a malicious or intercepted runtime.
What to do now
- List every CODESYS runtime you operate, including the ones built into vendor firmware, and write down the version of each.
- Update Windows-based runtimes, gateways, HMI, PLCHandler and the Development System to 3.5.22.50. Update CODESYS Visualization to 4.11.0.0.
- For Linux-based runtimes and for controllers that embed CODESYS, watch your device maker's advisories and plan the 4.24.0.0 update. Plants that must validate changes should book the test window now.
- Until every device is patched, put the online services behind a firewall and network segmentation so only trusted engineering systems can reach them. Don't expose a controller to the internet, and use a VPN with strong authentication for remote access.
- For the Visualization flaws, turn on encrypted online communication between the Development System and the runtime.
The full product table and fixed versions are in CERT@VDE advisory VDE-2026-169, and the score and vector are on the NVD entry for CVE-2026-127148.
A controller whose online services answer from the wrong network is the kind of exposure Attack Surface Management is built to catch. Our team maps which of your hosts are reachable from outside and flags industrial services that should only be reachable internally, so an exposed PLC shows up on your list before an attacker finds it.
