CODESYS Control PLC2Shell: unauthenticated RCE CVE-2026-127148 (CVSS 9.8); 3.5.22.50 patches v3.5, Linux builds await 4.24.0.0
Matéria consolidada. Reúne 2 matérias que o Tifon tinha publicado separadamente sobre a mesma história. A IA reescreveu o relatório com o que as 3 fontes trouxeram em 04/12/2026 12:08; os links antigos trazem para cá.
Fontes: gbhackers.com ↗ thehackernews.com ↗ securityonline.info ↗
CODESYS GmbH and CERT@VDE disclosed a critical out-of-bounds write, CVE-2026-127148 (CVSS 9.8), in CODESYS Control. An unauthenticated remote attacker with network access to the controller's online services can use it to run code, with no user interaction (securityonline.info, thehackernews.com). It is the most serious finding of the PLC2Shell research by Limes Security, which reported about 40 flaws, 11 of them with CVEs. Limes Security demonstrated code execution in the lab on Windows, Linux and VxWorks runtimes and on a Schneider Electric Modicon M241, and is withholding exploit details (thehackernews.com, gbhackers.com). No exploitation in the wild has been confirmed, and CISA's assessment lists exploitation as none and the flaw as automatable (thehackernews.com). Fixes are available for 13 of 26 affected products in 3.5.22.50. The 13 Linux and PLC builds wait for 4.24.0.0, planned for December 2026 and not yet confirmed as released in the sources. Limes Security also showed in the lab that persistence can survive restarts, so patching does not clean a controller that is already compromised (gbhackers.com).
Entenda a falha
A vulnerabilidade
CVE-2026-127148 (CVSS 9.8, found in Limes Security's PLC2Shell research) is a CWE-787 out-of-bounds write in CmpChannelMgr and CmpChannelMgrEmbedded, the CODESYS Control components that handle online-service traffic. An unauthenticated attacker with network access to those services can run code, with no user interaction (AV:N/AC:L/PR:N/UI:N). v3.5 products from 3.0.0.0 up to 3.5.22.50 are fixed in 3.5.22.50. Linux and PLC builds from 3.5.0.0 wait for 4.24.0.0, planned for December 2026 and not confirmed as released. Others, in order of severity: CVE-2026-127167 (7.2, out-of-bounds write in CmpLinuxRTDiag, code execution by a high-privileged user), CVE-2026-127169 and -127170 (7.5, unauthenticated DoS in the Control RTE network stack), CVE-2026-127149 (7.1), -127147 (6.5), -127150 (5.5), -127146 (4.3) and -127168 (4.3, log leak).
Como funciona
The controller exposes online services, the interface used to program and manage it. Packets sent to these services are processed by CmpChannelMgr and CmpChannelMgrEmbedded. According to the story, a crafted online-service packet makes the software write outside the memory meant for the data. This happens while the traffic is being handled, before any authentication, so the attacker needs no credentials. The memory corruption can then be turned into code execution in the runtime. The articles do not describe the exact message, and the researchers are withholding exploitation details.
Por que é vulnerável
The root cause is a memory-safety bug: an out-of-bounds write (CWE-787) in the code that processes online-service packets, reachable before authentication. The articles do not say which check is missing, why the bug went unnoticed or what the fix changes in the code. The fix ships in 3.5.22.50 for v3.5 products and in 4.24.0.0 (not yet confirmed as released) for Linux and PLC builds. Controllers with an embedded runtime depend on a firmware update from the device manufacturer.
Onde está
The components CmpChannelMgr and CmpChannelMgrEmbedded, covered by CERT@VDE advisory VDE-2026-169; no file, function or commit is named.
Como foi descoberta
The flaw is part of PLC2Shell, research by Limes Security that found about 40 flaws in CODESYS components, 11 of them with CVEs. The advisory credits Felix Eberstaller (Limes Security / QuellSec) and Luca Borzacchiello (Nozomi Networks) without saying who found which CVE; only securityonline.info also names ABB. The findings went to the vendor in July. Sources differ on dates: securityonline.info says 30 November 2026, while gbhackers.com says CERT@VDE published the CVEs on 24 and 30 November. About 30 findings remain under coordinated disclosure, with a full presentation planned for a conference next year.
PoC existente, privada
O exploit existe, mas quem o tem não o publicou.
No public exploit exists. Limes Security demonstrated code execution in the lab on Windows, Linux and VxWorks runtimes and on a Schneider Electric Modicon M241, and is withholding exploit details. It also showed that persistence can survive restarts, so patching does not clean a controller that is already compromised. No exploitation in the wild is confirmed; CISA lists exploitation as none but the flaw as automatable. Since no authentication is needed, restricting network access and patching are urgent, and many fixes depend on manufacturer firmware.
Explicação gerada por IA a partir da matéria e dos artigos, em 04/12/2026 12:23.
Detalhes técnicos
- CVE-2026-127148 is a CWE-787 out-of-bounds write in CmpChannelMgr and CmpChannelMgrEmbedded, the components that process online-service traffic. A crafted online-service packet triggers it. The vector is AV:N/AC:L/PR:N/UI:N (securityonline.info, certvde.com). Credited finders are Felix Eberstaller (Limes Security / QuellSec) and Luca Borzacchiello (Nozomi Networks); the advisory does not say who found which CVE (certvde.com). securityonline.info also names ABB as a reporter.
- VDE-2026-169 has five flaws. The other four need authentication: CVE-2026-127149 (7.1, CmpRedundancy, incorrect authorization), CVE-2026-127147 (6.5, CmpSettings integer underflow, DoS), CVE-2026-127150 (5.5, CmpOpenSSL path traversal, high privilege) and CVE-2026-127146 (4.3, CmpAppBP, breakpoint persistence) (securityonline.info).
- VDE-2026-170 has two flaws. CVE-2026-127167 (7.2) is an out-of-bounds write in CmpLinuxRTDiag that lets a high-privileged user run code on the Linux host through PLC shell calls. CVE-2026-127168 (4.3) leaks internal host data into log files. thehackernews.com says the Linux advisory affects only the Linux and QNX builds.
- VDE-2026-171 has two unauthenticated DoS flaws (7.5) in the CODESYS Control RTE network stack. CVE-2026-127169 abuses unchecked TCP errors and blocks new connections. CVE-2026-127170 leaks packet buffers through crafted UDP traffic (securityonline.info).
- A separate advisory covers four flaws in CODESYS Visualization before 4.11.0.0, fixed in that release the week before 3 December. Three score 8.8 and can lead to code execution on an engineering workstation. They need a signed-in user operating an online visualization, and an attacker who controls a trusted runtime or tampers with the connection. The fourth is a low-severity local issue (thehackernews.com).
- Affected products: v3.5 products from 3.0.0.0 up to but not including 3.5.22.50. These include Control RTE SL, Control Win SL, Runtime Toolkit, Safety SIL2, Gateway, HMI SL, PLCHandler and the Development System 3 simulation runtime, which puts engineering workstations in scope. Linux and PLC products from 3.5.0.0 up to but not including 4.24.0.0 include Control for Linux, Raspberry Pi, BeagleBone, IOT2000, PFC100/PFC200, PLCnext, WAGO TP600 and Virtual Control SL (certvde.com, securityonline.info). The device range also spans Beckhoff CX and WAGO touch panels (thehackernews.com).
- Safety: compromising a CODESYS Safety SIL2 runtime does not necessarily defeat the safety function, and this has not been demonstrated. Operators should assess it separately (thehackernews.com, gbhackers.com).
- Exposure: CODESYS estimates more than 10 million compatible controllers, about 1,000 device types and more than 500 manufacturers. These figures describe the ecosystem, not the vulnerable population. Limes Security found 1,094 CODESYS devices reachable online, which does not by itself establish vulnerability (gbhackers.com).
- Disclosure: the findings went to the vendor in July. About 30 remain under coordinated disclosure, with a full presentation planned for a conference next year (thehackernews.com, gbhackers.com).
Remediação
- Update v3.5 runtime products and toolkits to 3.5.22.50 through the CODESYS Installer, the Store or the vendor's download area. Update CODESYS Visualization to 4.11.0.0.
- For Linux and PLC builds, apply 4.24.0.0 once released (planned for December 2026).
- Controllers with an embedded runtime need a firmware update from the device manufacturer. This may need downtime and retesting in safety-related environments (gbhackers.com).
- Until patched, use firewalls and segmentation to limit CODESYS online-protocol services to trusted engineering systems. Keep devices off untrusted networks and the internet, and use a VPN with strong authentication for remote access (certvde.com, gbhackers.com).
- Monitor for connections to CODESYS services from unexpected hosts, including hosts inside the plant network (gbhackers.com).
- If compromise is suspected, verify the integrity of the firmware and applications. Do not assume that a reboot or update cleans the controller (gbhackers.com).
Relatos divergentes
- CVE counts: securityonline.info counts nine flaws in VDE-2026-169, VDE-2026-170 and VDE-2026-171, including the two RTE DoS flaws. thehackernews.com and gbhackers.com count 11 PLC2Shell CVEs, which include the four Visualization flaws. The sources do not reconcile the two scopes, so the totals differ by how each one counts. gbhackers.com's split is one critical, five high, four medium and one low.
- Disclosure dates: securityonline.info dates the disclosure to 30 November 2026. gbhackers.com says CERT@VDE published the CVEs on 24 and 30 November, which is consistent with Visualization being fixed earlier. thehackernews.com (3 December) says only "earlier this week".
- 4.24.0.0 timing: thehackernews.com says "this month" and the other two say "planned" or "scheduled" for December 2026. None confirms a release, so treat it as unreleased.
- Reporters: only securityonline.info names ABB as a reporter. The other sources credit Eberstaller and Borzacchiello alone. The advisory text cited does not settle this.
Linha do tempo
-
PLC2Shell: unauthenticated RCE (CVE-2026-127148, CVSS 9.8) in CODESYS Control Runtime; Limes Security shows persistence in lab
The article adds a lab demonstration of persistence across restarts, a warning that patching does not remove an existing compromise, and 1,094 CODESYS devices found online by Limes Security. It also adds the ecosystem size estimate (10 million controllers), the severity split of the 11 CVEs, the CERT@VDE publication dates (24 and 30 November) and monitoring guidance.
ler a análise desta fonte ocultar
The article adds a lab demonstration of persistence across restarts, a warning that patching does not remove an existing compromise, and 1,094 CODESYS devices found online by Limes Security. It also adds the ecosystem size estimate (10 million controllers), the severity split of the 11 CVEs, the CERT@VDE publication dates (24 and 30 November) and monitoring guidance.
A pre-authentication memory corruption flaw in the CODESYS Control Runtime, CVE-2026-127148 (CVSS v3.1 9.8), lets a remote attacker run arbitrary code on industrial controllers with no credentials or user interaction. Limes Security (researcher Felix Eberstaller) calls the research "PLC2Shell" and demonstrated code execution on Windows, Linux and VxWorks runtimes, including a Schneider Electric Modicon M241. Exploit details are withheld and no active exploitation was reported at disclosure (gbhackers.com). CERT@VDE published the first 11 PLC2Shell CVEs on 24 and 30 November 2026. They break down into one critical, five high, four medium and one low. About 40 findings were reported in total, and the rest are still in coordinated disclosure.
Technical Details
- Three high-severity flaws in CODESYS Visualization can lead to code execution on engineering workstations. Other findings affect controller redundancy, availability and system information access.
- Limes Security showed that persistence can survive restarts on laboratory devices. Patching does not reveal whether a controller was already compromised.
- CODESYS estimates more than 10 million compatible controllers, about 1,000 device types and more than 500 manufacturers. These figures describe the ecosystem, not the vulnerable population. Limes Security found 1,094 CODESYS devices reachable online, which does not by itself establish vulnerability.
- CODESYS Safety SIL2 is an affected product. Compromising its runtime does not necessarily defeat the safety function, so operators should assess that risk separately.
Remediation
- 3.5.22.50 is released for affected Windows-based products and toolkits. 4.11.0.0 is released for CODESYS Visualization. 4.24.0.0 for Linux-based Control SL products was scheduled for December 2026.
- Controllers with an embedded runtime need a firmware update from the device manufacturer. This may need downtime and retesting in safety-related environments.
- Until then, use firewalls and segmentation to limit CODESYS online services to trusted engineering systems. Remove direct internet access, and use a VPN with strong authentication for remote maintenance.
- Monitor for connections to CODESYS services from unexpected hosts, including hosts inside the plant network.
- If compromise is suspected, verify the integrity of the firmware and applications. A reboot or update should not be assumed to clean the controller.
-
CODESYS Control CVE-2026-127148 (CVSS 9.8) lets unauthenticated attackers run code on PLCs; Limes Security's PLC2SHELL research
The article adds the scope (26 affected products, 13 fixed and 13 awaiting 4.24.0.0). It also adds the PLC2SHELL project details (about 40 flaws, 11 with CVEs, lab demonstrations on Windows, Linux, VxWorks and a Schneider Modicon M241), the separate Visualization advisory (four flaws fixed in 4.11.0.0), and CISA's assessment (no exploitation, automatable).
ler a análise desta fonte ocultar
The article adds the scope (26 affected products, 13 fixed and 13 awaiting 4.24.0.0). It also adds the PLC2SHELL project details (about 40 flaws, 11 with CVEs, lab demonstrations on Windows, Linux, VxWorks and a Schneider Modicon M241), the separate Visualization advisory (four flaws fixed in 4.11.0.0), and CISA's assessment (no exploitation, automatable).
A critical out-of-bounds write, CVE-2026-127148 (CVSS 9.8, rated by CERT@VDE), in CODESYS Control lets an unauthenticated attacker with network access to the controller's online services run code, with no user interaction. CODESYS GmbH disclosed it through CERT@VDE earlier this week. It affects 26 products. Thirteen have a fix in 3.5.22.50. The other 13, including the Linux-based runtimes, wait for 4.24.0.0, planned for this month. The flaw is the most serious finding of PLC2SHELL, research published by Limes Security. It found about 40 flaws, 11 of which have CVEs. The researchers demonstrated code execution on Windows, Linux and VxWorks runtimes and on a Schneider Electric Modicon M241, in the laboratory only, and are withholding exploit details. CISA's assessment lists exploitation as none and the flaw as automatable.
Technical Details
- CVE-2026-127148 is an out-of-bounds write in the two components that process online-service traffic. Credited finders are Felix Eberstaller (Limes Security) and Luca Borzacchiello (Nozomi Networks).
- Of the other ten published CVEs, four sit in the same advisory (CVSS 4.3 to 7.1) and need an authenticated account.
- Four affect CODESYS Visualization before 4.11.0.0 and were fixed in that release last week, per a separate advisory. Three of them score 8.8 and can put code on an engineering workstation. They need a signed-in user operating an online visualization, and an attacker who controls a trusted runtime or tampers with the connection. The fourth is a low-severity local issue.
- Two more, in a Linux advisory, affect only the Linux and QNX builds. They need an authenticated account, and the code-execution one needs a high-privileged account.
- The affected list includes CODESYS Safety SIL2 and the simulation runtime in the Development System, which puts engineering workstations in scope. Whether a deployed, certified safety function could be defeated has not been demonstrated.
- The affected products span Beckhoff CX, WAGO touch panels, PLCnext and Raspberry Pi. The findings went to the vendor in July. About 30 remain under coordinated disclosure, with a full presentation planned for a conference next year.
Remediation
- Install 3.5.22.50 (runtime products) or 4.11.0.0 (Visualization) through the CODESYS Installer or the vendor's download area. Linux-based products wait for 4.24.0.0.
- Until then, restrict online services with firewalls and network segmentation to trusted systems, and use a VPN with strong authentication for remote access. Do not expose CODESYS runtimes to untrusted networks or the Internet.
- Most runtimes ship inside device firmware, so a fix reaches operators only when the manufacturer releases its own update, and regulated plants may need to retest first.
-
CODESYS Control: nine flaws patched, including unauthenticated RCE CVE-2026-127148 (CVSS 9.8, PLC2Shell) in PLC runtimes
ler a análise desta fonte ocultar
CODESYS GmbH and CERT@VDE disclosed nine CODESYS Control vulnerabilities on 30 November 2026 in advisories VDE-2026-169, VDE-2026-170 and VDE-2026-171. The worst is CVE-2026-127148 (CVSS 9.8). It is an out-of-bounds write (CWE-787) in CmpChannelMgr and CmpChannelMgrEmbedded. An unauthenticated remote attacker can use a crafted online-service packet to run code. Limes Security's research names this flaw "PLC2Shell" (plc2shell.com). No exploitation in the wild has been confirmed, and the article reports no public exploit code. Fixes are available now for the v3.5 products (3.5.22.50). The v4.x Linux and PLC builds stay unpatched until version 4.24.0.0, planned for December 2026.
Technical Details
- VDE-2026-169 has five flaws. CERT@VDE's advisory (certvde.com) gives CVE-2026-127148 the vector AV:N/AC:L/PR:N/UI:N (9.8). The other four need authentication: CVE-2026-127149 (7.1, CmpRedundancy, incorrect authorization, low privilege), CVE-2026-127147 (6.5, CmpSettings integer underflow, DoS), CVE-2026-127150 (5.5, CmpOpenSSL path traversal, high privilege) and CVE-2026-127146 (4.3, CmpAppBP, breakpoint persistence).
- VDE-2026-170 has two flaws. CVE-2026-127167 (7.2) is an out-of-bounds write in CmpLinuxRTDiag. A high-privileged user can use PLC shell calls to run code on the Linux host. CVE-2026-127168 (4.3) is a SysModule leak of internal host data into log files.
- VDE-2026-171 has two unauthenticated DoS flaws (7.5) in the CODESYS Control RTE network stack. CVE-2026-127169 abuses unchecked TCP errors and blocks new connections. CVE-2026-127170 leaks packet buffers through crafted UDP traffic.
- Affected products: v3.5 products (13 listed in VDE-2026-169, including Control RTE SL, Control Win SL, Runtime Toolkit, Safety SIL2, Gateway, HMI SL, PLCHandler and the Development System 3 simulation runtime) from 3.0.0.0 up to but not including 3.5.22.50. Linux and PLC products (including Control for Linux, Raspberry Pi, BeagleBone, IOT2000, PFC100/PFC200, PLCnext, WAGO TP600 and Virtual Control SL) from 3.5.0.0 up to but not including 4.24.0.0 (certvde.com).
- Reporters: the VDE-2026-169 advisory credits Felix Eberstaller (Limes Security / QuellSec) and Luca Borzacchiello (Nozomi Networks). It does not say who found which CVE. The article also names ABB as a reporter (certvde.com, securityonline.info).
Remediation
- Update v3.5 products to 3.5.22.50 through the CODESYS Installer or Store.
- For v4.x Linux and PLC builds, apply 4.24.0.0 once released (planned for December 2026).
- Until then, restrict CODESYS online-protocol ports with firewalls and network segmentation, and allow only trusted hosts.
- Keep devices off untrusted networks and the internet, and use a VPN with strong authentication for remote access (certvde.com).