CODESYS Control runtime: unauthenticated RCE via online services (CVE-2026-127148)
Severity: critical · Patch status: partial · Since 2026-11-30 · CVE-2026-127146, CVE-2026-127147, CVE-2026-127148, CVE-2026-127149, CVE-2026-127150, CVE-2026-127167, CVE-2026-127168, CVE-2026-127169, CVE-2026-127170
CERT@VDE published three CODESYS advisories on 2026-11-30 (VDE-2026-169, -170, -171) covering nine CODESYS Control runtime flaws, credited to Limes Security/QuellSec (f0rw4rd), Nozomi Networks and ABB. The critical one, CVE-2026-127148 (CVSS 3.1 9.8), is an out-of-bounds write in the CmpChannelMgr and CmpChannelMgrEmbedded components; a crafted online-service packet lets an unauthenticated network attacker run arbitrary code on the runtime. The other eight need authentication and mostly cause denial of service, integrity loss or information disclosure; CVE-2026-127167 (PLC shell path to code execution on Linux) needs a high-privileged user. Neither CERT@VDE nor CODESYS reports exploitation, and CISA's SSVC data in NVD records exploitation as none; the CVE is not in CISA KEV. Fixes: 3.5.22.50 for the Windows, RTE, Gateway, Runtime Toolkit and similar runtimes; 4.24.0.0 for the Linux-based runtimes, planned for December 2026. Until then, block the CODESYS online protocol from untrusted networks, keep remote access behind a VPN with strong authentication, and retest once firmware or runtime updates land.
What to do
- Restrict the CODESYS online protocol services with firewalls and network segmentation; allow connections only from trusted engineering systems and never expose runtimes to untrusted networks, including the Internet (CERT@VDE mitigation)
- Where remote access is needed, use a VPN with strong authentication
- Update to 3.5.22.50 where a fix exists for the product (per VDE-2026-169, -170, -171 remediation lists), obtained through CODESYS Installer or the CODESYS Update area
- For Linux-based runtimes, track the 4.24.0.0 release (planned December 2026) and keep network restrictions in place until it is installed
- Track CERT@VDE advisories VDE-2026-169, VDE-2026-170 and VDE-2026-171 for the nine CVEs
Fixed versions
- 3.5.22.50 (VDE-2026-169: 13 products incl. RTE SL, Control Win SL, Gateway, Runtime Toolkit, Development System 3; VDE-2026-170: Runtime Toolkit; VDE-2026-171: RTE SL and RTE for Beckhoff CX SL)
- 4.24.0.0 (Linux-based SL runtimes; planned December 2026 per VDE-2026-169 and -170)
Sources
All live incidents on Threat Watch