CVE-2026-127148 (CVSS 9.8): Pre-Auth RCE in CODESYS Control Hits 26 Industrial PLC Products — 13 Still Unpatched
Imagine a threat actor on your plant network sending a single malformed packet — no username, no password, no prior access — and within seconds your PLC reboot loop is theirs to control. That is not a theoretical scenario. CVE-2026-127148, a pre-authentication out-of-bounds write flaw in the ubiquitous CODESYS Control runtime, makes exactly that attack possible across 26 industrial products right now — and 13 of them still have no patch as of today, 4 December 2026.
Disclosed through CERT@VDE on 30 November 2026 and publicly detailed by OT security firm Limes Security on 2 December as part of their headline PLC2SHELL research, this is the highest-severity ICS vulnerability this quarter. With a CVSS 3.1 score of 9.8 and CISA classifying it as automatable, every operational technology (OT) team must act today.
- CVSS 9.8 (Critical) — pre-authentication, network-reachable, no user interaction required.
- 26 CODESYS Control products are affected; 13 have patches available today; 13 Linux-based products await version 4.24.0.0, expected later this month.
- The root cause is an out-of-bounds write in CmpChannelMgr triggered by a malformed CODESYS online-service packet.
- CISA has flagged the flaw as automatable — meaning mass scanning and exploit tooling is realistic at scale.
- No confirmed in-the-wild exploitation as of publication; that window will not stay open.
- Interim fix for all unpatched products: network-segment and firewall all CODESYS online-service ports (TCP 1217 by default).
What Is CODESYS — and Why Should Every OT Team Care?
CODESYS (Controller Development System) from CODESYS GmbH is the dominant IEC 61131-3-compliant programming environment for programmable logic controllers (PLCs) and industrial automation hardware. The CODESYS Control runtime runs directly on PLC hardware from dozens of vendors — Wago, Schneider, Rexroth, Beckhoff, and many others embed it as the execution engine for ladder logic, structured text, and function-block diagrams.
This ubiquity is exactly the problem. When a vulnerability lands in CODESYS Control, it simultaneously affects every OEM that licensed the runtime and every end-user running their hardware — from manufacturing floors and water utilities to building-management systems and power distribution substations. That is the attack-surface arithmetic that pushes CVE-2026-127148 into the top tier of 2026 ICS threats.
CODESYS GmbH disclosed the flaw under CERT@VDE advisory VDE-2026-169, noting that the researcher team had reported approximately 40 vulnerabilities across CODESYS Control, Visualization, and the engineering components during responsible disclosure. CVE-2026-127148 is the most critical of that set.
Technical Deep Dive: CVE-2026-127148 and the PLC2SHELL Research
The vulnerability lives in CmpChannelMgr, the component inside the CODESYS Control runtime that handles incoming connections over the proprietary CODESYS online protocol. When parsing a channel-setup packet, CmpChannelMgr performs an insufficiently validated length calculation before writing packet data to a stack or heap buffer. An attacker can craft a packet where the declared length exceeds the actual allocation, triggering a classic CWE-787 Out-of-Bounds Write.
The consequence: controlled memory corruption at the boundary of a privileged runtime process, leading directly to arbitrary code execution. Because the CODESYS online protocol requires no authentication by default on a large fraction of deployed systems, the entire attack chain collapses to:
- Reach TCP port 1217 (or the configured CODESYS gateway port) on the target PLC.
- Send a single specially crafted channel-open packet.
- Receive arbitrary-code-execution on the runtime process — with the same OS-level privileges as the PLC runtime (frequently root or SYSTEM on embedded Linux/Windows CE targets).
Limes Security’s PLC2SHELL disclosure demonstrates that exploitation does not require any existing knowledge of the target’s project or configuration. CISA’s internal scoring rates the flaw as automatable, meaning a worm-like exploit that mass-scans for open CODESYS ports and deploys a payload is entirely feasible. The Hacker News reported that two dark-web posts referencing CVE-2026-127148 appeared between September and November 2026 — implying pre-patch research by threat actors was already in progress.
Scope: Which Products Are Affected — and Which Are Still Waiting for a Fix?
The flaw spans all CODESYS Control versions from 3.0.0.0 up to but not including 3.5.22.50 for Windows-based runtimes, and from 3.5.0.0 up to but not including 4.24.0.0 for Linux-based runtimes. The two patch trains reflect the Windows/Linux split in the product portfolio.
| Product Group | Fixed Version | Status |
|---|---|---|
| Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, Development System 3 | 3.5.22.50 | Patch Available |
| CODESYS Visualization (all platforms) | 4.11.0.0 | Patch Available |
| Control for Linux SL / Linux ARM SL, Control for Raspberry Pi SL, PFC100/PFC200 SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, Edge Gateway for Linux | 4.24.0.0 (pending) | Not Yet Available |
If your OT environment runs any Linux-based CODESYS runtime — a Raspberry Pi edge controller, a WAGO PFC200, a PLCnext device — you are currently without a vendor patch. Network isolation is your only interim control.
What You Should Do Right Now — Sanjay Seth’s Defence Blueprint
After three decades on the wire, my consistent advice on critical OT vulnerabilities is this: the patch timeline is not your security posture — your network architecture is. Here is a prioritised action plan.
Immediate (within 24 hours):
- Inventory CODESYS deployments. Run an asset-discovery scan or query your SCADA/historian for all CODESYS gateway connections. Identify whether each device runs version ≥ 3.5.22.50 (Windows) or ≥ 4.24.0.0 (Linux).
- Block TCP 1217 at all IT/OT boundary firewalls. CODESYS online-service traffic must never transit a flat network. If you use a FortiGate at the IT/OT perimeter — as many of our clients do — create an IPS rule and an application-control policy denying the CODESYS protocol to untrusted segments immediately. See our recent post on FortiGate emergency patching posture for why firewall-first responses are critical.
- Require authentication on CODESYS online service. CODESYS supports user-authentication since V3.5.17; if your devices are still running with the anonymous-access default, enable it now. This does not eliminate the OOB-write vector on packets that arrive before auth completes, but it raises the bar against opportunistic scanners.
Short-term (within one week):
- Apply version 3.5.22.50 to all Windows-based runtimes during the next maintenance window.
- Segment Linux-based CODESYS devices into isolated VLAN/zones with allowlisted source IPs only. Apply micro-segmentation now if your infrastructure supports it. Our zero-trust campus case study illustrates how FortiGate micro-segmentation between OT cells can contain exactly this class of lateral-movement threat.
- Enable NetFlow or deep-packet inspection logs on the IT/OT boundary. Any unexpected connection attempts to TCP 1217 from untrusted hosts should trigger an alert.
India-specific advisory:
- CERT-In has not yet issued an advisory, but mandatory reporting obligations under the DPDP Act and CERT-In’s 6-hour breach-reporting rule apply if a CODESYS exploitation event results in OT disruption at critical infrastructure operators. Ensure your SOC team has a playbook ready.
Why Indian OT Operators Are Particularly Exposed
India’s manufacturing push under the Production-Linked Incentive (PLI) scheme has led to rapid greenfield factory deployment — often with CODESYS-based PLCs chosen for cost and ecosystem breadth. Critically, many of these deployments use Linux ARM boards (Raspberry Pi industrial variants, PLCnext) for edge processing — exactly the product class that lacks a patch today. Add to that the IT-OT convergence driven by Industry 4.0 initiatives in sectors like pharmaceuticals, automotive, and defence manufacturing, and the blast radius of an exploited CVE-2026-127148 extends well beyond the shop floor into production data, supply chains, and safety systems.
This is the precise threat landscape that makes a zero-trust OT architecture not a future-state aspiration but a present-day necessity. If your operational network still allows any lateral movement between engineering workstations and PLCs, CVE-2026-127148 is a wake-up call you cannot afford to sleep through.
Frequently Asked Questions
Is CVE-2026-127148 being actively exploited right now?
As of 4 December 2026, CODESYS GmbH and CISA report no confirmed in-the-wild exploitation. However, CISA classifies the flaw as automatable, dark-web posts referencing it predate the patch, and researcher POC details are circulating. Treat it as imminently exploitable.
My CODESYS runtime is on a closed network — am I safe?
Air-gapped or fully isolated networks do reduce your exposure dramatically, but most “closed” OT networks have more connections to IT than documented: historian links, remote-access jump servers, vendor VPN tunnels, USB-based engineering workstations. Conduct a proper inventory and validate isolation before assuming safety.
Does authentication on CODESYS close the vulnerability?
No. The out-of-bounds write in CmpChannelMgr is triggered during the channel-setup handshake, before authentication takes place. Enabling authentication raises the difficulty for certain attack paths but does not eliminate the OOB-write vector. Patching and network segmentation are the only complete mitigations.
Which CODESYS advisory number should I reference?
The official CERT@VDE advisory is VDE-2026-169. Cross-reference it with the Brandefense technical write-up for a consolidated view of affected product families and version strings.
Assess Your OT Attack Surface Before the Exploit Does
CVE-2026-127148 is a vivid reminder that the most dangerous vulnerabilities are not always in headline software — they are quietly embedded in the industrial runtime layer that keeps your production line running. The combination of zero-authentication required, 26 affected products, 13 still unpatched, and an automatable attack profile puts this firmly in the category of vulnerabilities that demand immediate architectural response, not just a patch ticket.
If you are unsure whether your OT network is adequately segmented, whether your FortiGate ICS profiles are tuned to detect CODESYS scanning, or whether your incident-response playbooks cover an ICS ransomware scenario — that uncertainty is itself the risk. Book a no-obligation security assessment with Sanjay Seth and the P J Networks team. We will walk your network, document every IT/OT boundary, and hand you a prioritised remediation roadmap before the next critical flaw finds you unprepared.