Cybersecurity Security

PLC2SHELL Research Uncovers 9.8-Rated CODESYS Control Flaw Affecting Industrial Controllers

OT security firm Limes Security has disclosed a critical 9.8-rated out-of-bounds write vulnerability in CODESYS Control runtime software that allows unauthenticated attackers to execute arbitrary code on programmable logic controllers. While 13 affected products have received version 3.5.22.50 patches, 13 Linux-based runtimes await a version 4.24.0.0 release planned for December 2026.

Conceptual illustration of a closed industrial control cabinet behind a clear protective barrier on a factory floor.

CODESYS Control runtime software contains a critical vulnerability that allows unauthenticated attackers with network access to execute arbitrary code on programmable logic controllers. Exploitation requires no password or user interaction. Tracked as CVE-2026-127148, the flaw carries a 9.8 out of 10 severity score under CVSS version 3.1.

As The Hacker News and nFlo reported, CODESYS GmbH disclosed the flaw through CERT@VDE advisory VDE-2026-169. The disclosure followed vulnerability research by operational technology security firm Limes Security. The defect is the most severe finding from PLC2SHELL, a Limes Security research project submitted via CERT@VDE in July.

The PLC2SHELL audit uncovered roughly 40 vulnerabilities across CODESYS Control, CODESYS Visualization, and related engineering components. Eleven of those flaws now carry public CVE identifiers, while about 30 remain under coordinated disclosure ahead of a conference presentation next year. The advisory adds to a string of severe infrastructure warnings this week, including critical hardcoded credential flaws in HPE enterprise networking software and the public exploit release for the critical vBulletin server flaw.

Memory Corruption in Online Service Components

Classified under CWE-787, CVE-2026-127148 is an out-of-bounds write vulnerability affecting the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system. Those components handle traffic over the CODESYS online protocol, which industrial engineers use to program and manage controllers remotely. Due to improper length checking on incoming online service packets, the runtime fails to validate packet boundaries.

By sending a specially crafted request over the network, an unauthenticated remote attacker can overwrite memory on the controller. The attacker can then execute arbitrary code on the device. Successful exploitation results in a complete compromise of device confidentiality, integrity, and availability.

The official advisory credits Felix Eberstaller of Limes Security alongside Luca Borzacchiello of Nozomi Networks for reporting the defect. In laboratory tests, researchers demonstrated remote code execution across Windows, Linux, and VxWorks runtimes as well as on a physical Schneider Electric Modicon M241 controller. The researchers are withholding exploit code while industrial operators deploy fixes.

Hardware manufacturers embed CODESYS Control across industrial product lines including Beckhoff CX controllers, WAGO touch panels, the PLCnext platform, and Raspberry Pi units. Vendor figures indicate well over 10 million CODESYS-compatible controllers operate worldwide across manufacturing and energy facilities. While Microsoft disclosed 16 flaws in the CODESYS V3 software development kit in August 2023, most of those older issues required authentication, whereas CVE-2026-127148 needs no login.

Staggered Remediation Across Affected Runtime Editions

CERT@VDE divides the 26 affected CODESYS Control products into two groups of 13 products with separate remediation schedules. For the first group of 13 Windows, real-time, gateway, and toolkit products running versions from 3.0.0.0 before 3.5.22.50, CODESYS GmbH has released fixed version 3.5.22.50. That group includes Control Win, Control RTE, Gateway, Safety SIL2, and the simulation runtime inside CODESYS Development System 3.

For the remaining 13 Linux and embedded runtime editions running versions from 3.5.0.0 before 4.24.0.0, the vendor plans to release fixed version 4.24.0.0 during December 2026. That second group covers Control for Linux, Linux ARM, Raspberry Pi, BeagleBone, PLCnext, Virtual Control, Edge Gateway for Linux, and WAGO Touch Panels 600.

Alongside CVE-2026-127148, advisory VDE-2026-169 addresses four authenticated runtime flaws: CVE-2026-127149 scored at 7.1 in CmpRedundancy, CVE-2026-127147 scored at 6.5 in CmpSettings, CVE-2026-127150 scored at 5.5 in CmpOpenSSL, and CVE-2026-127146 scored at 4.3 in CmpAppBP. A separate update last week, version 4.11.0.0, fixed four CODESYS Visualization bugs, including three 8.8-rated flaws that can compromise an engineering workstation.

Because many industrial controllers receive runtime updates only after hardware manufacturers package and test new device firmware, immediate patching is not always possible. Until updates are installed via the CODESYS Installer, CERT@VDE and Limes Security advise operators to isolate online protocol services behind firewalls and network segmentation. Plants should also require authenticated virtual private networks for remote access, complementing broader automated software vulnerability discovery and defense practices.

Related coverage