Skip to content
Hacker Posts
VulnerabilityRCECVE-2026-127148

CODESYS patches unauth RCE in Control runtime (CVE-2026-127148)

CVE-2026-127148, a CVSS 9.8 unauthenticated RCE in CODESYS Control's online-services handler, hits 26 PLC runtime products. 13 are fixed now; the Linux builds ship in December 2026.

Hacker Posts DeskPublished 3 min read

CODESYS has patched CVE-2026-127148, an unauthenticated remote code execution flaw in the Control runtime that ships inside programmable logic controllers from dozens of vendors. The only precondition is network reach to the controller's online services — the interface used to program and manage it. No password, no user interaction. CERT@VDE scores it 9.8 (CVSS 3.1).

The primary source is the CERT@VDE advisory VDE-2026-169, for which CODESYS GmbH is the CVE Numbering Authority. The flaw was reported alongside the PLC2SHELL research; CERT@VDE credits Felix Eberstaller (Limes Security) and Luca Borzacchiello (Nozomi Networks) in its acknowledgments.

What the bug does

CVE-2026-127148 is an out-of-bounds write (CWE-787) in CmpChannelMgr and CmpChannelMgrEmbedded, the two components that process online-service traffic. A crafted request to that service lands code execution on the controller with the full CVSS vector AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H. On a PLC, "code execution" means control of a device that drives physical process logic.

VDE-2026-169 bundles four lower-severity bugs in the same runtime: CVE-2026-127149 (7.1, redundancy-config change), CVE-2026-127147 (6.5, DoS), CVE-2026-127150 (5.5, path traversal), and CVE-2026-127146 (4.3, breakpoint persistence). The unauthenticated RCE is the one that forces the schedule.

Affected versions

Twenty-six products split into two fix tracks, per the advisory:

  • 13 products (Control RTE SL, Control Win SL, Gateway, HMI SL, Runtime Toolkit, Safety SIL2, Development System 3, and others), versions >=3.0.0.0 to <3.5.22.50 — fixed in 3.5.22.50, available now.
  • 13 Linux-based products (Control for Linux SL, Control for Linux ARM SL, Control for Raspberry Pi SL, Control for PFC100/PFC200 SL, Control for PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, Edge Gateway for Linux, and others), versions >=3.5.0.0 to <4.24.0.0 — fixed in 4.24.0.0, whose release is planned for December 2026.

The Linux-based half, which covers the runtimes most likely to sit on general-purpose hardware, has no patched build yet.

Exploitation status

No in-the-wild exploitation is known. Per The Hacker News, CISA's assessment of the flaw lists exploitation as none but flags it as automatable — a reasonable read for an unauthenticated network bug in a widely embedded runtime.

Action checklist

  1. Inventory every CODESYS Control runtime in your estate and map each to its fix track. The product name and version decide whether a fix exists.
  2. For the 3.5.x branch, update to 3.5.22.50 now.
  3. For the Linux-based products, there is no fixed build until 4.24.0.0 (planned December 2026). Until then, segmentation is the control.
  4. Apply CERT@VDE's mitigation on every affected device regardless: restrict network access to the CODESYS online-protocol services with firewalls and network segmentation, allow connections only from trusted systems, and remove any direct exposure to untrusted networks, including the internet. Use an authenticated VPN where remote access is required.

Context

Unauthenticated takeover of operational-technology devices is the recurring shape of this year's ICS news — the common thread with the CyberAv3ngers campaign against water and energy ICS is not a shared vulnerability but a shared exposure: control interfaces reachable from networks that should never touch them. A CVSS 9.8, no-auth bug in a runtime embedded across dozens of PLC brands is a worst case precisely because the asset owner often does not know which of their devices runs CODESYS underneath. The inventory step is the hard part; the patch is the easy one.