CODESYS Control Flaw CVE-2026-127148 PLC2Shell Allows Pre-Auth Remote Code Execution

· CyberSecurity

TLDR

  • CVE-2026-127148 lets an unauthenticated attacker run code on CODESYS Control runtimes via crafted online service packets, CVSS 9.8.13
  • Fix 3.5.22.50 covers 13 of 26 affected products; Linux-based products wait on version 4.24.0.0, planned for December.14
  • No active exploitation is reported, but embedded runtimes only get fixes once device makers release firmware.23

CERT@VDE published advisory VDE-2026-169 on 30 November 2026, covering CVE-2026-127148 in the CODESYS Control runtime.1 It says the CmpChannelMgr and CmpChannelMgrEmbedded components perform improper length checking on online service packets, causing an out-of-bounds write, and that an unauthenticated remote attacker can use a specially crafted packet to execute arbitrary code.1 The advisory scores it CVSS 3.1 9.8, and the CVE record, published the same day, also carries a CVSS 4.0 score of 9.3.13 Four related CVEs in the same advisory need authenticated access and score between 4.3 and 7.1.1

The advisory credits Felix Eberstaller of Limes Security and Luca Borzacchiello of Nozomi Networks with reporting the flaw.13 Limes detailed it on 2 December under the project name PLC2Shell, saying it found about 40 vulnerabilities in the CODESYS runtime, visualisation and engineering components, of which the first 11 were published by CERT@VDE on 24 and 30 November.2 It says it demonstrated code execution on Windows, Linux and VxWorks runtimes and on a Schneider Electric Modicon M241, and that it is withholding exploit details while affected products are updated.2 On devices in its lab, Limes says it established persistence that survives a restart and remains until the firmware is reflashed, and that other devices may be affected in the same way.2 The CVE record includes CISA's assessment, which lists exploitation as none, the flaw as automatable and the technical impact as total.3

The patch picture is uneven.1 CERT@VDE says Windows-based products and toolkits, among them Control RTE (SL), Control Win (SL), Runtime Toolkit, Safety SIL2 and Development System 3, should move to version 3.5.22.50.1 Linux-based products, including Control for Linux SL, Raspberry Pi SL, PFC200 SL and PLCnext SL, are affected below 4.24.0.0, a release the advisory says is planned for December 2026.1 The Hacker News counts 13 of the 26 affected products as having a fix available and says about 30 further findings remain under coordinated disclosure.14 The affected list includes CODESYS Safety SIL2, a safety runtime; The Hacker News says it has not been demonstrated whether the flaw could defeat a deployed, certified safety function.14

Limes says most CODESYS runtimes ship inside manufacturers' firmware, so each manufacturer must integrate and release its own update, and operators then need a maintenance window.2 It cites the vendor's figures of about 1,000 device types from more than 500 manufacturers and well over 10 million compatible controllers, and says its own scan found 1,094 CODESYS devices reachable directly from the internet.2 The Hacker News notes that the vendor figure describes the ecosystem, not the number of vulnerable devices.4

CERT@VDE's mitigation is to restrict network access to the CODESYS online protocol services with firewalls and segmentation, allow connections only from trusted systems, prevent direct exposure to untrusted networks including the internet, and use a VPN with strong authentication where remote access is needed.1 Limes says there is currently no evidence of active exploitation.2

Single-source note: press coverage reviewed here comes from one outlet, The Hacker News, which draws on the advisory, the Limes write-up and the CVE record; the technical details above rest on those primary sources.1234

Why it matters: operators of PLCs and industrial gateways built on CODESYS should confirm with their manufacturer which firmware carries the fix and keep the online protocol off untrusted networks, since many devices will wait on vendor releases.12

Sources

  1. CODESYS Control - multiple vulnerabilities (CERT@VDE)
  2. PLC2Shell: Pre-Auth RCE in CODESYS Control Runtime (Limes Security)
  3. CVE Record: CVE-2026-127148 (CVE Program (CERT@VDE CNA))
  4. Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password (The Hacker News)