CVE-2026-127148 lets an attacker run code on a CODESYS Control runtime with no password and no user action. The only requirement is network reach to the controller's online services, the interface programming tools use to load and manage logic on the device. CERT@VDE scored it 9.8, and CISA rates it automatable, with no known exploitation as of the agency's assessment earlier this week.

The bug is an out-of-bounds write in the two components that process online-service traffic, and CODESYS GmbH disclosed it this week through CERT@VDE.

The affected list matters more than the single CVE number. CODESYS Control is not one vendor's PLC; device makers build the runtime into their own hardware, and the advisory names 26 affected products spanning Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. The vendor puts well over 10 million CODESYS-compatible controllers in service worldwide, a figure that counts the ecosystem rather than the vulnerable population.

Thirteen of the 26 have a fix now, version 3.5.22.50, available through the CODESYS Installer or the vendor's download area. The other thirteen, including the Linux-based runtimes, wait on release 4.24.0.0, planned for this month.

One group in the advisory stands out: CODESYS Safety SIL2, a safety runtime, and the simulation runtime inside the CODESYS Development System, which pulls engineering workstations into scope. Nobody has shown whether the flaw can defeat a deployed, certified safety function, so that stays an open question.

What PLC2SHELL turned up

The critical flaw is the headline result of PLC2SHELL, research that OT security firm Limes Security published yesterday. The project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and the engineering components. Eleven now carry CVE numbers and roughly 30 remain under coordinated disclosure, with a full presentation planned for a conference next year. The researchers demonstrated code execution on Windows, Linux and VxWorks runtimes and on a physical Schneider Electric Modicon M241, all of it lab work, and they are holding back exploitation detail until patches are widely deployed. The findings went to the vendor in July via CERT@VDE. The CVE record credits Luca Borzacchiello of Nozomi Networks alongside Felix Eberstaller.

The other ten published CVEs ask more of an attacker. Four sit in the same advisory as the critical bug, score between 4.3 and 7.1, and all need an authenticated account. Four affect CODESYS Visualization before 4.11.0.0, fixed in that release last week; the three scored 8.8 can land code on an engineering workstation, but only when a signed-in user runs an online visualization and the attacker already controls a runtime the workstation trusts or can tamper with the connection. The fourth visualization issue is a low-severity local one. Two more, in a separate Linux advisory, affect only the Linux and QNX builds and need an authenticated account, a high-privileged one for the case that allows code execution. The unauthenticated 9.8 is the one that changes your exposure; the rest each need a foothold the critical flaw does not, whether an account, a trusted runtime, or local access.

Patching is the slow part

Until a fixed build reaches you, the advisory's mitigation is the standard OT perimeter: firewall and segment the online services so only trusted systems can reach them, and require a VPN with strong authentication for remote access. The researchers were blunt about it: do not expose CODESYS runtimes to untrusted networks or the Internet.

The timing is the hard part. Most of these runtimes ship inside a device maker's firmware, so 3.5.22.50 only reaches you when Beckhoff, WAGO or whoever packages and releases its own update, and regulated plants may have to retest before installing it. Operators of Linux-based products have nothing to install yet and can only watch for 4.24.0.0 this month. Network isolation is the control you actually hold while that plays out.

CODESYS has been here before. In August 2023 Microsoft disclosed 16 flaws in the V3 SDK, and most of them required the attacker to log in first. This one requires no login.