PLC2Shell: The 9.8-Severity Flaw Hiding Inside Industrial Controllers

Open industrial control cabinet with rows of grey controller modules, coloured wiring and green status lights

PLC2Shell: The 9.8-Severity Flaw Hiding Inside Industrial Controllers

Open industrial control cabinet with rows of grey controller modules, coloured wiring and green status lights

PLC2Shell: The 9.8-Severity Flaw Hiding Inside Industrial Controllers

PLC2Shell is the name researchers have given to a set of flaws in CODESYS Control, the runtime software built into industrial controllers from hundreds of manufacturers, and its most serious finding is about as bad as severity scores get. Tracked as CVE-2026-127148 and rated 9.8 out of 10, the flaw could let an attacker who can reach a vulnerable controller over the network run code on it without logging in and without any help from an operator.

The research, led by Felix Eberstaller of Limes Security, found about 40 issues across the CODESYS runtime, visualization and engineering software. The first 11 vulnerabilities were published by CERT@VDE on November 24 and 30, 2026, with the critical flaw detailed in CODESYS Security Advisory 2026-17. Fixes are available for Windows-based products, while Linux-based runtimes are scheduled to receive their update during December 2026.

There is no reported evidence of attacks in the wild, and the researchers say they are withholding exploitation details while fixes roll out. That is the good news. The harder news is structural: because CODESYS sits inside other companies’ hardware, many operators will not be able to patch until their device manufacturer ships new firmware, and some may not even realise their equipment runs CODESYS at all.

Key takeaways

  • PLC2Shell is Limes Security research covering about 40 issues in CODESYS runtime, visualization and engineering software; 11 have been published so far.
  • The worst flaw, CVE-2026-127148, is rated CVSS 9.8 and could allow code execution on a controller without credentials, if the attacker can reach its online services.
  • 26 CODESYS products are affected: 13 Windows and toolkit products are fixed in version 3.5.22.50, while 13 Linux-based products wait for 4.24.0.0, planned for December 2026.
  • No in-the-wild exploitation has been reported, and researchers demonstrated the flaw only in lab conditions, including on a Schneider Electric Modicon M241.
  • Operators of embedded controllers need firmware from their device manufacturer, and should restrict controller network access to trusted engineering systems in the meantime.

What PLC2Shell Is and What Was Found

PLC2Shell is a research project by Limes Security, an operational technology security firm, with the critical flaw also credited to Luca Borzacchiello of Nozomi Networks. The team reported about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and the engineering components, of which the first 11 have been published through CERT@VDE, the German coordination body for industrial security advisories. Around 30 further findings remain under coordinated disclosure, so the full picture is not yet public.

The headline flaw sits in the components that handle the CODESYS online protocol, the interface engineers use to program, debug and manage a controller. According to the advisory, those components did not properly check the length of incoming online-service packets, allowing a specially crafted packet to write data beyond its intended boundary in memory. In plain terms, the runtime can be pushed into running code chosen by whoever sent the packet, before any login check takes place. This article deliberately does not describe how that is done; the defensive facts are what matter for operators.

Demonstrated in the lab, not seen in the wild

Eberstaller demonstrated code execution on Windows, Linux and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 controller. Limes also reported that on its lab devices it could establish persistence that survives a restart and remains until the firmware is reflashed, while noting other devices may behave the same way. Those are lab results, and they should be read as a measure of what is possible rather than evidence of what has happened in real plants.

On the question everyone asks first, the reporting is consistent: no exploitation in the wild has been reported. Limes said it had no evidence of active exploitation, and CISA’s assessment in the CVE record listed exploitation as none, while rating the flaw as automatable with total technical impact. That combination, severe but not yet exploited, is exactly the window in which patching and network restrictions do the most good.

Why CODESYS Makes This Bigger Than One Vendor

To understand the reach of PLC2Shell, it helps to understand what CODESYS is. CODESYS, short for Controller Development System, is a vendor-independent development environment and runtime for programming industrial controllers to the IEC 61131-3 standard. Engineers write control programs in the CODESYS Development System, and the CODESYS Control runtime executes those programs on a programmable logic controller, an industrial PC or another embedded device.

Technician in a hard hat and hi-vis vest checking an industrial control panel with indicator lights
Controllers running embedded runtime software sit at the heart of factories, utilities and building systems, often under another manufacturer’s brand.

Device manufacturers license the runtime and build it into their own hardware rather than writing their own. By the figures CODESYS itself has cited, around 1,000 device types from more than 500 manufacturers are CODESYS-compatible, and the company says more than 10 million compatible devices are in use. Those are vendor figures and should be treated as an indication of scale rather than a precise census, but the direction is not in doubt: one runtime flaw can surface in equipment carrying many different brand names.

This is a familiar pattern in industrial security, and it is why coverage of cybersecurity moving from digits to atoms keeps returning to asset inventory before anything else. You cannot patch what you cannot list. PLC2Shell turns that general advice into a specific task: find every controller, gateway, panel and engineering workstation that touches CODESYS, then work out which side of the patch line each one sits on.

At a glance: the patch split

Product group Affected versions Fixed version
Windows runtimes and toolkits, including Control RTE, Control Win, Gateway, HMI, Safety SIL2 and Development System 3 3.0.0.0 to before 3.5.22.50 3.5.22.50, available now
Linux and device-specific runtimes, including Control for Linux, Raspberry Pi, PFC100/PFC200, PLCnext and WAGO Touch Panels 600 3.5.0.0 to before 4.24.0.0 4.24.0.0, planned for December 2026
Controllers with CODESYS embedded in manufacturer firmware Depends on the device maker Firmware update from the device manufacturer

The Patch Picture: Half Fixed, Half Waiting

Of the 26 affected CODESYS products, 13 have a fixed release available now. Windows-based runtimes and toolkits, including Control RTE (SL), Control Win (SL), the Runtime Toolkit, Gateway, HMI (SL), Safety SIL2 and Development System 3, should move to version 3.5.22.50 through the CODESYS Installer or the vendor’s download area. The inclusion of Development System 3 matters because its simulation runtime is affected, which puts engineering workstations in scope alongside controllers.

The other 13 products, the Linux-based and device-specific runtimes, wait for version 4.24.0.0, which the advisory says is planned for December 2026. That group includes Control for Linux and Linux ARM, Raspberry Pi, BeagleBone, PFC100 and PFC200, PLCnext, WAGO Touch Panels 600, Virtual Control, and the Linux edge gateway and visualization components. A separate update, CODESYS Visualization 4.11.0.0, addresses distinct flaws, three of which could allow code to run on an engineering workstation.

Embedded devices move at firmware speed

For controllers with CODESYS built into their firmware, the fix has to travel an extra step: each device manufacturer must integrate the updated runtime, test it and release its own firmware, and operators then need a maintenance window to install it. For safety-related systems, retesting may also be required. That chain is nobody’s fault in particular, but it means the tail of this disclosure will be long, and some equipment will remain unpatched well into 2027 simply because shutdown windows are scarce.

One detail deserves careful reading. The advisory lists CODESYS Safety SIL2 among the affected products, but coverage notes this does not mean an independent safety function has been defeated, and it has not been demonstrated whether the flaw could defeat a deployed, certified safety function. Readers should hold both facts at once: a safety-related runtime is in the affected list, and claims beyond that are unconfirmed.

Exposure: The Controllers Facing the Internet

The flaw requires network access to the controller’s online services. In a well-segmented plant, that access should exist only from trusted engineering systems, which sharply limits who could ever reach the vulnerable interface. The concern is how many installations do not look like that. Limes Security reported finding 1,094 CODESYS devices reachable from the internet in its scan, across 43 countries according to one analysis of the scan data.

What operators should do while waiting

The defensive guidance across the coverage is consistent and unglamorous. Inventory CODESYS-based equipment, including rebranded devices, and check runtime versions against the advisory, the asset-inventory discipline at the heart of OT and ICS security. Install 3.5.22.50 wherever it exists, on soft PLCs and toolkits as well as engineering workstations. Ask device manufacturers directly whether their firmware embeds CODESYS and when an update will ship. And until the Linux fix and manufacturer firmware arrive, use firewalls to separate control networks and permit CODESYS service connections only from trusted engineering systems.

Direct internet access to controllers should be removed, remote access should run through a secured VPN with strong login checks, and teams should monitor for connections from unexpected systems. None of this is new advice, which is rather the point. PLC2Shell does not demand exotic defences; it rewards the basic ones, applied before an incident rather than after. Plants investing in the kind of connected operations described in our coverage of AI-driven industrial infrastructure for the factory of tomorrow should treat that segmentation work as part of the same programme, not a separate one.

Frequently Asked Questions

What is PLC2Shell?

PLC2Shell is the name of a Limes Security research project that found about 40 vulnerabilities across the CODESYS runtime, visualization and engineering software. The first 11 were published by CERT@VDE in late November 2026, with more under coordinated disclosure.

How severe is CVE-2026-127148?

It is rated CVSS 9.8, critical. The flaw is an out-of-bounds write in the components handling the CODESYS online protocol, and the advisory says an unauthenticated remote attacker who can reach those services could execute arbitrary code on the affected product.

Has the flaw been exploited in real attacks?

No in-the-wild exploitation has been reported. Limes Security said it had no evidence of active exploitation, CISA’s assessment listed exploitation as none, and the demonstrations were lab work, including on a Schneider Electric Modicon M241.

Which products are fixed and which are waiting?

Thirteen Windows and toolkit products are fixed in version 3.5.22.50, available now. Thirteen Linux-based and device-specific products wait for 4.24.0.0, planned for December 2026. Embedded controllers need firmware from their own manufacturer.

What should plant teams do first?

Inventory equipment that runs CODESYS, including rebranded devices, check versions against the advisory, patch what can be patched, press manufacturers for firmware timelines, and restrict controller network access to trusted engineering systems with no direct internet exposure.

The Bottom Line

PLC2Shell deserves attention not because an attack has happened, but because the conditions for one are unusually clear: a critical, unauthenticated flaw in runtime software embedded across hundreds of manufacturers’ controllers, a patch that is only half available, and more than a thousand CODESYS devices found reachable from the internet. The window to act before exploitation is open now, and it will not stay open indefinitely.

For operators, the work is concrete: find the CODESYS in your estate, patch the Windows side today, chase firmware for the embedded side, and make sure no controller answers to the wider network while you wait. For the industry, the lesson is broader. Shared runtime software is efficient right up until it is a shared vulnerability, and the plants that know their software supply chain will handle disclosures like this one far better than those still reading the label on the box.

on this page