A critical flaw in CODESYS Control, the runtime software used in programmable logic controllers (PLCs) from many manufacturers, allows an attacker to run code on a controller without a password and without user action.

The one requirement is network access to the controller's online services, the interface used to program and manage it.

It has been revealed that thirteen of the 26 affected products have a fixed version, 3.5.22.50, available now. The other 13, including the Linux-based runtimes, wait on release 4.24.0.0, planned for this month.

The flaw, tracked as CVE-2026-127148, is an out-of-bounds write in the two components that process online-service traffic. CODESYS GmbH, the company behind the platform, disclosed it earlier this week through CERT@VDE, which gave it a CVSS score of 9.8.

The security advisory splits the affected products into two groups.

Industry observers note that the first group includes CODESYS Safety SIL2, a safety runtime, and the simulation runtime within the CODESYS Development System, which also puts engineering workstations in scope. Whether the flaw could defeat a deployed, certified safety function has not been demonstrated.

CODESYS Control is not one vendor's PLC: device makers build it into their own hardware, and the affected list spans products for Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. Well over 10 million CODESYS-compatible controllers are in use worldwide, according to the vendor's ecosystem figures, a count that describes the ecosystem, not the number of vulnerable devices.

The flaw is the most serious finding of PLC2SHELL, a research project that Limes Security, an OT security company, made public yesterday in a research write-up. The project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, the company said, of which 11 now carry CVE numbers.

The researchers demonstrated code execution on Windows, Linux and VxWorks runtimes, and on a physical Schneider Electric Modicon M241 controller. All of this was laboratory work, and they are holding back exploitation details until patches are widely deployed.

It has been revealed that the findings were sent to the vendor in July via CERT@VDE. About 30 remain under coordinated disclosure, with a full presentation planned for a conference next year.

The CVE record also credits Luca Borzacchiello of Nozomi Networks as a finder of the critical flaw, alongside Felix Eberstaller, the researcher behind the work.

No exploitation was known when CISA assessed the flaw earlier this week: the agency's entry on the vulnerability record lists exploitation as none and rates the flaw as automatable.

The other ten published CVEs ask more of an attacker. Four sit in the same advisory as the critical flaw, score between 4.3 and 7.1, and all need an authenticated account.

Four more affect CODESYS Visualization versions before 4.11.0.0, and were fixed in that release last week, per a separate visualization advisory. The three scored 8.8 can put code on an engineering workstation, but only when a signed-in user operates an online visualization, and the attacker controls a runtime that the workstation trusts or tampers with the connection between them. The fourth is a low-severity local concern.

The last two, covered in a separate Linux advisory, affect only the Linux and QNX builds of the runtime and require an authenticated account, a high-privileged one for the flaw that allows code execution.

The fixes that exist now, 3.5.22.50 for the runtime products and 4.11.0.0 for Visualization, install through the CODESYS Installer or the vendor's download area. Operators of Linux-based products can only monitor 4.24.0.0 this month.

According to recent reports, until updates land, the advisory recommends restricting online services with firewalls and network segmentation so that only trusted systems can reach them, and using a VPN with strong authentication for remote access. "Do not expose CODESYS runtimes to untrusted networks or the Internet," the researchers wrote.

Most of the affected runtimes ship inside device makers' firmware, so a fixed version reaches operators only when the manufacturer releases its own update, and regulated plants may need to retest before installing it.

Discover why SHA pinning alone isn't enough and learn how to close hidden security gaps in your GitHub Actions pipelines.

Learn what 6,000 real-world attacks reveal about MFA weaknesses and how to stop AI-driven phishing and account takeovers.

Get the latest news, expert insights, exclusive resources, and strategies from industry leaders, all for free.

→ Read original article