International Edition
Latest News
Technology

Critical CODESYS Flaw Allows Unauthenticated Remote Code Execution on PLCs

A critical vulnerability in CODESYS Control runtime software allows unauthenticated remote code execution on industrial programmable logic controllers without requiring user action or a password, provided an attacker has network access to online services. CVE-2026-127148 Impacts over 10…

Critical CODESYS Flaw Allows Unauthenticated Remote Code Execution on PLCs

A critical vulnerability in CODESYS Control runtime software allows unauthenticated remote code execution on industrial programmable logic controllers without requiring user action or a password, provided an attacker has network access to online services.

CVE-2026-127148 Impacts over 10 Million CODESYS Controllers

The flaw, tracked as CVE-2026-127148, stems from an out-of-bounds write inside the two specific components responsible for processing online-service traffic, according to disclosures published by CERT@VDE. CERT@VDE assigned the vulnerability a maximum CVSS severity score of 9.8.

CODESYS GmbH disclosed the issue earlier this week. The vulnerability impacts industrial controllers built by numerous device manufacturers, as CODESYS Control software is integrated directly into hardware produced by companies such as Beckhoff, WAGO, and various Raspberry Pi deployments.

Well over 10 million CODESYS-compatible controllers operate globally across industrial environments, though that vendor ecosystem figure describes total deployments rather than the exact count of vulnerable devices.

When the Cybersecurity and Infrastructure Security Agency assessed the record earlier this week, no active exploitation was known, and the agency rated the flaw as automatable.

Thirteen Products Patched; Thirteen Await Vendor Firmware Updates

The security advisory splits the 26 affected products into two distinct groups based on patch availability. Thirteen products currently have a fixed version, 3.5.22.50, available through the CODESYS Installer or download area.

Critical CODESYS Flaw Allows Unauthenticated Remote Code Execution on PLCs
Photo: Briefly
CODESYS Control Vulnerability and Patch Status
Affected Products Affected Versions Fixed Version Status
Control RTE, Control Win, Runtime Toolkit, Gateway, HMI, Safety SIL2, Development System 3 (13 products) 3.0.0.0 up to, not including, 3.5.22.50 3.5.22.50 Available now
Control for Linux/Linux ARM, Raspberry Pi, PFC100/PFC200, PLCnext, WAGO Touch Panels 600, Virtual Control, Edge Gateway (13 products) 3.5.0.0 up to, not including, 4.24.0.0 4.24.0.0 Planned for December 2026
The first group includes CODESYS Safety SIL2, a safety runtime, and the simulation runtime embedded within the CODESYS Development System, which places engineering workstations into scope. Whether the flaw could defeat a deployed, certified safety function has not yet been demonstrated. The remaining 13 products, including Linux-based runtimes, await release 4.24.0.0, which is scheduled for deployment this month. Because most affected runtimes ship embedded inside device manufacturers’ firmware, operators receive fixes only after individual hardware makers issue their own updates, and regulated facilities may require retesting before installation.

Additional Vulnerabilities Require Authentication

Ten other CVEs published alongside the critical flaw impose stricter requirements on an attacker, according to the advisories released by CODESYS and CERT@VDE. Four sit in the same advisory as the critical out-of-bounds write, score between 4.3 and 7.1 on the CVSS scale, and all require an authenticated account.

The last two, covered in a separate Linux advisory, affect only Linux and QNX builds and require an authenticated account, with one demanding high privileges.

Because the runtime ships as a component inside each hardware maker’s firmware, a single vulnerability in the shared CODESYS codebase — such as the out-of-bounds write in online-service components — can affect diverse product lines simultaneously, while remediation depends on each manufacturer issuing its own firmware updates and regulated facilities completing retesting.

Story card
Photo: zerohour.day

Earlier SDK Disclosure Adds Context

In August 2023, Microsoft disclosed 16 previously known flaws in the CODESYS V3 software development kit, most of which required an attacker to log in first.

PLC2SHELL Project Uncovers 40 CODESYS Vulnerabilities, 11 with CVEs

The critical vulnerability represents the most serious finding from PLC2SHELL, a research project conducted by OT security firm Limes Security. The project uncovered about 40 total vulnerabilities across CODESYS Control, CODESYS Visualization, and engineering components, of which 11 now carry CVE numbers. Researchers demonstrated successful code execution across Windows, Linux, and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 controller. Researchers are withholding exploitation details until patches achieve wide deployment, with about 30 findings remaining under coordinated disclosure ahead of a full presentation planned for next year. Alongside the critical out-of-bounds write, the CVE record credits Luca Borzacchiello of Nozomi Networks as a co-finder, working alongside researcher Felix Eberstaller. Additional vulnerabilities detailed in separate advisories require authenticated accounts, active user interaction during online visualization sessions, or targeted access to trusted engineering connections. Until all patches land, the security advisory urges operators to restrict online services using firewalls and network segmentation so that only trusted systems maintain reach, and to deploy Virtual Private Networks equipped with strong authentication for any remote access. “Do not expose CODESYS runtimes to untrusted networks or the Internet,” researchers warned.
About the author: Technology Desk

Technology Desk at Archynewsy.