Published: 2026-12-05
Categories: Operational Technology Security, Vulnerability Management
PLC2Shell: Pre-Auth RCE in Multi-Vendor CODESYS PLC Runtimes
Key Takeaways
CVE-2026-127148, part of the research Limes Security calls PLC2Shell, is an out-of-bounds write (CWE-787) in the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime. An unauthenticated attacker who can reach the runtime’s online services over the network can use it to run arbitrary code on the controller. CERT@VDE scored it CVSS 3.1 9.8 (Critical) and published it on November 30, 2026, in advisory VDE-2026-169 [1][2]. CODESYS runtimes ship inside controller firmware from many manufacturers, and Limes attributes to the vendor an estimate of roughly 1,000 device types from more than 500 manufacturers [1]. As a result, a single runtime flaw becomes a multi-vendor PLC problem whose fix depends on each device maker’s firmware schedule.
Patch availability is split across two release lines. Windows-based runtimes, toolkits, and SDK components on the 3.5.x line are fixed in version 3.5.22.50. Thirteen Linux-based and device-specific runtimes, including those for WAGO PFC100/PFC200, PLCnext, Raspberry Pi, and Virtual Control, need version 4.24.0.0, which CODESYS said at the time of the advisory it planned to release in December 2026 [2]. Public proof-of-concept code has reportedly appeared, but no exploitation has been observed. Neither CERT@VDE nor CISA has reported exploitation in the wild [5][8], and the CVE was not in CISA’s Known Exploited Vulnerabilities catalog as of December 5, 2026 [14]. Ostorlab reports that public proof-of-concept repositories appeared on December 1 and December 4, although it has not independently validated them [3].
Devices are also exposed on the internet. A Limes Security scan on December 3, 2026, found 1,094 CODESYS controllers reachable from the internet, and Ostorlab reports that the scan covered 43 countries and that none of the 417 devices reporting a version were running a fixed release [1][3]. CERT@VDE recommends restricting network access to trusted systems [2]. In CSA’s assessment, limiting CODESYS online-protocol services to trusted engineering hosts is the most effective control available to many operators until their device manufacturer releases firmware. Finally, patching does not prove a device is clean. Limes reports achieving persistence that survived a reboot on lab devices, so operators should verify controller firmware and application integrity in addition to applying updates [1].
Background
CODESYS is a hardware-independent IEC 61131-3 development environment and runtime that many automation vendors license rather than writing their own PLC execution engine. The runtime, sold as CODESYS Control, runs on Windows soft-PLCs, embedded Linux and QNX controllers, VxWorks targets, and a wide range of vendor-branded hardware. Limes Security cites vendor figures of more than 10 million CODESYS-compatible controllers in the field. It names manufacturers such as Schneider Electric, ABB, WAGO, Phoenix Contact, OWEN, and ifm as parts of the ecosystem, while noting that being named does not by itself mean a given product is affected [1]. This licensing model explains why a vulnerability in one vendor’s component becomes a supply chain event across the industrial sector, much like a flaw in a widely embedded open-source library in IT.
The PLC2Shell research was conducted by Felix Eberstaller of Limes Security. CERT@VDE’s advisory credits both Eberstaller and Luca Borzacchiello of Nozomi Networks, and Limes lists Borzacchiello as having independently found CVE-2026-127148 [1][2]. Limes reported about 40 vulnerabilities across the CODESYS Control runtime, the Visualization components, and the engineering tooling. Coordination through CERT@VDE began on July 7, 2026, with full reports and proof-of-concept exploits sent to CODESYS [1]. Limes reports that the first CVE IDs were assigned on October 29. CERT@VDE then published the first eleven CVEs in three advisories: VDE-2026-154 for Visualization on November 24, and VDE-2026-169 and VDE-2026-170 for the Control runtime on November 30 [1][4][5][13]. CERT@VDE published a separate advisory the same day, VDE-2026-171, covering two unauthenticated denial-of-service flaws in the CODESYS Control RTE network stack, both rated CVSS 7.5; trade press grouped it with the PLC2Shell disclosures [5][7]. Limes published its public overview on December 2, 2026, and withheld exploit details, saying full research will be presented at a conference in 2027 [1].
The table below summarizes the CVEs published so far in this disclosure cluster. CVE-2026-127148 is the only one that is both critical and requires no authentication. Several of the others still matter, because they let an attacker who has a low-privilege account, or who has already compromised the runtime, deepen or extend that access.
| CVE | CVSS 3.1 | Component / Weakness | Precondition | Advisory |
|---|---|---|---|---|
| CVE-2026-127148 | 9.8 | CmpChannelMgr(Embedded) out-of-bounds write (CWE-787) | None (network reach only) | VDE-2026-169 |
| CVE-2026-127149 | 7.1 | CmpRedundancy missing authorization (CWE-863) | Low-privilege account | VDE-2026-169 |
| CVE-2026-127147 | 6.5 | CmpSettings integer underflow (CWE-191), DoS | Low-privilege account | VDE-2026-169 |
| CVE-2026-127150 | 5.5 | CmpOpenSSL path traversal (CWE-22) | High-privilege account | VDE-2026-169 |
| CVE-2026-127146 | 4.3 | CmpAppBP missing authorization (CWE-863) | Low-privilege account | VDE-2026-169 |
| CVE-2026-127167 | 7.2 | CmpLinuxRTDiag out-of-bounds write; code execution on Linux/QNX host | Administrator account | VDE-2026-170 |
| CVE-2026-127168 | 4.3 | SysModule information disclosure via logs | Low-privilege account | VDE-2026-170 |
| CVE-2026-121016/-017/-018 | 8.8 each | Visualization: code execution on engineering workstation | Malicious runtime or man-in-the-middle position | VDE-2026-154 |
| CVE-2026-121019 | 3.3 | Visualization | Local user opens a malicious project (user interaction) | VDE-2026-154 |
Sources: CERT@VDE advisories and Limes Security [1][2][5][6][13].
Security Analysis
Nature of the Flaw
CERT@VDE’s advisory says the vulnerable components perform insufficient length validation when processing online service packets. A crafted request can therefore write past the end of a communication buffer and lead to arbitrary code execution [2][5]. The root cause is in the channel manager, which handles the protocol framing beneath the runtime’s user-management and authentication layer. Its location in the stack explains why the flaw is reachable before authentication; as Cybersecurity News summarized it, memory corruption occurs before the runtime checks who is connecting [4]. Limes describes its lab exploit as reliable even with address space layout randomization enabled, and reports demonstrating code execution on Windows, Linux, and VxWorks runtimes and on a Schneider Electric Modicon M241 hardware controller [1]. Ostorlab, citing Limes, reports that the online service listens on TCP 11740 and 1217 [3]. Neither advisory states which transports reach CmpChannelMgr, however, and VDE-2026-171 shows that the RTE network stack also processes UDP traffic [7]. Operators should therefore confirm the ports and transports actually configured on their own devices, because vendors can change these settings.
Because the flaw is reachable before authentication, enforcing runtime user management is unlikely to mitigate this vulnerability on its own, although it remains worthwhile hardening against the authenticated CVEs in the same disclosure. CODESYS hardening guidance has often emphasized enabling runtime user authentication and encrypted communication; VDE-2026-154, for example, recommends encrypted online communication for the Visualization flaws [13]. Because CVE-2026-127148 is triggered below that layer, those settings may not prevent exploitation, which leaves network-layer access control as the main barrier until the runtime is updated. This inference follows from the vulnerability’s position in the stack as described in the advisory. Operators should still check vendor-specific guidance, because some embedded integrations may expose the channel manager differently.
Blast Radius Across Vendors
VDE-2026-169 lists 26 affected CODESYS products in two release groups of 13 each [2]. The first group, affected from version 3.0.0.0 up to but not including 3.5.22.50, includes Control RTE (SL), Control RTE (for Beckhoff CX) SL, Control Win (SL), the Development System’s simulation runtime, Gateway, Edge Gateway for Windows, HMI (SL), OPC DA Server SL, PLCHandler, Remote Target Visu, the Runtime Toolkit, the Embedded Target Visu Toolkit, and Safety SIL2. The second group is affected from version 3.5.0.0 up to but not including 4.24.0.0. It includes Control for Linux SL, Linux ARM SL, BeagleBone SL, IOT2000 SL, PFC100 SL, PFC200 SL, PLCnext SL, Raspberry Pi SL, WAGO Touch Panels 600 SL, emPC-A/iMX6 SL, Virtual Control SL, Edge Gateway for Linux, and TargetVisu for Linux SL [2]. The Runtime Toolkit, which appears in the first group, is what OEMs use to port CODESYS onto their own hardware. Its presence suggests that many vendor-branded controllers absent from the list may also inherit the flaw, and their exposure will become clear only as each manufacturer publishes its own advisory.
The Safety SIL2 listing deserves attention. The advisory lists the product as affected but does not describe any impact on safety functions [2], and the public research does not claim that a deployed safety function was defeated [1]. Even so, the presence of a safety-rated runtime on the affected list means that functional safety and cybersecurity teams need to assess impact together. Limes’s ecosystem guidance also notes that two of the disclosed vulnerabilities sit in the Linux and QNX platform adaptation layers [1]. Manufacturers that customize those layers in their own ports should therefore test their platform integrations rather than assume the upstream runtime fix covers everything they ship.
Exposure and Exploitation Outlook
The Limes scan of December 3 identified 1,094 CODESYS controllers directly reachable from the internet [1]. Ostorlab reports that WAGO devices were the largest group, followed by Schneider Electric, INVT, OWEN, and Turck, and that none of the 417 devices reporting a version were running a fixed release [3]. These figures cover only internet-exposed devices. Given that 1,094 exposed devices are a tiny fraction of the more than 10 million reported deployments [1], most CODESYS controllers likely sit inside plant networks. There, the principal threat is an attacker who has already gained a foothold through IT-OT convergence points, remote access gateways, or compromised engineering workstations.
At the time of writing, no exploitation in the wild has been reported. CISA’s SSVC assessment in the CVE record lists exploitation as “none,” while also rating the flaw as automatable with total technical impact [8]. Public proof-of-concept code nonetheless reportedly appeared on GitHub one day after the advisory, and a second repository followed on December 4 [3]. CSA has not validated these repositories, and Ostorlab describes the published code as build-specific and independently unverified [3]. Ostorlab also reports that the author of one repository claims a separate overflow that still crashes version 3.5.22.50, a claim CODESYS has not confirmed [3]. The one-day gap between advisory and public PoC is consistent with what CSA views as shrinking patch-to-exploit windows. AI-assisted patch diffing and exploit development may contribute to that trend by reducing the effort needed to turn an advisory into working code, although there is no public evidence that such tools were used here. Operators should plan on the assumption that weaponized exploits for common builds may become available before the Linux-based 4.24.0.0 release and downstream OEM firmware reach their sites.
Why OT Patching Lags
Even where a fix exists, industrial environments seldom apply it quickly. Cybersecurity News notes that updating controller firmware may require a planned production shutdown, and that safety-related systems may need revalidation [4]. For embedded controllers, the CODESYS fix reaches the operator only after the device manufacturer integrates, tests, and releases new firmware, which is why Ostorlab advises opening support cases with device manufacturers [3]. As a result, many sites should expect a gap of weeks to months between public disclosure and an installed fix. Compensating network controls and detection must carry the risk during that period.
Recommendations
Immediate Actions
Organizations should first find out where CODESYS runs in their environment. That includes runtimes embedded in vendor-branded PLCs, HMIs, gateways, and soft-PLCs on industrial PCs, as well as simulation runtimes on engineering workstations. Limes recommends matching the machine-readable CSAF files for VDE-2026-169, VDE-2026-170, and VDE-2026-154 against asset inventories [1]. Passive OT monitoring tools can help identify devices speaking the CODESYS protocol that are missing from inventories. Operators should then confirm that no CODESYS communication port is reachable from the internet or from untrusted network zones. CERT@VDE’s advisory explicitly calls for restricting access with firewalls and segmentation, allowing only trusted systems, and using a VPN with strong authentication for any remote access [2].
Once exposure is understood, operators can work through the highest-priority actions summarized below. Where the Windows-based fix applies, installation of 3.5.22.50 can be scheduled through the CODESYS Installer or CODESYS Store [2]; for embedded controllers, the device manufacturer must supply a firmware timeline.
| Action | Scope | Source |
|---|---|---|
| Block CODESYS communication ports at zone boundaries and allow them only from named engineering hosts. This includes the reported online-service ports TCP 11740 and 1217 and, unless a vendor documents otherwise, the UDP block-driver range (typically 1740–1743). | All CODESYS deployments | [2][3][7] |
| Remove any direct internet exposure of controllers and gateways, and route vendor remote access through an authenticated, monitored jump host or VPN. | Internet-facing and remotely serviced devices | [2] |
| Update Windows runtimes, gateways, and the Development System to 3.5.22.50. | 3.5.x product line | [1][2] |
| Update CODESYS Visualization to 4.11.0.0. | Engineering workstations and HMIs | [1][13] |
| Open support cases with each PLC manufacturer whose products embed CODESYS, and track their advisories. | OEM controllers | [3] |
The UDP guidance reflects a precaution rather than a confirmed attack path, since neither advisory states whether the vulnerable channel manager is reachable over UDP. Blocking the full set of CODESYS ports costs little where engineering access is already confined to named hosts.
Short-Term Mitigations
Network controls should be paired with detection until fixes arrive. Ostorlab notes that no indicators of compromise have been published. It recommends reviewing connections to the online-service ports from unexpected sources, comparing running PLC applications against approved project baselines, checking firmware integrity, and treating unexplained controller restarts as investigative leads [3]. Limes’s report of persistence that survives a reboot reinforces this point [1]. After patching, operators should verify each controller’s firmware and application against known-good references rather than assuming the update restored a trusted state.
Engineering workstations are a second front. The Visualization CVEs in VDE-2026-154 allow code execution on the workstation when it connects to a malicious or tampered runtime [1][13], so a compromised controller could become a pivot point back into the engineering network. Teams should update Visualization components, limit which controllers engineering hosts connect to during commissioning, and apply endpoint hardening and monitoring to engineering systems. When the Linux-based 4.24.0.0 release ships, sites running Control for Linux, Virtual Control, or Raspberry Pi- and PFC-based runtimes should prioritize it, because these deployments currently have no vendor fix [2].
Strategic Considerations
PLC2Shell shows that industrial runtimes are a concentrated software supply chain dependency that most asset owners do not track at the component level. Organizations should require software bills of materials and CSAF/VEX advisories from automation suppliers, and build contracts that commit OEMs to defined timelines for integrating upstream runtime fixes. Limes points manufacturers toward IEC 62443-4-1 secure development practices and the EU Cyber Resilience Act, noting that CRA vulnerability-reporting obligations apply from September 11, 2026, and full requirements from December 11, 2027 [1]. Asset owners in the EU can reasonably expect these regimes to improve the quality of supplier vulnerability handling, and they should use the regulations as leverage in procurement.
Architecturally, the disclosure supports moving OT networks away from implicit trust between engineering, supervisory, and control layers. The central lesson is that authentication built into a protocol cannot be the only barrier in front of a controller, because flaws below that authentication layer are likely to recur. Explicit, policy-based access to controller services, enforced at the network and at identity-aware remote access points, limits the reachable attack surface regardless of runtime bugs. Organizations should also run tabletop exercises for scenarios in which a controller is compromised before a patch exists. Those exercises should cover safety implications, production impact, and the forensic steps needed to re-establish trust in controller logic.
CSA Resource Alignment
CSA’s Zero Trust Guidance for Critical Infrastructure is the most directly applicable resource [9]. The paper applies Zero Trust principles to OT and ICS environments through a five-step process: define the protect surface, map operational flows, build the architecture, create policy, and monitor and maintain. PLC2Shell illustrates that approach well. Treating each CODESYS controller as a protect surface and mapping which engineering hosts legitimately need online-service access produces a micro-segmentation policy consistent with the CERT@VDE advisory’s recommendations. The guidance’s emphasis on continuous monitoring also aligns with the integrity verification and anomaly detection that this note recommends for the period before patches are installed.
CSA’s State of ICS Security in the Age of Cloud examines how cloud connectivity and IT-OT convergence change the ICS threat model [10]. The 1,094 internet-reachable CODESYS controllers, and the cloud-connected edge gateways listed among the affected products, illustrate the convergence risks that paper describes. Organizations extending OT telemetry and remote engineering into cloud platforms should review that report’s architectural guidance alongside this disclosure. CSA’s Cloud IIoT – Industrial Control Systems Security Glossary provides shared terminology for PLCs, runtimes, and ICS network zones [11]. That shared vocabulary can help IT security, OT engineering, and functional safety teams coordinate a cross-functional response to a flaw like this one.
Organizations already using the AI Controls Matrix (AICM) v1.1 can map this response to two of its domains [12]. The Threat and Vulnerability Management (TVM) domain covers vulnerability identification, remediation timelines, and compensating controls. The Supply Chain Management, Transparency, and Accountability (STA) domain supports requiring SBOM, CSAF/VEX, and patch-integration commitments from automation vendors whose products embed third-party runtimes such as CODESYS.
References
[1] Limes Security. “PLC2Shell: Pre-Auth RCE in CODESYS Control Runtime.” Limes Security GmbH, December 2, 2026.
[2] CERT@VDE. “VDE-2026-169: CODESYS Control – Multiple Vulnerabilities.” CERT@VDE, November 30, 2026.
[3] Ostorlab. “CODESYS Control Runtime Pre-Auth RCE (CVE-2026-127148).” Ostorlab Blog, December 3, 2026 (updated December 5, 2026).
[4] Cybersecurity News. “Critical PLC2Shell Flaw Could Let Hackers Take Over Industrial Controllers Without Login.” Cybersecurity News, December 4, 2026.
[5] Daily Security Review. “CODESYS Control Patches Nine Flaws, Including 9.8 Remote Code Bug.” Daily Security Review, November 30, 2026.
[6] CERT@VDE. “VDE-2026-170: CODESYS Control – Multiple Vulnerabilities in Linux/QNX Platform Adaptation Layer.” CERT@VDE, November 30, 2026.
[7] CERT@VDE. “VDE-2026-171: CODESYS Control RTE – Multiple Vulnerabilities.” CERT@VDE, November 30, 2026.
[8] CVE Program. “CVE-2026-127148.” CVE.org, accessed December 5, 2026.
[9] Cloud Security Alliance. “Zero Trust Guidance for Critical Infrastructure.” CSA Zero Trust Working Group, 2024.
[10] Cloud Security Alliance. “State of ICS Security in the Age of Cloud.” CSA Industrial Control Systems Security Working Group, 2022.
[11] Cloud Security Alliance. “Cloud Industrial Internet of Things (IIoT) – Industrial Control Systems Security Glossary.” CSA Industrial Control Systems Security Working Group, 2020.
[12] Cloud Security Alliance. “AI Controls Matrix (AICM) v1.1.” Cloud Security Alliance, 2025.
[13] CERT@VDE. “VDE-2026-154: CODESYS Visualization – Multiple Vulnerabilities.” CERT@VDE, November 24, 2026.
[14] Cybersecurity and Infrastructure Security Agency. “Known Exploited Vulnerabilities Catalog.” CISA, accessed December 5, 2026.