Karen IT Security Response Center (KSRC) Advisory

Advisory ID: KSRC-2026-12053 | Publication Date: 05 December 2026

Critical Pre-Authentication RCE in CODESYS Control Runtime
CVE-2026-127148 (PLC2Shell)

Summary

A critical vulnerability has been disclosed in the CODESYS Control Runtime, the software platform used by millions of industrial programmable logic controllers (PLCs) worldwide. Tracked as CVE-2026-127148 and publicly known as PLC2Shell, this flaw allows a remote attacker with network access to the controller’s online services to execute arbitrary code without any authentication or user interaction.

The vulnerability carries a CVSS score of 9.8 (Critical) and was discovered as part of the broader PLC2Shell research by Limes Security.

Technical Details

The issue is an out-of-bounds write in the components that process online-service traffic (CmpChannelMgr / CmpChannelMgrEmbedded). A specially crafted network packet can trigger memory corruption and lead to remote code execution on the controller before any authentication takes place.

Successful exploitation gives the attacker full control over the affected PLC.

Affected Products

26 CODESYS products are affected. They fall into two groups:

  • Fixed now (version 3.5.22.50): Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2, Development System 3, and several related products.
  • Awaiting fix (version 4.24.0.0 – planned for December 2026): Control for Linux SL, Linux ARM SL, Raspberry Pi SL, PFC100/PFC200 SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL, Edge Gateway for Linux, and other embedded/Linux-based runtimes.

Impact

  • Unauthenticated remote code execution on industrial controllers
  • Full takeover of PLCs used in manufacturing, energy, oil & gas, water treatment, and critical infrastructure
  • Potential disruption of physical processes

Recommendations

  1. Identify all CODESYS-based controllers in your environment (including white-label devices from Beckhoff, WAGO, Schneider Electric, and others).
  2. Apply available patches immediately:
    • Windows-based products → upgrade to 3.5.22.50 or later
    • Linux/embedded products → monitor for the release of 4.24.0.0 and apply as soon as available
  3. Restrict network access to CODESYS online services (typically TCP ports used for programming/monitoring) to trusted engineering stations only.
  4. Place controllers behind industrial firewalls / unidirectional gateways where possible.
  5. Monitor for unusual traffic to PLC programming ports.

Support from KSRC

KSRC (Karen IT Security Response Center) is ready to assist industrial and critical infrastructure organizations with impact assessment, network segmentation advice, or coordinated response related to this vulnerability.


Karen IT
We make the Internet harder to abuse.