Skip to content
Security Alerts

CVE-2026-127148: Unauthenticated RCE in CODESYS Control Runtime

Improper packet length checking in the CmpChannelMgr components of the CODESYS Control runtime lets an unauthenticated attacker execute arbitrary code on the controller...

Summary

ParameterValue
CVE IDCVE-2026-127148
Alert SourceGitHub Advisory - Critical Vulnerability
CVE Publication Year2026
Date Published2026-11-30
VendorCODESYS GmbH
ProductCODESYS Control runtime (CmpChannelMgr and CmpChannelMgrEmbedded components) and related products
Vulnerability Typeout-of-bounds write (CWE-787), remote code execution
CVSS Score9.8 (critical); CVSS 4.0: 9.3
EPSS ScoreNo data
CISA KEVNo
RansomwareNot confirmed

Vulnerability Description

Source: NVD (CNA: CERT@VDE), CERT@VDE advisory VDE-2026-169 (CODESYS Advisory2026-17)

The flaw affects the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime system. When handling online service packets (the CODESYS online protocol, used among other things by the development environment to communicate with the controller), the runtime performs improper length checking, resulting in an out-of-bounds write. By sending a specially crafted packet, an unauthenticated remote attacker can execute arbitrary code on the affected device.

The CVSS 3.1 vector is AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H: a network attack of low complexity, with no account and no user interaction. According to CERT@VDE, successful exploitation results in a complete compromise of the device’s confidentiality, integrity and availability. The vulnerability is not in the CISA KEV catalog.

The same advisory VDE-2026-169 describes four less severe runtime flaws that require authentication: CVE-2026-127149 (CVSS 7.1, CmpRedundancy component — modifying the redundancy configuration or stopping process control), CVE-2026-127147 (6.5, CmpSettings — denial of service), CVE-2026-127150 (5.5, CmpOpenSSL — path traversal disclosing whether files exist) and CVE-2026-127146 (4.3, CmpAppBP — modifying debug breakpoints). The same updates fix them.

Required Actions

  1. Update to version 3.5.22.50: CODESYS Control RTE (SL), Control RTE (for Beckhoff CX) SL, Control Win (SL), Runtime Toolkit, Embedded Target Visu Toolkit, Remote Target Visu, Safety SIL2, Gateway, Edge Gateway for Windows, HMI (SL), OPC DA Server SL, PLCHandler and Development System 3 (its built-in simulation runtime is affected). Updates are available through the CODESYS Installer, the CODESYS Store or the CODESYS Update area.
  2. For the Linux and embedded editions — 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, WAGO Touch Panels 600 SL, as well as Virtual Control SL, Edge Gateway for Linux and TargetVisu for Linux SL — the fix is version 4.24.0.0, which the vendor plans to release in December 2026. Until then, apply the measures in step 3.
  3. Restrict network access to the CODESYS online protocol services with firewalls and network segmentation: allow connections only from trusted systems and networks, do not expose controllers to untrusted networks or the internet, and use VPN with strong authentication where remote access is required (CERT@VDE recommendations).
  4. Inventory where the CODESYS runtime runs in your OT environment — including controllers and panels from other manufacturers on which the runtime editions listed above are installed — and check whether the hardware manufacturer has published its own advisory for its firmware.

Who Is Affected?

Organisations using the CODESYS Control runtime and related CODESYS GmbH products: according to CERT@VDE, versions from 3.0.0.0 up to but not including 3.5.22.50 (Windows, RTE, toolkits, Gateway, HMI editions) and from 3.5.0.0 up to but not including 4.24.0.0 (Linux and embedded editions) are affected. The product list in the advisory includes runtime editions intended for other manufacturers’ hardware, among them Beckhoff CX, WAGO PFC100/PFC200 and WAGO Touch Panels 600, and PLCnext. The risk is highest where controllers running the CODESYS runtime are reachable from the office network, from remote service access networks or from the internet.

Sources


Need help securing your OT environment? nFlo team offers OT vulnerability assessment and configuration analysis and OT security architecture design. Contact us.

Learn More

Share:

Talk to an expert

Have questions about this topic? Get in touch with our specialist.

Sales Representative
Grzegorz Gnych

Grzegorz Gnych

Sales Representative

Response within 24 hours
Expert consultation
Individual approach

Providing your phone number will speed up contact.

Want to Reduce IT Risk and Costs?

Book a consultation - we respond within 24h

Response in 24h Custom quote No obligations