As part of our vulnerability research on CODESYS, we have identified approximately 40 vulnerabilities in the CODESYS Control Runtime, CODESYS Visualization, and the engineering components. The research project is calledPLC2SHELL. The first eleven vulnerabilities were published by CERT@VDE on November 24 and 30, 2026. The most severe of these, CVE-2026-127148 (CVSS 9.8), allows an unauthenticated attacker to execute arbitrary code on an affected CODESYS Control Runtime and thereby take control of the system.
During our research, we demonstrated code execution on Windows, Linux and VxWorks runtimes, as well as on a Schneider Electric Modicon M241.
This post gives an overview of the first published vulnerabilities. Fixed versions are available for the Windows-based products and CODESYS Visualization; the update for the Linux-based runtimes is planned for December 2026. We are intentionally withholding exploitation details while affected products are being updated.
One runtime, hundreds of providers, thousands of products, millions of devices
According to the provider, approximately 1,000 device types from over 500 manufacturers are based on CODESYS, with well over 10 million CODESYS-compatible controllers in use. Examples of manufacturers that use CODESYS include Schneider Electric, ABB, WAGO, Phoenix Contact, Festo, and ifm. This list is provided solely to illustrate the widespread use of CODESYS and does not imply that the products of these manufacturers are affected by the disclosed vulnerabilities. Whether a specific product is vulnerable depends on the CODESYS component used and its version.
CODESYS is frequently embedded in products sold under the device manufacturer’s own brand, so operators may have CODESYS-based devices in their networks without identifying them as such. Affected platforms range from Windows-based soft PLCs and Linux-based controllers to single-board computers such as Raspberry Pi and BeagleBone, and virtual PLCs.
Discovered Vulnerabilities
CVSS v3.1 Score
CVE-2026-127148 is a vulnerability that leads to a pre-authentication memory corruption and does not require any credentials to be exploited. We have developed a reliable exploit that works even when modern protections, including ASLR, are enabled. Converting the original vulnerability into a stable code execution was not trivial. The exploit depends heavily on the heap layout of the target system, and a different approach was required for Windows, Linux, and VxWorks, respectively. We are deliberately withholding the details of the exploit.
The affected products include CODESYS Safety SIL2, the SIL2 runtime for functional safety. A compromise of a safety controller prior to authentication not only poses a problem in terms of availability or integrity, but also a safety risk: The same vulnerabilities can impair the very functions that a safety PLC is designed to ensure.
CVE
CVSS 3.1
What an attacker might do
Advisory
9.8 Critical
Executing Arbitrary Code on the Controller Without Logging In
CVE-2026-127167
7.2 High
Executing Arbitrary Code on Linux- and QNX-Based Controllers Using an Administrator Account
CVE-2026-127149
7.1 High
Changing the redundancy configuration or preventing the PLC from controlling the process using an account with limited permissions
CVE-2026-127147
6.5 Medium
Launch a denial-of-service attack using an account with limited privileges
CVE-2026-127150
5.5 Medium
Determine whether files are present on the device and use an administrator account to induce a denial-of-service condition
CVE-2026-127146
4.3 Medium
Change the debugging settings configured by an authorized user using an account with limited permissions
CVE-2026-127168
4.3 Medium
Extract limited internal system information from a log file using an account with limited permissions
HMI: CODESYS VISUALIZATION
The vulnerabilities in CODESYS Visualization affect the development environment. A tampered runtime or an attacker in a man-in-the-middle position could execute code on the workstation running the CODESYS development system.
CVE
CVSS 3.1
What an attacker might do
Advisory
CVE-2026-121016
8.8 High
Launch a program on the engineering workstation that results in code being executed
CVE-2026-121017
8.8 High
Trigger local system components on the engineering workstation, which results in code execution
CVE-2026-121018
8.8 High
Send commands that call local functions on the engineering workstation, which results in code being executed
CVE-2026-121019
3.3 Low
Write files to any folder when a user creates a boot application from a tampered project
Thoughts on Patches
The rollout of the patches will take some time. Most CODESYS runtimes are shipped as part of the manufacturer’s firmware, so each device manufacturer must first integrate and release its own update. Operators will then need a maintenance window, since updating a PLC usually means that the process it controls must be halted. In regulated or safety-critical environments, a firmware change may require retesting or recertification. Devices that are no longer supported may never be updated, which is why network segmentation and access restrictions will remain relevant for a long time to come.
Regulatory Aspects
Vulnerabilities like these are not merely technical in nature. New EU regulations are placing increasing demands on product cybersecurity and the handling of security vulnerabilities.
- Cyber Resilience Act (CRA): As of September 11, 2026, manufacturers must report actively exploited vulnerabilities and serious security incidents under certain conditions. Currently, there is no evidence of active exploitation of the described vulnerabilities. As of December 11, 2027, the full requirements will take effect, including vulnerability management and the provision of security updates. Manufacturers must also take into account the security of integrated components such as CODESYS.
- Machinery Directive: Effective January 20, 2027, new requirements for machine safety will apply, including protection against tampering that could compromise machine safety. Vulnerabilities that allow the control logic to be hijacked may therefore be relevant to the compliance of affected machines.
- NIS2: Operators within the scope of NIS2 must adequately address cybersecurity risks, including risks in the supply chain. Vulnerabilities in OT components such as CODESYS may therefore be part of the required risk assessment and security measures.
Our Recommendations for Action
For operators of affected systems
- Identify affected systems: Determine where CODESYS runtimes are in use, including devices where CODESYS is embedded in the manufacturer’s firmware.
- Apply updates: Update Windows-based products and toolkits to version 3.5.22.50 and CODESYS Visualization to version 4.11.0.0. Update Linux-based CODESYS Control SL products to version 4.24.0.0 as soon as it is released. For devices with an embedded runtime, follow the device manufacturer’s instructions.
- Restrict network access: Allow access to CODESYS online services only from trusted development systems. Do not expose CODESYS runtimes to untrusted networks or the Internet, and use a VPN with strong authentication for remote access.
- Secure engineering workstations: Keep them up to date with the latest version of CODESYS, restrict user access, and connect them only to trusted runtimes.
- Monitor CODESYS traffic: Use OT network monitoring to detect connections to CODESYS online services from unexpected systems.
For manufacturers who rely on CODESYS
- Integrate the patched runtimes into your firmware and notify your customers via your own security advisories.
- Include the platform-specific code related to the runtime in your security testing. Two of the disclosed vulnerabilities are located in the Linux and QNX platform layers.
- Make security testing an integral part of the product lifecycle, in accordance with CRA and IEC 62443-4-1.
Do you need help?
Limes Security supports manufacturers with product security assessments and penetration tests for CODESYS-based devices. For operators, we evaluate CODESYS security risks as part of our OT penetration tests and OT cyber health checks.
Further Research
The eleven security vulnerabilities disclosed so far are only a part of the “PLC2Shell” research project. In total, we have reported approximately 40 findings affecting the CODESYS Runtime as well as the visualization and engineering components.
The remaining findings are still undergoing coordinated disclosure with CODESYS and CERT@VDE. We will publish additional articles—including one on the engineering components—as soon as fixes are available, and plan to present the complete research at a conference in 2027.
Coordinated Disclosure
We reported all findings to CODESYS GmbH in July 2026, with CERT@VDE coordinating the disclosure. We would like to thank the CODESYS Product Security Team and CERT@VDE for their cooperation.
Timeline of contact with the vendor:
| Date | Event |
|---|---|
| July 2026 | On July 7, a secure reporting channel was established with CERT@VDE; a complete report containing proof-of-concept exploits was submitted to CODESYS via CERT@VDE. |
| September 16, 2026 | CODESYS reports that the initial issues have already been resolved; the remaining ones are currently being investigated. |
| September 30, 2026 | A finding that was attributed to a third-party component and forwarded to its vendor for separate disclosure. |
| October 27, 2026 | CODESYS publishes the triage status of all reports as well as a schedule for the release of bug fixes |
| October 29, 2026 | First CVE IDs assigned; publication agreement: no proof-of-concept code, general blog posts, drafts are shared with CODESYS in advance. |
| November 24, 2026 | Advisory VDE-2026-154 for CODESYS Visualization published; corrected version 4.11.0.0 available. |
| November 30, 2026 | Notes VDE-2026-169 and VDE-2026-170 for CODESYS Control published; corrected version 3.5.22.50 available. |
| December 2026 (planned) | Release of Version 4.24.0.0 for Linux-based CODESYS Control SL products |
References
- CERT@VDE Advisory VDE-2026-169: CODESYS Control – Multiple Vulnerabilities
- CERT@VDE Advisory VDE-2026-170: CODESYS Control – Multiple Vulnerabilities in the Linux/QNX Platform Adaptation Layer
- CERT@VDE Advisory VDE-2026-154: CODESYS Visualization – Multiple Vulnerabilities
- CVE record CVE-2026-127148
- CODESYS downloads and updates
“PLC2Shell” is our own name for this research project. It is an independent project that is neither affiliated with CODESYS GmbH nor authorized or supported by it. “CODESYS” is a trademark of CODESYS GmbH, used here solely to identify the product in question.
I am a text block. Click the edit button to change this text. Lorem ipsum dolor sit amet, consectetur adipiscing elit. Ut elit tellus, luctus nec ullamcorper mattis, pulvinar dapibus leo.



