Threat Intelligence

Critical CODESYS Flaw Lets Attackers Run Code on Industrial Controllers Without a Password

The Hacker News · 4 Dec 2026
Key Takeaway If you run industrial controllers, make sure they cannot be reached from the internet or general office networks, and ask your equipment supplier when a fixed firmware version will arrive.

A critical vulnerability in CODESYS Control, the runtime software built into programmable logic controllers (PLCs) from many manufacturers, allows an attacker to run code on a controller without a password and without any user action. The only requirement is network access to the controller's online services, the interface used to program and manage it.

The flaw is tracked as CVE-2026-127148 and is an out-of-bounds write in the two components that process online-service traffic. CODESYS GmbH disclosed it through CERT@VDE, which scored it 9.8. It is the most serious finding of PLC2SHELL, a research project by Limes Security that found about 40 vulnerabilities, 11 of which now have CVE numbers. Researchers demonstrated code execution in the lab on Windows, Linux and VxWorks runtimes, and on a Schneider Electric Modicon M241 controller. They are withholding exploitation details until patches are widely deployed. CISA recorded no known exploitation when it assessed the flaw, but rated it as automatable.

Thirteen of the 26 affected products have a fix in version 3.5.22.50. The other 13, including Linux-based runtimes, wait on release 4.24.0.0, planned for this month. Affected products include the CODESYS Safety SIL2 runtime and the simulation runtime in the CODESYS Development System, which puts engineering workstations in scope. Whether the flaw could defeat a deployed, certified safety function has not been demonstrated. Separately, CODESYS Visualization version 4.11.0.0 fixed four other flaws last week.

Because CODESYS is embedded in device makers' firmware, a fix reaches operators only when the manufacturer ships its own update, and regulated plants may need to retest first. Until then, the advisory recommends firewalls and network segmentation so only trusted systems can reach online services, plus a VPN with strong authentication for remote access.

Why it matters

Many operators assume PLC attacks need credentials or an insider, but this flaw needs only network reach to the online services port, so segmentation is the control that now decides exposure. Because the runtime is embedded in vendor firmware, defenders depend on manufacturer release schedules, and half the affected products have no fix until 4.24.0.0. Engineering workstations running the simulation runtime are also in scope, so the exposure extends beyond the plant floor.

What to do

  • Restrict access to CODESYS online services with firewalls and network segmentation so only trusted systems can reach them.
  • Remove any CODESYS runtime exposure to the internet or untrusted networks.
  • Require a VPN with strong authentication for all remote access to controllers.
  • Update runtime products to 3.5.22.50 and Visualization to 4.11.0.0 where available, and track release 4.24.0.0 for Linux-based products.
CODESYS ICS OT security PLC CVE-2026-127148 vulnerability
Running SCADA or OT networks? SCADA network segmentation, with a design review checklist ->

Summarised by CISO AI from The Hacker News, written with Claude Sonnet 5.5. We link back to every original so you can read it yourself.