Critical CODESYS Flaw Could Enable Remote Code Execution Across Industrial Controllers

December 3, 2026
Critical CODESYS Flaw Could Enable Remote Code Execution Across Industrial Controllers
  • Limes Security researchers uncovered about 40 vulnerabilities in CODESYS, software used to program and run industrial programmable logic controllers; the findings span CODESYS Control, Visualization and engineering components, and affect 26 products.

  • The most severe, CVE-2026-127148, is a pre-authentication memory-corruption flaw rated 9.8 out of 10 that can enable code execution on a controller if an attacker can reach its online services, without a password or user interaction; researchers say their reliable exploit bypasses protections including Address Space Layout Randomization.

  • Researchers demonstrated code execution across Windows, Linux and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 in laboratory tests; CODESYS is used by more than 10 million devices from over 500 manufacturers, although individual devices may not contain every flaw.

  • Three other high-severity vulnerabilities in CODESYS Visualization and its graphical interface designer, each rated 8.8, could also allow code execution on host PLCs; researchers are withholding detailed information while fixes are rolled out.

  • Affected products also include safety and simulation runtimes, but researchers have not shown that the vulnerabilities can defeat a deployed, certified safety function; the simulation runtime brings engineering workstations into scope as well.

  • CISA’s vulnerability record reported no known exploitation at the time of its assessment, while rating the flaw automatable.

  • Although PLCs should be isolated from the public Internet, researchers found just over 1,000 CODESYS devices accessible online, about half made by WAGO, with most in the United States and Europe.

  • CODESYS Group issued fixes in November and December, but manufacturers must incorporate them into firmware before many device operators can install them; regulated facilities may also need to retest updates.

  • Fix 3.5.22.50 covers 13 affected products, while fixes for 13 others, including Linux-based runtimes, are planned for December 2026 as version 4.24.0.0; separate CODESYS Visualization fixes are available in version 4.11.0.0, and two Linux and QNX runtime flaws require an authenticated account.

  • Until updates are available, Limes Security recommends identifying affected systems, restricting online services with firewalls and network segmentation, monitoring traffic, using strongly authenticated VPNs for remote access, and never exposing runtimes to untrusted networks or the Internet.

  • Andrew Ginter of Waterfall Security Solutions warned that industrial patching demands careful planning and testing because mistakes can endanger people, and noted that patches do not address zero-days, compromised credentials or other attack methods.

  • Ginter also urged organizations to keep safety instrumented systems separate from industrial control networks and use safeguards such as unidirectional hardware-enforced gateways and mechanical fail-safes to limit the chance an attack affects both.

Summary based on 2 sources


Get a daily email with more Tech stories

More Stories