Affected product(s):
CODESYS products based on the CODESYS Control runtime. In CODESYS Development System 3, the included simulation runtime is affected.
| Product | Affected versions | Fixed version |
| CODESYS Control RTE (SL), Control RTE (for Beckhoff CX) SL and Control Win (SL) | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS Runtime Toolkit, Embedded Target Visu Toolkit and Remote Target Visu | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS Safety SIL2 | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS Gateway and Edge Gateway for Windows | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS HMI (SL), OPC DA Server SL and PLCHandler | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS Development System 3 | From 3.0.0.0 and prior to 3.5.22.50 | 3.5.22.50 |
| CODESYS Control for Linux SL, Linux ARM SL, Raspberry Pi SL, BeagleBone SL, IOT2000 SL and emPC-A/iMX6 SL | From 3.5.0.0 and prior to 4.24.0.0 | 4.24.0.0 (planned for December 2026) |
| CODESYS Control for PFC100 SL, PFC200 SL, PLCnext SL and WAGO Touch Panels 600 SL | From 3.5.0.0 and prior to 4.24.0.0 | 4.24.0.0 (planned for December 2026) |
| CODESYS Virtual Control SL, Edge Gateway for Linux and TargetVisu for Linux SL | From 3.5.0.0 and prior to 4.24.0.0 | 4.24.0.0 (planned for December 2026) |
Description
A critical vulnerability has been published in CODESYS Control, the runtime on which PLCs and controllers from many manufacturers run, as well as CODESYS software PLCs for Windows and Linux. It is identified as CVE-2026-127148 and has CVSS 9.8, critical. It is caused by an out-of-bounds write in the components that process CODESYS online service packets (CmpChannelMgr and CmpChannelMgrEmbedded), which do not properly check their length. A remote attacker, without authentication or user interaction, can send a crafted packet and execute arbitrary code on the affected device, with a complete compromise of its confidentiality, integrity and availability.
The affected products include CODESYS Safety SIL2, the runtime for safety functions, as well as the simulation runtime of CODESYS Development System 3.
The vendor published the advisory on Nov 30, 2026. Fixed version 3.5.22.50 is already available for 13 of the 26 affected products; the remaining 13, the Linux versions, will receive the fix in version 4.24.0.0, planned for December 2026.
The same advisory also fixes CVE-2026-127146, CVE-2026-127147, CVE-2026-127149 and CVE-2026-127150, which require authentication. Another advisory from the same day, covering the Linux and QNX versions, fixes CVE-2026-127167 and CVE-2026-127168, which also require authentication. The fixed versions are the same.
As of the date of this bulletin, no active exploitation of this flaw is known and it is not listed in the catalog of known exploited vulnerabilities.
Mitigation
The vendor recommends, until the update can be applied:
- Restrict network access to the CODESYS online protocol services using firewalls and network segmentation, and allow connections only from trusted systems and networks.
- Do not expose affected devices to untrusted networks, including the internet.
- If remote access is required, use secure VPN connections with strong authentication.
These measures reduce exposure, but they do not replace the update. They are especially important for the Linux products, which do not yet have a fixed version.
Solution
The solution is to update to the fixed version:
- 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: version 3.5.22.50.
- 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, Virtual Control SL, Edge Gateway for Linux and TargetVisu for Linux SL: version 4.24.0.0, planned for December 2026. In the meantime, apply the mitigation.
CODESYS Development System and add-ons are updated with CODESYS Installer or from CODESYS Store; all other products, from the vendor’s download area.
For information on how to update, visit the following link:
Additional information:
- CODESYS — Security Advisory 2026-17:
https://api-www.codesys.com/fileadmin/user_upload/CODESYS_Group/Ecosystem/Up-to-Date/Security/Security-Advisories/Advisory2026-17_RTS-300.pdf - CERT@VDE — VDE-2026-169, CODESYS Control: multiple vulnerabilities:
https://certvde.com/en/advisories/VDE-2026-169/ - CERT@VDE — VDE-2026-170, CODESYS Control: vulnerabilities in the Linux/QNX platform adaptation layer:
https://certvde.com/en/advisories/VDE-2026-170/ - CVE — CVE-2026-127148:
https://www.cve.org/CVERecord?id=CVE-2026-127148 - NVD — CVE-2026-127148:
https://nvd.nist.gov/vuln/detail/CVE-2026-127148 - CISA — catalog of known exploited vulnerabilities:
https://www.cisa.gov/known-exploited-vulnerabilities-catalog