VMTech
Discuss a project →

Critical CODESYS flaw enables unauthenticated controller code execution

Critical CODESYS flaw enables unauthenticated controller code execution

CODESYS GmbH has disclosed a critical vulnerability in CODESYS Control that can allow an attacker to execute code on an affected programmable logic controller without a password or user interaction. Tracked as CVE-2026-127148, the flaw has a CVSS score of 9.8 and requires network access to the controller’s online services, used for programming and management.

Thirteen of 26 affected products can now be updated to version 3.5.22.50. The remaining 13 products, including Linux-based runtimes, are awaiting version 4.24.0.0, planned for December 2026. Because CODESYS Control is embedded by multiple device manufacturers, the practical availability of a fix will also depend on their firmware-release schedules.

Unauthenticated access to online services is the key exposure

The issue is an out-of-bounds write in two components that process online-service traffic. CODESYS published the advisory through CERT@VDE. Unlike many other recently disclosed flaws in the platform, this vulnerability does not require an authenticated account.

The fixed group includes Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2 and CODESYS Development System 3. The latter includes a simulation runtime, bringing engineering workstations into scope. CODESYS said that the ability to defeat a deployed, certified safety function has not been demonstrated.

The products waiting for 4.24.0.0 include Control for Linux SL and Linux ARM SL, Control for Raspberry Pi SL, PFC100/PFC200 SL, PLCnext SL, WAGO Touch Panels 600 SL, Virtual Control SL and Edge Gateway for Linux. Affected versions in that group run from 3.5.0.0 up to, but not including, 4.24.0.0.

Research found code execution across several runtime environments

The flaw was the most serious issue reported by Limes Security’s PLC2SHELL research project. The company said it identified about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, with 11 assigned CVE identifiers so far.

Researchers demonstrated code execution in laboratory tests on Windows, Linux and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 controller. They are withholding exploitation details until patches are more widely deployed. The critical CVE also credits Luca Borzacchiello of Nozomi Networks alongside researcher Felix Eberstaller.

CISA recorded no known exploitation when it assessed CVE-2026-127148, and classified it as automatable. Other published CODESYS issues require more conditions: several require authenticated accounts, while three 8.8-rated Visualization flaws depend on a signed-in user operating an online visualization and on a compromised trusted runtime or connection.

Patch availability must be checked at device level

Available runtime and Visualization fixes, including Visualization version 4.11.0.0, can be installed through CODESYS Installer or the vendor download area. However, operators should verify whether their device manufacturer has packaged the applicable fixed runtime into firmware. Regulated plants may also need to complete retesting before deployment.

Until an update is available and validated, CODESYS and the researchers recommend limiting access to online services through firewalls and network segmentation, allowing only trusted systems to connect. Remote access should use a VPN with strong authentication, and CODESYS runtimes should not be exposed to untrusted networks or the internet. For businesses operating affected equipment, the immediate priority is to inventory reachable runtimes, confirm firmware status with suppliers and reduce network paths to controller management services.

#codesys#otsecurity#plcsecurity#vulnerability
Open analytics
On the site 15 views
min read 4 03.12.2026
Instagram

Critical CODESYS flaw enables unauthenticated controller code execution

Open the post on Instagram ↗