News
CODESYS flaw lets anyone with network access run code on a controller (CVE-2026-127148).
A critical out-of-bounds write in CODESYS Control lets an attacker run code on a programmable logic controller with no password, as long as they can reach the controller's online services.
Saasment is an early-access AI security platform. Get early access.

Impact
- What was impacted
- CODESYS Control, the runtime many manufacturers put in programmable logic controllers. CVE-2026-127148 is an out-of-bounds write in the two components that handle online-service traffic, the interface used to program and manage the controller. CERT@VDE scored it 9.8 in advisory VDE-2026-169. It needs no password and no click. It needs network access to those online services. Twenty-six products are affected, in two groups of 13. One group, from 3.0.0.0 up to but not including 3.5.22.50, is fixed in 3.5.22.50. The other, from 3.5.0.0 up to but not including 4.24.0.0, waits on 4.24.0.0, planned for December 2026. CODESYS Visualization before 4.11.0.0 is a separate set of fixes in 4.11.0.0. The report does not name the other ten CVE identifiers.
- Who was impacted
- Plant and building teams that run CODESYS-based controllers, including Beckhoff CX, WAGO touch panels, PLCnext, and Raspberry Pi builds, plus engineers whose workstations run the CODESYS Development System simulation runtime. The first group also includes the Safety SIL2 runtime. Linux, Linux ARM, Raspberry Pi, PFC100 and PFC200, PLCnext, WAGO Touch Panels 600, Virtual Control, and Edge Gateway for Linux are in the group that does not have a release yet. Device makers ship most of these runtimes inside their own firmware, so a CODESYS fix reaches a plant only when that manufacturer ships an update.
- What you need to do
- Where 3.5.22.50 is the fixed release, install it through the CODESYS Installer or the vendor download area, after the device maker has shipped it. Install Visualization 4.11.0.0 if you are on an older visualization build. For products waiting on 4.24.0.0, there is no patch yet. Keep online services off untrusted networks and the internet, allow only trusted systems through a firewall and segmentation, and use a VPN with strong authentication for remote access. Do not treat the vendor's figure of well over 10 million CODESYS-compatible controllers as a count of vulnerable devices. Regulated plants may need to retest before they install.
CODESYS GmbH disclosed CVE-2026-127148 through CERT@VDE earlier in the week of this December 3 report. Advisory VDE-2026-169 gives it a CVSS score of 9.8. The bug is an out-of-bounds write in the two components that process online-service traffic. Anyone who can reach that interface can run code on the controller without an account and without a person at the device doing anything. Thirteen products are fixed now. They include Control RTE (SL), Control Win (SL), the Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, and Development System 3. Affected builds run from 3.0.0.0 up to, but not including, 3.5.22.50, and 3.5.22.50 is available. The other thirteen include Control for Linux SL and Linux ARM SL, Control for Raspberry Pi SL, PFC100 and PFC200 SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, and Edge Gateway for Linux. Those run from 3.5.0.0 up to, but not including, 4.24.0.0. Release 4.24.0.0 is planned for December 2026.
The first group includes CODESYS Safety SIL2 and the simulation runtime inside the CODESYS Development System, so engineering workstations are in scope as well as controllers. The report says it has not been shown that the flaw can defeat a deployed, certified safety function. CODESYS Control is not one company's PLC. Device makers build it into their own hardware, and the affected list includes products for Beckhoff CX controllers, WAGO touch panels, the PLCnext platform, and the Raspberry Pi. The vendor's ecosystem figures say well over 10 million CODESYS-compatible controllers are in use worldwide. That number describes the ecosystem, not how many devices are vulnerable. Most affected runtimes ship inside a device maker's firmware, so operators get a fix only when that manufacturer releases it, and a regulated plant may have to retest before installing.
The flaw is the most serious result of PLC2SHELL, a project Limes Security made public the day before this December 3 report. The company said it found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization, and engineering components, of which 11 now have CVE numbers. Researchers showed code execution in the lab on Windows, Linux, and VxWorks runtimes, and on a physical Schneider Electric Modicon M241. They are holding back exploitation details until patches are widely deployed. The findings went to the vendor in July through CERT@VDE. About 30 remain under coordinated disclosure, with a full presentation planned for a conference next year. The report does not name that conference. The CVE record also credits Luca Borzacchiello of Nozomi Networks as a finder, alongside Felix Eberstaller.
CISA's entry, from an assessment earlier the same week, lists exploitation as none and rates the flaw as automatable. The other ten published CVEs ask more of an attacker, and this report does not give their identifiers. Four sit in the same advisory, score between 4.3 and 7.1, and all require an authenticated account. Four more affect CODESYS Visualization versions before 4.11.0.0 and were fixed in that release last week, in a separate visualization advisory. Three of those, scored 8.8, can put code on an engineering workstation only when a signed-in user is operating an online visualization and the attacker controls a runtime that the workstation trusts, or tampers with the connection between them. The fourth is a low-severity local issue. The last two, in a separate Linux advisory, affect only the Linux and QNX builds and require an authenticated account, a high-privileged one for the flaw that allows code execution.
The fixes that exist now, 3.5.22.50 for the runtime products and 4.11.0.0 for Visualization, install through the CODESYS Installer or the vendor's download area. Operators of the Linux-based products can only watch for 4.24.0.0 this month. Until the updates are actually on the device, the advisory says to restrict online services with firewalls and network segmentation so only trusted systems can reach them, and to use a VPN with strong authentication for remote access. The researchers wrote not to expose CODESYS runtimes to untrusted networks or the internet. In August 2023, Microsoft disclosed 16 previously known CODESYS flaws in the V3 software development kit, and most of those required a login. This critical flaw does not.
For your AI agent
Agent instructions — copy paste to Claude
You are helping me respond to CVE-2026-127148 in CODESYS Control, disclosed through CERT@VDE advisory VDE-2026-169 with a CVSS score of 9.8. It is an out-of-bounds write in the components that handle online-service traffic. An attacker who can reach that interface can run code with no password and no user action. Do not write a proof of concept, scan the internet for controllers, or reconstruct the PLC2SHELL details the researchers said they are withholding. Ask before you change a firewall, install firmware, isolate a controller, or start a retest on a production line. Facts from the report: - CVE-2026-127148. Out-of-bounds write in the two components that process online-service traffic. No account required. No user action required. Network access to the online services is required. CVSS 9.8 from CERT@VDE. Advisory id in the linked advisory path: VDE-2026-169. - Group of 13 products, including Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, and Development System 3. Affected from 3.0.0.0 up to, not including, 3.5.22.50. Fixed version 3.5.22.50 is available. - Group of 13 products, including Control for Linux SL, Control for Linux ARM SL, Control for Raspberry Pi SL, PFC100/PFC200 SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, and Edge Gateway for Linux. Affected from 3.5.0.0 up to, not including, 4.24.0.0. Fixed version 4.24.0.0 is planned for December 2026. It is not available yet. - The first group includes the Safety SIL2 runtime and the simulation runtime in the Development System, so engineering workstations are in scope. It has not been demonstrated that the flaw defeats a deployed, certified safety function. Do not claim that it does. - Named hardware families in the affected list: Beckhoff CX, WAGO touch panels, PLCnext, and Raspberry Pi. The vendor ecosystem figure of well over 10 million CODESYS-compatible controllers is not a count of vulnerable devices. - Most runtimes ship inside a device maker's firmware. A CODESYS version reaches the plant when that manufacturer ships an update. Regulated plants may need to retest first. - PLC2SHELL, from Limes Security, was made public the day before this December 3 report. About 40 vulnerabilities across CODESYS Control, CODESYS Visualization, and engineering components. Eleven now have CVE numbers. About 30 remain under coordinated disclosure. Lab code execution was shown on Windows, Linux, and VxWorks, and on a physical Schneider Electric Modicon M241. Exploitation details are being held back. Findings were sent to the vendor in July via CERT@VDE. A conference talk is planned for next year. The conference is not named. - Finders named for the critical flaw: Luca Borzacchiello of Nozomi Networks and Felix Eberstaller. - CISA, earlier the same week: exploitation none, and the flaw is rated automatable. - The other ten published CVEs are not identified in this report. Four are in the same advisory, scored 4.3 to 7.1, and need an authenticated account. Four affect CODESYS Visualization before 4.11.0.0 and were fixed in 4.11.0.0 last week. Three of those score 8.8 and can run code on an engineering workstation only when a signed-in user operates an online visualization and the attacker controls a trusted runtime or tampers with the connection. The fourth is a low-severity local issue. Two more, Linux and QNX builds only, need an authenticated account, and the code-execution one needs a high-privileged account. Do not invent their CVE identifiers. - Install path for the fixes that exist: CODESYS Installer or the vendor download area. Until a device is updated, restrict online services to trusted systems with firewalls and segmentation, and use a VPN with strong authentication for remote access. Do not expose CODESYS runtimes to untrusted networks or the internet. - August 2023: Microsoft disclosed 16 previously known CODESYS flaws in the V3 SDK. Most required a login. This one does not. Context: - What was impacted: CODESYS Control online services on 26 products, plus CODESYS Visualization before 4.11.0.0, including engineering workstations that run the simulation runtime. - Who should care: OT and plant teams, device-maker firmware owners, and engineers on the Development System. - What to do: install 3.5.22.50 and Visualization 4.11.0.0 where those are the fixed builds and the device maker has released them. Keep products that wait on 4.24.0.0 off untrusted networks. Do this in order. Prefer read-only checks. Ask before any firewall change, firmware install, or production retest. 1. Inventory - List controllers and engineering workstations that run CODESYS Control, Gateway, HMI, Safety SIL2, the Development System, or CODESYS Visualization. Record the product name and version. Do not probe a controller's online service with a crafted packet. - Mark each runtime as either in the 3.5.22.50 group or in the 4.24.0.0 group, using the product names above. If a name is not in the report, say so and do not guess which group it is in. - Record whether the online-service port is reachable from outside the plant network, from a vendor remote-access path, or only from engineering workstations. - Record whether Visualization is older than 4.11.0.0. - Record whether we are waiting on a device manufacturer's firmware rather than a direct CODESYS install. 2. Contain - If an online service is reachable from an untrusted network or the internet, propose limiting it to trusted systems and requiring a VPN with strong authentication for remote access. Ask before you change a firewall or a VPN. - Do not power off a running process controller unless I explicitly agree. Say what would stop if you did. 3. Remediate - For products fixed in 3.5.22.50, propose that version only after the device maker's update is the one we are allowed to install. Ask before you install. Mention that a regulated plant may need a retest first. - For Visualization before 4.11.0.0, propose 4.11.0.0. Ask before you install. - For the Linux-based group, do not install a made-up build. 4.24.0.0 is planned for December 2026 and was not available in this report. Keep the network restriction in place until it ships and the device maker releases it. - Do not invent CVE numbers for the other ten issues. If I have the CERT@VDE advisories, summarize those. If I do not, say so. 4. Verify - Report the version now installed, whether the online service is still reachable from an untrusted network, and which products are still waiting on 4.24.0.0 or on a manufacturer firmware package. 5. Report back - What matched, what you changed, and what is still unpatched because the fix is not out. Say that CISA had not recorded exploitation at the time of its assessment, and that a lab demo on a Modicon M241 is not the same as a confirmed attack on our plant. Do not invent product versions, CVE identifiers, or exploit steps. If a check needs access I have not given you, say what you need and stop.