ICS/OT · CVE-2026-127148

CVE-2026-127148

Unauthenticated RCE in CODESYS Control Hits 26 PLC Runtime Products. A CVSS 9.8 out-of-bounds write in CODESYS Control lets an attacker run code on a PLC with no password and no user action.

Matt Lucas  |  December 3, 2026  |  5 min
Editorial hero illustration
CVE in this postCVE-2026-127148Live detections →All RedEye CVEs →
9.8
CVSS score, no auth required
26
Affected CODESYS products
13
Products with no fix yet
~40
Bugs found by PLC2SHELL
Detected by CaverLive detection for CVE-2026-127148 in the RedEye Intel Feed →
TL;DR
  • What: CODESYS disclosed CVE-2026-127148, an unauthenticated out-of-bounds write in the CODESYS Control runtime's online-services components that allows remote code execution on PLCs.
  • Impact: Any attacker with network access to a controller's online services can run code on it, across 26 products embedded in hardware from Beckhoff, WAGO, PLCnext, Schneider Electric and others.
  • Fix / mitigation: Upgrade to 3.5.22.50 for the 13 Windows and toolkit products now, wait for 4.24.0.0 (planned December 2026) for the 13 Linux-based products, and restrict online services with firewalls, segmentation and VPN until then.
  • Who's at risk: Operators of CODESYS-based PLCs, HMIs, edge gateways and engineering workstations, especially plants that rely on device-maker firmware updates to receive the fix.

A critical flaw in CODESYS Control, the runtime built into PLCs from many manufacturers, lets an attacker run code on a controller with no password and no user interaction. Tracked as CVE-2026-127148 and scored 9.8 by CERT@VDE, it is an out-of-bounds write in the two components that process online-service traffic. That is the interface engineers use to program and manage the controller. The only thing an attacker needs is network access to it.

Only half of the affected products can be patched today. Of 26 affected products, 13 have a fixed release, 3.5.22.50, available now. The other 13, including every Linux-based runtime, wait on 4.24.0.0, which CODESYS GmbH plans to ship this month.

Which products are affected

The CODESYS advisory splits the affected products into two groups.

Two entries in the first group widen the scope. Safety SIL2 is a safety runtime, although nobody has shown that the flaw can defeat a deployed, certified safety function. The Development System contains a simulation runtime, so engineering workstations are in scope as well as controllers.

No login, no click, automatable

When CISA assessed the flaw earlier this week, it listed exploitation as none and rated the flaw as automatable. Memory corruption in a PLC runtime that needs no authentication and is reachable over the network is the kind of bug that spreads quickly once exploitation details are public.

One runtime, many vendors

CODESYS Control is not one vendor's PLC. Device makers license it and build it into their own hardware. The affected list covers products for Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. CODESYS cites well over 10 million compatible controllers in use worldwide. That number describes the whole ecosystem, not the count of vulnerable devices, but it shows how far one runtime bug can reach.

This also stretches the patch timeline. Most affected runtimes ship inside manufacturer firmware, so the CODESYS fix reaches a plant floor only after the device maker repackages it. Regulated facilities may then need to retest before they deploy it. For many operators, real-world exposure will last well beyond the CODESYS release date.

PLC2SHELL: about 40 bugs, 11 CVEs so far

CVE-2026-127148 is the most serious finding of PLC2SHELL, a research project that OT security firm Limes Security published on December 2. Felix Eberstaller led the work. The CVE record also credits Luca Borzacchiello of Nozomi Networks as a finder of the critical flaw. The team reported about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and the engineering components. Eleven now have CVE numbers, about 30 remain under coordinated disclosure, and a full presentation is planned for a conference next year.

The researchers showed code execution on Windows, Linux and VxWorks runtimes, and on a physical Schneider Electric Modicon M241 controller. All of it was lab work, and exploitation details are being held back until patches are widely deployed. The findings reached the vendor through CERT@VDE in July. That means the Linux fix is scheduled to arrive about five months after the report.

The other ten published CVEs

The other published flaws need more from an attacker, but several still matter.

The workstation attack path deserves attention. The machine that programs controllers is trusted by every PLC it manages, so compromising it gives an attacker a path to all of them.

Vendor fix and interim mitigation

The fixed builds are 3.5.22.50 for the first runtime group and 4.11.0.0 for Visualization. Both are distributed through the CODESYS Installer and the vendor's download area. Operators of the Linux-based products have no patch until 4.24.0.0 ships.

Until updates land, the CODESYS advisory recommends two measures. First, restrict online services with firewalls and network segmentation so that only trusted systems can reach them. Second, require a VPN with strong authentication for remote access. The researchers put it more bluntly: "Do not expose CODESYS runtimes to untrusted networks or the Internet."

Firmware sets the real patch date

For products sold under a device maker's brand, the CODESYS GmbH release date is not when the fix reaches the controller. The manufacturer's firmware release is, followed by any retesting a regulated plant requires.

RedEye assessment

In August 2023, Microsoft disclosed 16 previously known flaws in the CODESYS V3 SDK, and most of them required an attacker to log in first. CVE-2026-127148 requires no login at all. Three factors raise the risk: CISA rates the bug as automatable, half the affected products have no fix today, and device makers' firmware releases will keep real-world exposure open for months. Withholding the exploitation details buys time but does not make the devices safe, and about 30 more findings are still in coordinated disclosure.

Organizations running CODESYS-based controllers need a current view of which assets expose online services, and to which networks. RedEye's ICS/OT assessment maps that exposure across controllers and engineering workstations and ranks remediation by when firmware will be available. Contact RedEye to schedule an assessment.

Questions about your exposure?

RedEye Security provides assessments for organizations that need to understand their real risk.

Talk to us