Cybersecurity & Privacy

Critical CODESYS Automation Flaw Grants Unauthenticated Remote Code Execution Across Millions of Industrial Devices

Industrial automation systems worldwide are facing a profound cybersecurity challenge following the disclosure of a critical vulnerability in CODESYS Control, a ubiquitous runtime software embedded in programmable logic controllers (PLCs) manufactured by a wide array of global vendors. Tracked as CVE-2026-127148, the flaw carries a maximum severity score of 9.8 out of 10 under the Common Vulnerability Scoring System (CVSS), signaling an immediate risk to critical infrastructure, manufacturing plants, and automated facilities.

The security deficiency allows an unauthenticated remote attacker to execute arbitrary code directly on a targeted controller without requiring user interaction or valid credentials. The singular prerequisite for a successful attack is network accessibility to the controller’s online services—the fundamental communication interface utilized by engineers and technicians to program, configure, and manage the device.

Disclosed earlier this week through CERT@VDE by CODESYS GmbH, the platform’s parent company, the vulnerability forms the centerpiece of "PLC2SHELL," a comprehensive research initiative conducted by the operational technology (OT) security firm Limes Security. While laboratory demonstrations have successfully proven the viability of the attack across Windows, Linux, and VxWorks runtimes—as well as on physical hardware such as the Schneider Electric Modicon M241 controller—industry experts emphasize that no active in-the-wild exploitation has been formally documented at the time of reporting. Nevertheless, the combination of widespread deployment and the absence of authentication requirements has elevated concerns among cybersecurity agencies and asset owners globally.

Anatomy of the Vulnerability and Affected Ecosystems

CVE-2026-127148 is fundamentally classified as an out-of-bounds write vulnerability residing within the two core components responsible for parsing and processing online-service network traffic within the CODESYS Control runtime. When an external entity transmits malformed or maliciously crafted packets to these service endpoints, the software fails to properly validate boundary constraints, allowing memory corruption that can be leveraged to hijack system execution flows.

The scope of the affected ecosystem is vast. CODESYS Control functions as a foundational software layer rather than a standalone end-user product; device manufacturers license and integrate the runtime directly into their proprietary hardware. Consequently, the list of vulnerable devices spans multiple major industrial brands, encompassing Beckhoff CX controllers, WAGO touch panels and modular I/O systems (such as the PFC100 and PFC200 series), the Phoenix Contact PLCnext platform, and even hobbyist-to-industrial Raspberry Pi implementations running specialized SL (Single License) runtimes. While vendor ecosystem figures suggest that well over 10 million CODESYS-compatible controllers are deployed across various industries worldwide, security analysts clarify that this metric represents the total footprint of the ecosystem rather than the precise number of units directly exposed to the internet or untrusted local networks.

Adding to the complexity, the vulnerability impacts 26 distinct software products, which have been divided into two primary remediation categories by CODESYS GmbH. The first group comprises 13 products—including Control RTE (SL), Control Win (SL), the Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, and the simulation runtime embedded within the CODESYS Development System. This inclusion places engineering workstations directly in the line of fire, though researchers note that the potential for the flaw to actively subvert certified, deployed safety functions (such as those managed by CODESYS Safety SIL2) has not yet been practically demonstrated in real-world scenarios.

Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password

Chronology and Coordinated Disclosure

The uncovering of CVE-2026-127148 is the result of rigorous vulnerability research carried out by Felix Eberstaller of Limes Security, alongside independent contributions from security researcher Luca Borzacchiello of Nozomi Networks. The finding is part of the broader PLC2SHELL project, which systematically evaluated CODESYS Control, CODESYS Visualization, and associated engineering toolchains, unearthing approximately 40 distinct security issues. Of those discoveries, 11 have been formally assigned CVE identifiers.

The timeline of the disclosure spans several months of close cooperation between security researchers, vendors, and incident response coordinators:

  • July 2026: Limes Security initially reports the findings to CODESYS GmbH through CERT@VDE under standard coordinated vulnerability disclosure guidelines.
  • Late 2026: CODESYS GmbH develops remediation pathways, categorizing patches based on architecture and runtime dependencies.
  • December 2026: The PLC2SHELL research project is made public, accompanied by initial technical write-ups, while approximately 30 lower-severity or auxiliary findings remain under ongoing coordinated disclosure. A comprehensive presentation detailing the methodology and technical depth of the research is scheduled for an upcoming cybersecurity conference next year.

Immediate Remediation and Patch Availability

In response to the severity of CVE-2026-127148, CODESYS GmbH has rushed patches into production, though the deployment timeline is bifurcated due to architectural differences across the supported platforms:

  1. First Group (Immediate Availability): For the initial batch of 13 products—including Windows-based runtimes, development systems, and standard toolkits—a fully patched version, 3.5.22.50, has been released and is currently available for download through the CODESYS Installer or the vendor’s official download portal.
  2. Second Group (Scheduled for Later This Month): The remaining 13 products—heavily skewed toward Linux-based runtimes, including Control for Linux SL and Linux ARM SL, Control for Raspberry Pi SL, WAGO PFC series, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, and the Edge Gateway for Linux—await release version 4.24.0.0, which is officially planned for rollout later this month.

In parallel, CODESYS addressed a separate set of vulnerabilities affecting CODESYS Visualization (tracked under advisory VDE-2026-154), releasing version 4.11.0.0. These visualization flaws, including three rated at a severe 8.8 CVSS score, could theoretically allow an attacker to compromise an engineering workstation. However, those specific exploits require specific preconditions, such as a user actively interacting with an online visualization while connected to a compromised or untrusted runtime environment. Furthermore, a separate Linux-specific advisory (VDE-2026-170) details two additional issues affecting Linux and QNX builds, both of which necessitate prior authenticated access.

Broader Implications for Industrial Control Systems

The discovery of the PLC2SHELL vulnerabilities underscores a persistent architectural vulnerability within the Industrial Control Systems (ICS) and Operational Technology (OT) sectors: the historical prioritization of operational efficiency and real-time responsiveness over robust, default-enabled network security controls.

Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password

Because CODESYS-based runtimes are frequently embedded deeply within OEM firmware, the formal release of a software patch by the parent company does not immediately equate to end-user safety. Plant operators and system integrators must wait for individual hardware manufacturers to package the updated runtime into custom firmware updates. For highly regulated industries—such as power generation, water treatment, and pharmaceutical manufacturing—deploying these updates requires rigorous regression testing, validation, and scheduled maintenance windows to prevent costly operational downtime. This friction often leaves critical assets exposed to potential exploitation for extended periods after a patch is publicly released.

This incident also draws inevitable parallels to past supply chain vulnerabilities affecting the platform. In August 2023, Microsoft threat intelligence disclosed 15 security flaws within the CODESYS V3 software development kit (SDK), which similarly exposed OT environments to potential compromise. However, a crucial distinction highlights the alarming nature of the current event: while the majority of the 2023 SDK vulnerabilities required an attacker to possess valid credentials or authentication tokens, CVE-2026-127148 strips away that barrier entirely, permitting unauthenticated remote interaction over standard network channels.

Recommended Mitigations and Defensive Posture

Given the operational delays inherent in firmware distribution and deployment cycles, cybersecurity authorities, including the Cybersecurity and Infrastructure Security Agency (CISA) and CERT@VDE, strongly urge asset owners and system administrators to implement robust compensating controls immediately.

Primary defensive recommendations include:

  • Network Segmentation: Isolate control networks from corporate enterprise networks and completely disconnect CODESYS runtimes from the public internet. Under no circumstances should online services be exposed directly to untrusted external networks.
  • Strict Firewall Policies: Implement strict ingress and egress filtering at network boundaries, restricting access to CODESYS online service ports solely to authorized, trusted engineering workstations and management subnets.
  • Secure Remote Access: For necessary remote engineering or maintenance tasks, mandate the use of virtual private networks (VPNs) supplemented by strong, multi-factor authentication (MFA) mechanisms.
  • Monitoring and Logging: Enable comprehensive network monitoring and intrusion detection systems (IDS) configured to identify unauthorized connection attempts, anomalous traffic patterns, or malformed packet structures directed toward PLC management ports.

As industrial environments continue to embrace digital transformation and increased connectivity, incidents like PLC2SHELL serve as a stark reminder of the critical need for proactive vulnerability management, stringent network hygiene, and secure-by-design engineering principles across the entire operational technology supply chain.

Related Articles

Back to top button
Snapost
Privacy Overview

This website uses cookies so that we can provide you with the best user experience possible. Cookie information is stored in your browser and performs functions such as recognising you when you return to our website and helping our team to understand which sections of the website you find most interesting and useful.