ShieldPack SHIELD PACK
From 1401 onwards.

Where would you like to start?

Services, updates, and ways to contact us, all in one place

Pricing and orders →

Use the bot or chat with us—whichever you prefer

ShieldPack posts

Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password

About 4 min read

A critical vulnerability has been uncovered in CODESYS Control, the runtime software that powers programmable logic controllers from a wide range of manufacturers. The flaw enables an attacker to execute arbitrary code on a controller without needing a password or any user interaction.
The defect is an out‑of‑bounds write in the two components that handle online‑service traffic. It is tracked as CVE‑2026‑127148 and has been assigned a CVSS severity rating of 9.8, indicating an extremely high risk.
To exploit the issue, an attacker only needs network access to the controller’s online services, the interface used for programming and management. No authentication or user action is required to trigger the code execution.
The advisory separates the affected devices into two groups. The first group includes CODESYS Safety SIL2, a safety‑critical runtime, and the simulation runtime that is part of the CODESYS Development System. Engineering workstations are also in scope for this group. It is not yet proven whether the flaw can bypass a deployed, certified safety function.
CODESYS GmbH, the company behind the platform, disclosed the vulnerability earlier this week through CERT@VDE. The vendor reports that more than ten million CODESYS‑compatible controllers are deployed worldwide. The affected list spans products from Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and even Raspberry Pi devices.
Thirteen of the 26 identified products already have a fixed version, 3.5.22.50, which is available for download. The remaining thirteen, including the Linux‑based runtimes, await the release of version 4.24.0.0, scheduled for later this month.
The flaw was highlighted as the most serious finding of the PLC2SHELL research project, conducted by Limes Security, an OT security firm. The project uncovered roughly forty vulnerabilities across CODESYS Control, CODESYS Visualization and related engineering components. Eleven of those vulnerabilities now carry CVE identifiers.
Researchers demonstrated successful code execution on Windows, Linux and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 controller. All tests were performed in a laboratory environment. Detailed exploitation techniques are being withheld until the patches are widely deployed.
The vulnerabilities were reported to the vendor in July via CERT@VDE. About thirty of the issues remain under coordinated disclosure. A full presentation of the findings is planned for a conference next year.
The CVE record credits Luca Borzacchiello of Nozomi Networks and researcher Felix Eberstaller as the discoverers of the critical flaw. Their contributions were acknowledged alongside the vendor’s response.
Critical CODESYS Flaw Lets Hackers Take Over Industrial Controllers Without a Password
The U.S. Cybersecurity and Infrastructure Security Agency (CISA) assessed the vulnerability earlier this week. At the time of assessment, no exploitation was known. CISA listed the exploitation status as “none” but noted that the flaw is automatable.
In addition to the critical CVE, ten other CVEs have been published. Four of these sit in the same advisory and carry scores ranging from 4.3 to 7.1. All four require an authenticated account to be exploited.
Four more CVEs affect CODESYS Visualization versions prior to 4.11.0.0. Those were fixed in a separate visualization advisory released last week. Among them, three have a score of 8.8 and can place code on an engineering workstation, but only when a signed‑in user runs an online visualization and the attacker controls a trusted runtime or tampers with the connection. The fourth is a low‑severity local issue.
A separate Linux advisory covers two additional CVEs that impact only the Linux and QNX builds of the runtime. Exploiting those flaws also requires an authenticated account, with the higher‑privilege account needed for code execution.
The existing fixes—runtime version 3.5.22.50 and Visualization version 4.11.0.0—can be installed via the CODESYS Installer or through the vendor’s download portal. Operators of Linux‑based products are advised to monitor the upcoming 4.24.0.0 release later this month.
Until patches are applied, the advisory recommends restricting online services with firewalls and network segmentation. Only trusted systems should be allowed to reach the controllers. Remote access should be limited to VPN connections that enforce strong authentication. The researchers stress that CODESYS runtimes must not be exposed to untrusted networks or the public Internet.
Most of the vulnerable runtimes are embedded in device manufacturers’ firmware. Consequently, a fixed version reaches end users only when the device maker issues its own update. Regulated plants may need to retest their systems before installing the patches, adding further delay to remediation.
The platform has attracted security scrutiny before. In August 2023, Microsoft disclosed sixteen previously known CODESYS flaws in the V3 software development kit. Those earlier issues generally required an attacker to log in first. The newly disclosed flaw is distinct because it can be triggered without any login.
The discovery underscores the growing importance of robust OT security practices. Industrial controllers are increasingly networked, and a single unauthenticated vulnerability can jeopardize entire production lines. The incident highlights the need for rapid patch deployment, strict network segmentation, and vigilant supply‑chain management. Operators are urged to prioritize updates and to adopt defensive measures that limit exposure of critical runtimes to untrusted environments.

Source: The Hacker News · Cybersecurity

ShieldPack media