Keyrook

CODESYS patches nine Control flaws, including a 9.8 unauthenticated remote code execution bug

CODESYS fixed nine Control flaws on 30 November 2026, including CVE-2026-127148, a 9.8-rated remote code execution bug that needs no login. Update version 3.5 products to 3.5.22.50 now.

A Siemens SIMATIC S7-1200 programmable logic controller with input and output modules
Image: UlrichAAB / Wikimedia Commons

Affects

  • CODESYS Control

Tracked as

  • CVE-2026-127148CODESYS Control · CVSS 9.8
  • CVE-2026-127169CODESYS Control RTE · CVSS 7.5
  • CVE-2026-127170CODESYS Control RTE · CVSS 7.5
  • CVE-2026-127167CODESYS Control for Linux · CVSS 7.2
  • CVE-2026-127149CODESYS Control · CVSS 7.1
  • CVE-2026-127147CODESYS Control · CVSS 6.5
  • CVE-2026-127150CODESYS Control · CVSS 5.5
  • CVE-2026-127146CODESYS Control · CVSS 4.3
  • CVE-2026-127168CODESYS Control for Linux · CVSS 4.3

CODESYS has fixed nine flaws in CODESYS Control, the runtime software that runs programmable logic controllers in factories, power systems and machine building. The company disclosed the flaws in three CERT@VDE advisories published on 30 November 2026, and the worst of them needs no login at all. Anyone running CODESYS-based controllers should patch now, and keep the controllers off the open internet until the update is in.

The worst flaw needs no login

The headline flaw is CVE-2026-127148, rated 9.8 out of 10. It sits in the channel manager of the CODESYS Control runtime, the part that handles service packets sent over the CODESYS online protocol. That code checks packet lengths incorrectly, and a malformed packet can write past the end of a buffer. An attacker on the network can send one crafted packet and run arbitrary code on the controller, with no username or password required. A successful attack takes over the controller completely: its programs, its data and its control over the physical process.

The flaw affects a long list of version 3.5 products, including Control RTE, Control Win, Gateway, HMI, Safety SIL2 and the Development System 3 simulation runtime, as well as the version 4.x Linux and PLC runtimes that run on Raspberry Pi, BeagleBone, PLCnext, WAGO and similar hardware. The fix is version 3.5.22.50 for the version 3.5 line. The version 4.x fix, 4.24.0.0, is only planned for December 2026, so those systems stay exposed for a few more weeks.

Two more flaws also need no login

A second advisory, VDE-2026-171, covers the network stack of CODESYS Control RTE, and both of its flaws can be triggered by anyone who can reach the device over the network. CVE-2026-127169, rated 7.5, abuses mishandled TCP connection errors to stop the service accepting new connections. CVE-2026-127170, also rated 7.5, leaks packet buffers through crafted UDP traffic until the device stops processing network traffic altogether. Either one can knock a controller off the network, which for a running production line means a halt. Both are fixed in version 3.5.22.50, and they affect Control RTE from version 3.5.16.0 onward.

The remaining six flaws need a login

The other six flaws need an attacker to be logged in, but they still matter on shared or poorly segmented plant networks. The most serious is CVE-2026-127167, rated 7.2, in the Linux layer of the runtime: a high-privileged user can send a crafted PLC shell request and run code on the Linux host underneath. It is fixed in 4.24.0.0 for the Linux and PLC runtimes, and in 3.5.22.50 for the Runtime Toolkit.

The other five, all in the main VDE-2026-169 advisory, are:

  • CVE-2026-127149 (7.1): a low-privileged user can change redundancy settings or stop a PLC from controlling its process.
  • CVE-2026-127147 (6.5): a low-privileged user can crash the runtime with a crafted settings request.
  • CVE-2026-127150 (5.5): a high-privileged user can probe for files outside the intended directory and crash the host.
  • CVE-2026-127146 (4.3): a low-privileged user can alter stored debug breakpoints.
  • CVE-2026-127168 (4.3): a low-privileged user can read internal system details from a log file, in the Linux layer described in VDE-2026-170.

The nine flaws by CVSS score

02.557.510RCE9.8TCP DoS7.5UDP DoS7.5Linux RCE7.2Redundancy7.1Settings6.5Path trav.5.5Log leak4.3Debug4.3 02.557.510RCE9.8TCP DoS7.5UDP DoS7.5Linux RCE7.2Redundancy7.1Settings6.5Path trav.5.5Log leak4.3Debug4.3
Source: CERT@VDE · in CVSS score
The numbers
CVSS scoreCVSS 3.1 score
RCE9.8
TCP DoS7.5
UDP DoS7.5
Linux RCE7.2
Redundancy7.1
Settings6.5
Path trav.5.5
Log leak4.3
Debug4.3

What to do now

  1. Update Control RTE, Control Win, Gateway, HMI, Safety SIL2, the Runtime Toolkit and the other version 3.5 products to 3.5.22.50.
  2. Get the update through the CODESYS Installer, the CODESYS Store, or the CODESYS download area.
  3. Restart the runtime and confirm the new version is running before returning the controller to service.

The flaws were reported by Felix Eberstaller of Limes Security and QuellSec, Luca Borzacchiello of Nozomi Networks, and ABB, with CERT@VDE coordinating the disclosure. No attacks using these flaws have been reported, and no public exploit has been confirmed, so this is a patch-now story rather than an active incident — but the unauthenticated flaws are the kind that get scanned for quickly once the details are public. Patch the version 3.5 systems this week, and put the December date for 4.24.0.0 on the calendar.

Sources

  1. CODESYS Control - multiple vulnerabilitiesCERT@VDE
  2. CODESYS Control - multiple vulnerabilities in Linux/QNX platform adaptation layerCERT@VDE
  3. CODESYS Control RTE - multiple vulnerabilitiesCERT@VDE
  4. CODESYS Fixes 9 Flaws, CVSS 9.8 RCE CVE-2026-127148SecurityOnline
  5. CODESYS download areaCODESYS

More news

All the news
  1. Patch Notes2 min

    Wren:AM 15.3.1 fixes unauthenticated flaw that can lead to remote code execution

    Wren:AM 15.3.1, released December 2, fixes a deserialization flaw scored 9.8 that lets anyone reach the legacy password-reset pages and run code on the server without logging in.

    • Wren:AM
  2. Patch Notes2 min

    Fastify file uploads can hang on a 67 KB request — update @fastify/busboy to 3.2.7

    A single unauthenticated upload of about 67 KB can stall @fastify/busboy forever, leaving Fastify file uploads hanging. Version 3.2.7, released 2 December 2026, fixes it.

    • @fastify/busboy
  3. Patch Notes2 min

    HPE patches two maximum-severity hard-coded credential flaws in Networking COP

    HPE's December 1 update for Networking Central On-Premises fixes 21 flaws, including two hard-coded credential bugs scored 10.0 that let strangers log in over SSH and take full admin control.

    • HPE Networking Central On-Premises (COP)