A critical CODESYS bug that gives an attacker code execution on a PLC without a password is now public, and the researchers who found it went looking for exposed targets the next day. They found 1,094 controllers reachable from the internet, and not one of the 417 that revealed a usable version number was running the fix.
PLC2Shell is the name Limes Security researcher Felix Eberstaller gave to a set of CODESYS vulnerabilities, published as 11 CVEs by CERT@VDE on 24 and 30 November 2026 and presented publicly on 2 December. The headline CODESYS vulnerability, CVE-2026-127148 in CODESYS Control versions before 3.5.22.50 (Windows-based) and before 4.24.0.0 (Linux-based), is a 9.8-rated out-of-bounds write that lets an unauthenticated remote attacker run code on the controller. The story first became public when CERT@VDE published advisory VDE-2026-169 on 30 November 2026.
- What is PLC2Shell?
- What is CVE-2026-127148?
- When was PLC2Shell disclosed?
- What are all 11 PLC2Shell CVEs?
- Which products are affected?
- How many CODESYS devices are exposed?
- Has any device maker published a PLC2Shell advisory?
- How do you check whether you are exposed?
- How do you detect PLC2Shell exploitation?
- How do you mitigate the CODESYS vulnerability?
- How does PLC2Shell compare with other recent OT flaws?
- What is still unknown?
- The bottom line
- Sources
What is PLC2Shell?
PLC2Shell is a research project by the OT security firm Limes Security into CODESYS, the software that runs inside a large share of the world’s programmable logic controllers (PLCs). A PLC is the small industrial computer that reads sensors and drives valves, motors and pumps. Limes says it found about 40 vulnerabilities across the CODESYS runtime, its visualization component and its engineering tools.
Eleven of those findings have CVE numbers so far. They are spread over three CERT@VDE advisories, and the rest are still in coordinated disclosure. Limes plans to present the full research at a conference in 2027.
Who found it?
Limes Security credits Felix Eberstaller, who uses the handle f0rw4rd. CERT@VDE’s advisories for the runtime flaws (VDE-2026-169 and VDE-2026-170) also credit Luca Borzacchiello of Nozomi Networks, which suggests the critical bug was found independently by two teams. The Limes write-up credits only its own researcher.
What is CODESYS?
CODESYS is a vendor-neutral development and runtime system for industrial controllers, made by CODESYS GmbH. Device makers license the runtime and build it into their own firmware. According to figures the Limes post cites from CODESYS, the runtime runs on about 1,000 device types from more than 500 manufacturers, with over 10 million CODESYS-compatible controllers in use.
That supply chain is the central problem. One flaw in CODESYS becomes a flaw in products sold under dozens of brands, and each brand has to ship its own firmware update.
What is CVE-2026-127148?
CVE-2026-127148 is an out-of-bounds write in two CODESYS Control runtime components, CmpChannelMgr and CmpChannelMgrEmbedded, which handle the runtime’s online service traffic. An out-of-bounds write means the program writes data past the end of a memory buffer, which an attacker can use to overwrite code paths and take control. Here the cause is improper length checking on incoming online service packets.
Online services are the protocol an engineer uses to log in to a controller, download a program, and monitor or debug it. The attacker needs only network access to those services. No account and no user action are required.
Key facts at a glance
| Item | Detail |
|---|---|
| CVE | CVE-2026-127148 |
| Research name | PLC2Shell (Limes Security) |
| Component | CODESYS Control: CmpChannelMgr, CmpChannelMgrEmbedded |
| Bug class | Out-of-bounds write (CWE-787) |
| Severity | CVSS 3.1 9.8; CVSS 4.0 9.3 |
| Attacker needs | Network access to online services; no credentials |
| Advisory | CERT@VDE VDE-2026-169, published 30 November 2026 |
| Fixed in | 3.5.22.50 (Windows-based); 4.24.0.0 planned (Linux-based) |
| Exploited in the wild | None reported as of 4 December 2026 |
| CISA SSVC | Exploitation none, automatable yes, technical impact total |
CISA added an SSVC decision to the CVE record on 30 November. SSVC (Stakeholder-Specific Vulnerability Categorization) is CISA’s triage scheme; “automatable: yes” means an attacker can script the attack end to end against many targets, which is why the exposure numbers below matter.
What did the researchers demonstrate?
Limes says it built a reliable exploit that defeats ASLR, the memory randomisation defence, and demonstrated code execution on CODESYS runtimes for Windows, Linux and VxWorks, and on a physical Schneider Electric Modicon M241 controller. It also showed persistence on lab devices that survives a restart and stays until the firmware is reflashed. Limes is deliberately withholding exploitation details while products are updated, and the publication agreement with CODESYS rules out releasing proof-of-concept code.
When was PLC2Shell disclosed?
The research was reported to CODESYS through CERT@VDE in July 2026, and the public disclosure followed about 146 days later. CERT@VDE is the CERT that coordinates vulnerability disclosure for CODESYS GmbH and acts as the CVE numbering authority for these flaws.
| Date | Event |
|---|---|
| July 2026 | Full report with proof-of-concept exploits sent to CODESYS via CERT@VDE |
| 16 September | CODESYS reports initial issues resolved |
| 30 September | One finding traced to a third-party component and forwarded to its vendor |
| 27 October | CODESYS publishes triage status and fix schedule |
| 29 October | First CVE IDs assigned |
| 24 November | VDE-2026-154 published (Visualization, fixed in 4.11.0.0) |
| 30 November | VDE-2026-169 and VDE-2026-170 published (runtime, fixed in 3.5.22.50) |
| 2 December | Limes publishes the PLC2Shell write-up |
| 3 December | Limes publishes its internet exposure scan and vendor tracker |
| December 2026 | Linux SL 4.24.0.0 planned |
What are all 11 PLC2Shell CVEs?
The 11 CVEs split into one critical, five high, four medium and one low. Only CVE-2026-127148 needs no authentication and no user interaction.
| CVE | CVSS 3.1 | Component and type | Advisory |
|---|---|---|---|
| CVE-2026-127148 | 9.8 | Channel manager, out-of-bounds write, pre-auth RCE | VDE-2026-169 |
| CVE-2026-121016 | 8.8 | Visualization runs local programs on engineering PC | VDE-2026-154 |
| CVE-2026-121017 | 8.8 | Visualization invokes local COM/ActiveX | VDE-2026-154 |
| CVE-2026-121018 | 8.8 | Visualization commands invoke local functions | VDE-2026-154 |
| CVE-2026-127167 | 7.2 | CmpLinuxRTDiag out-of-bounds write (high privileges) | VDE-2026-170 |
| CVE-2026-127149 | 7.1 | CmpRedundancy incorrect authorisation | VDE-2026-169 |
| CVE-2026-127147 | 6.5 | CmpSettings integer underflow, denial of service | VDE-2026-169 |
| CVE-2026-127150 | 5.5 | CmpOpenSSL path traversal | VDE-2026-169 |
| CVE-2026-127146 | 4.3 | CmpAppBP debug breakpoint persistence | VDE-2026-169 |
| CVE-2026-127168 | 4.3 | SysModule sensitive data in log (Linux) | VDE-2026-170 |
| CVE-2026-121019 | 3.3 | Path traversal from a crafted project file | VDE-2026-154 |
The engineering workstation is a target too
The three 8.8-rated Visualization bugs run the other direction. A malicious or impersonated controller sends visualization data that makes the CODESYS Development System on the engineer’s PC run programs or call local COM and ActiveX functions. CERT@VDE says the impact is code execution with the privileges of the engineer’s account, which needs a user to connect to an untrusted runtime or a man-in-the-middle position.
That matters because the engineering workstation usually has access to every controller on the plant floor. Our earlier piece on how CyberAv3ngers rewrote PLC safety logic shows why that access is the prize in OT intrusions.
Which products are affected?
CERT@VDE lists 26 runtime products under CVE-2026-127148, plus CODESYS Visualization under VDE-2026-154. They fall into two groups with different fix dates.
Fixed now in 3.5.22.50
Versions 3.0.0.0 up to but not including 3.5.22.50 of: CODESYS Control RTE (SL), Control RTE (for Beckhoff CX) SL, Control Win (SL), Development System 3 (its simulation runtime), Edge Gateway for Windows, Embedded Target Visu Toolkit, Gateway, HMI (SL), OPC DA Server SL, PLCHandler, Remote Target Visu, Runtime Toolkit and Safety SIL2.
Fix planned in 4.24.0.0
Versions 3.5.0.0 up to but not including 4.24.0.0 of: CODESYS Control for BeagleBone SL, emPC-A/iMX6 SL, IOT2000 SL, Linux ARM SL, Linux SL, PFC100 SL, PFC200 SL, PLCnext SL, Raspberry Pi SL and WAGO Touch Panels 600 SL, plus Edge Gateway for Linux, TargetVisu for Linux SL and Virtual Control SL. CERT@VDE and Limes both describe 4.24.0.0 as planned for December 2026; it was not confirmed as released in the sources reviewed.
The Runtime Toolkit is the kit device makers use to build CODESYS into their own firmware. If your controller came from a manufacturer, the fix arrives as that manufacturer’s firmware update, not as a CODESYS download. If you run CODESYS as a soft PLC on a PC, Raspberry Pi or virtual machine, Limes notes the update comes straight from CODESYS.
How many CODESYS devices are exposed?
Limes Security’s scan, dated 3 December 2026 and built on data from the Alpha Strike Labs scanning platform, found 1,094 confirmed CODESYS controllers reachable directly from the internet in 43 countries. Limes checked each hit with its own CODESYS scanner, so these are controllers, not just open ports.
Only 423 devices revealed a CODESYS runtime version; six reported a placeholder value, leaving 417 usable. None ran 3.5.22.50 or later. The oldest version seen was 3.5.3.43, and the most common was 3.5 SP15.
WAGO accounted for 543 devices, Schneider Electric 196, INVT 95, OWEN 72 and Turck 45. The single most common model was the WAGO 750-8212 PFC200 G2 with 111 devices. Limes stresses that whether a specific device is affected depends on its firmware.
Has any device maker published a PLC2Shell advisory?
No. Limes Security’s vendor tracker, last updated on 3 December 2026, monitors 50 manufacturers that use CODESYS, including ABB, Beckhoff, Festo, Phoenix Contact, Schneider Electric, Siemens, WAGO and Weintek, and says none had published a PLC2Shell advisory yet. The Limes post also stresses that being a CODESYS user does not by itself mean a maker’s products are affected.
This gap is normal for CODESYS disclosures, but it is the reason the exposure count matters. Upstream fixes exist for Windows-based runtimes today, while most embedded controllers still have nothing to install.
How do you check whether you are exposed?
Start from the network, then the asset list. The attack path is the CODESYS online service, so reachability decides your risk before version numbers do.
- Check whether TCP port 11740, and port 1217, on any controller are reachable from outside your OT network. Limes names both as the ports to test.
- Inventory every device that embeds CODESYS, including HMIs, gateways and soft PLCs. Match them against the machine-readable CSAF advisories CERT@VDE publishes for VDE-2026-154, 169 and 170.
- Read the runtime version where the device exposes it, and compare it with 3.5.22.50 or 4.24.0.0. Where only the vendor firmware version is visible, ask the manufacturer.
- List engineering workstations running CODESYS Development System 3 or Visualization below 4.11.0.0.
How do you detect PLC2Shell exploitation?
There are no published indicators of compromise, because no attacks have been reported. Detection therefore means watching for the behaviour the flaw allows.
| What to watch | Where to look | Why |
|---|---|---|
| Connections to CODESYS ports 11740 and 1217 from new sources | Firewall logs, OT network monitoring | The exploit arrives over online services |
| Online service sessions outside maintenance windows | OT protocol monitoring (CODESYS-aware sensors) | Legitimate programming is rare and scheduled |
| Controller restarts, crashes or application changes | Controller logs, historian, SCADA alarms | Failed exploits and DoS bugs crash runtimes |
| Unexpected program downloads or changed boot application | Integrity checks against a known-good project | Limes demonstrated persistence on lab devices |
| Engineering PC connecting to unknown runtimes | Endpoint and network logs on workstations | Visualization flaws need a malicious runtime |
Limes recommends integrity checks of the controller and its application as part of any response, because the persistence it demonstrated survives restarts. In MITRE ATT&CK for ICS terms, the relevant behaviours are Exploitation of Remote Services (T0866), Modify Controller Tasking (T0821); the sources do not map the bugs to ATT&CK themselves, so treat that mapping as ours.
For background on watching OT protocols when payloads are encrypted, see our write-up on the ICS Sniper attack on encrypted SCADA traffic.
How do you mitigate the CODESYS vulnerability?
Patch where you can and cut network reach everywhere else. In priority order:
- Remove internet exposure today. No CODESYS runtime should be reachable from the internet. CERT@VDE and Limes both say this directly.
- Restrict online services inside the network. Use firewalls and segmentation so only named engineering hosts can reach ports 11740 and 1217 on controllers.
- Use a VPN with strong authentication for any remote access to controllers, as VDE-2026-169 recommends.
- Update Windows-based runtimes and toolkits to 3.5.22.50 and CODESYS Visualization to 4.11.0.0 through the CODESYS Installer or download area.
- Track 4.24.0.0 and your device makers. Linux-based SL runtimes and embedded controllers need the December release or vendor firmware.
- Turn on encrypted online communication between the Development System and the runtime, CERT@VDE’s mitigation for the three Visualization flaws, and only open CODESYS projects from trusted sources.
- Baseline controller applications and check them after any suspicious event, since persistence lasts until reflashing.
Devices that are no longer supported will never get a fix. For those, Limes says segmentation and access restrictions remain the only answer.
How does PLC2Shell compare with other recent OT flaws?
The closest recent comparison is the Copeland XWEB EVO refrigeration controller research VulnCheck published in November 2026, which SecurityWeek covered on 16 November. Both are unauthenticated paths to code execution on internet-exposed industrial devices, but their fix situations are very different.
| PLC2Shell (CODESYS) | Copeland XWEB EVO | |
|---|---|---|
| First public | 30 November 2026 (advisory) | 12 November 2026 (CVE records) |
| Worst flaw | Pre-auth RCE, CVSS 9.8 | Unauthenticated root command execution |
| CVEs | 11 (of about 40 findings) | 14 |
| Exposed devices | 1,094 confirmed controllers | Nearly 2,000 hosts (Onyphe data via VulnCheck) |
| Exploitation seen | None reported | Probing within two hours of CVE publication |
| Fix status | Partly fixed; Linux release pending | Five flaws will not be fixed; product out of support |
| Reach | Hundreds of device makers | One product family |
The Copeland case is the warning. VulnCheck reported exploitation attempts against those controllers less than two hours after the CVE records went live. PLC2Shell has no public exploit, but CISA marks it automatable, and the version data shows nobody exposed has patched. For another embedded controller case, see our article on the Danfoss AK-SM 800A flaws added to CISA KEV.
What is still unknown?
Several important points are not in the sources yet:
- Which device models are vulnerable. Fifty makers are tracked and none has published an advisory, so operators cannot yet map PLC2Shell to their part numbers.
- When 4.24.0.0 ships. Every source says “planned for December 2026”; none gives a date.
- The other 29 or so findings. Limes says roughly 40 issues were found and about 30 remain in coordinated disclosure, including research on the engineering components.
- The third-party component. One finding was forwarded to another vendor in September; the sources do not name it.
- Credit and independence. CERT@VDE credits both Limes Security and Nozomi Networks for the critical flaw, while the Limes write-up credits only its own researcher. The sources do not explain whether the finds were independent.
- Scan coverage. The 1,094 count covers controllers visible to one scanning platform on one day; devices behind other ports or VPNs are not counted.
The bottom line
PLC2Shell gives an unauthenticated attacker code execution on CODESYS controllers, and the fix for most embedded devices has not shipped yet. Until it does, the only real protection is making sure nobody untrusted can reach CODESYS online services, starting with the 1,094 controllers already visible on the internet.
Sources
- Limes Security: PLC2Shell, Pre-Auth RCE in CODESYS Control Runtime
- Limes Security: PLC2Shell internet exposure scan
- Limes Security: PLC2Shell vendor tracker
- CERT@VDE: VDE-2026-169, CODESYS Control multiple vulnerabilities
- CERT@VDE: VDE-2026-170, CODESYS Control Linux/QNX platform layer
- CERT@VDE: VDE-2026-154, CODESYS Visualization multiple vulnerabilities
- CIRCL Vulnerability-Lookup: CVE-2026-127148 with CISA SSVC data
- The Hacker News: Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password
- SecurityWeek: Hackers Probe Newly Disclosed Flaws in Copeland Refrigeration Controllers
This article is written for defenders and authorised security testers. Only test systems you own or have written permission to assess.