News Digital & Internet News

Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers

A close-up photograph of an industrial control panel in a plant operations room
Table of Contents

Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers

A critical flaw in widely used industrial software lets an attacker run code on a factory controller with no password and no click.

The flaw affects CODESYS Control, the runtime software inside programmable logic controllers from many makers. It carries a severity score of 9.8 out of 10, and only half of the affected products have a fix ready today.

What the flaw lets an attacker do

The flaw, tracked as CVE-2026-127148, is an out-of-bounds write in the two components that process online-service traffic. In plain terms, a crafted packet can corrupt memory before the system checks who is connecting. That lets an attacker run code on the controller from the network, with no login and no user action.

The one requirement is network access to the controller’s online services, the interface used to program and manage it. Controllers are meant to sit on protected industrial networks, not on the open internet. But researchers found 1,094 CODESYS devices reachable directly from the internet, which shows that some are exposed.

The Hacker News reported that the flaw is the most serious finding of PLC2SHELL, a research project by OT security firm Limes Security. The project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, and 11 of them now carry CVE numbers. Researcher Felix Eberstaller led the work, and the CVE record also credits Luca Borzacchiello of Nozomi Networks as a finder of the critical flaw.

Dark Reading reported that the researchers showed code execution on Windows, Linux and VxWorks runtimes, and on a physical Schneider Electric Modicon M241 controller. They are holding back exploitation details until patches are widely deployed. No exploitation was known when CISA assessed the flaw earlier this week.

Which products are affected

CODESYS Control is not one vendor’s PLC. Device makers license it and build it into their own hardware. The affected list spans products for Beckhoff controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. CODESYS says well over 10 million compatible controllers are in use worldwide, across about 1,000 device types from over 500 manufacturers. That count describes the ecosystem, not the number of vulnerable devices.

The security advisory splits the 26 affected products into two groups. Thirteen products, including Control RTE, Control Win, Runtime Toolkit, Gateway, HMI and Safety SIL2, have a fixed version, 3.5.22.50, available now. The other 13, including every Linux-based runtime, wait on release 4.24.0.0, which is planned for this month.

The first group also includes CODESYS Safety SIL2, a safety runtime. The advisory lists it as affected, but it has not been shown that the flaw could defeat a deployed, certified safety function. The second group covers Control for Linux, Linux ARM, Virtual Control, Control for Raspberry Pi, PFC100 and PFC200, PLCnext, WAGO Touch Panels 600 and Edge Gateway for Linux.

An industrial control panel with illuminated push buttons and analog gauges
An industrial control panel with illuminated push buttons and analog gauges.

More flaws in the same research

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. 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 the workstation trusts or tampers with the connection between them.

The last two affect only the Linux and QNX builds of the runtime and need an authenticated account, a high-privileged one for the flaw that allows code execution. About 30 more findings remain under coordinated disclosure, with a full presentation planned for a conference next year. The findings were sent to the vendor in July through CERT@VDE.

What operators should do now

The fixes that exist now install through the CODESYS Installer or the vendor’s download area. Operators of Linux-based products can only watch for 4.24.0.0 this month. 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. That advice sounds basic, but it is the single step that removes the flaw’s reach. A controller that cannot be reached from the network cannot be attacked through this flaw.

Patching is harder than it sounds. Most affected runtimes ship inside device makers’ firmware, so a fixed version reaches operators only when the manufacturer releases its own update. Regulated plants may also need to retest equipment before installing it. That is why the window between disclosure and full patching matters so much.

The platform has drawn this kind of attention before. In August 2023, Microsoft disclosed 16 flaws in the CODESYS V3 software development kit, and most of them required an attacker to log in first. This week’s critical flaw needs no login at all. That difference is why it scored 9.8, and why operators who run CODESYS gear should treat it as urgent. The wider lesson is familiar from other supply chain attacks: a mass supply chain hack hit 178 websites through one shared component, and one shared runtime can carry the same kind of risk into factories. Security teams are also watching a second trend, as the FBI flagged weaponized AI agent frameworks in cyberattacks that can probe industrial systems on their own. Autonomous agents are now attacking on their own: Perplexity says an autonomous AI agent attacked its systems.

Frequently Asked Questions

What is CVE-2026-127148?

It is a critical flaw in CODESYS Control, the runtime software inside many industrial controllers. It lets a remote attacker run code on a controller without a password, as long as the attacker can reach the controller’s online services over the network.

Which products are affected?

Twenty-six products are affected, spanning Windows, Linux and VxWorks runtimes from many device makers. Thirteen have a fix in version 3.5.22.50 now, and the other 13, including all Linux-based runtimes, wait for version 4.24.0.0, planned for December 2026.

Is the flaw being exploited in the wild?

No exploitation was known when CISA assessed the flaw earlier this week. The researchers have withheld exploitation details while fixes roll out, and they found 1,094 CODESYS devices reachable directly from the internet.

What should operators do until they can patch?

They should restrict access to the controllers’ online services with firewalls and network segmentation, allow only trusted systems to reach them, and use a VPN with strong authentication for remote access. They should not expose CODESYS runtimes to untrusted networks or the internet.

Sources

Caleb Cox
Digital & Internet News Correspondent

Caleb Cox

Caleb Cox covers digital and internet news for Time of Explorer — the platforms, trends and stories of the online world. He has followed the internet industry for seven years, from social platforms to the infrastructure underneath them.

View Full Author Profile →
Keep Reading

Related Stories

More in News →