← All articles

CODESYS vulnerability enables passwordless code execution on PLCs

CODESYS vulnerability enables passwordless code execution on PLCs

The CODESYS vulnerability tracked as CVE-2026-127148 allows an attacker to run code on a programmable logic controller (PLC), an industrial computer that controls machinery, without a password or any action by the operator. The only stated requirement is network access to the controller’s online services, the interface used to program and manage it.

CODESYS Control is runtime software, meaning the software that runs control applications, used inside PLC products from many manufacturers. CODESYS GmbH disclosed the flaw earlier this week through CERT@VDE, which assigned it a CVSS score of 9.8. The Common Vulnerability Scoring System (CVSS) is a scale used to describe the seriousness of a security flaw, with 9.8 indicating critical severity.

The flaw is an out-of-bounds write, a programming error that lets data be written outside the memory area reserved for it. It affects two components responsible for processing online-service traffic. The affected products are divided into two groups. Thirteen products, including Control RTE (SL), Control Win (SL), Runtime Toolkit, Gateway, HMI (SL), Safety SIL2 and Development System 3, are affected from version 3.0.0.0 up to, but not including, 3.5.22.50. Version 3.5.22.50 is available now.

A second group of 13 products is affected from version 3.5.0.0 up to, but not including, 4.24.0.0. It includes Control for Linux SL, 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. Version 4.24.0.0 is planned for December 2026. Operators using Linux-based products therefore cannot apply that fix yet and need to monitor its availability.

The first group also includes CODESYS Safety SIL2, a safety runtime, and the simulation runtime inside the CODESYS Development System. That puts engineering workstations in scope as well as deployed controllers. The research has not demonstrated whether the vulnerability could defeat a deployed, certified safety function.

CODESYS Control is not a single manufacturer’s PLC product. Device makers incorporate it into their own hardware, and the affected product list covers equipment associated with Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and Raspberry Pi. The vendor’s ecosystem figures say that well over 10 million CODESYS-compatible controllers are in use worldwide. That number describes the entire ecosystem, not the number of vulnerable devices.

The vulnerability was identified through PLC2SHELL, a research project made public by OT security company Limes Security. Operational technology, or OT, means the systems used to monitor and control physical equipment. Limes Security said the project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, with 11 now assigned CVE identifiers, the standard tracking numbers for publicly documented vulnerabilities.

Researchers demonstrated code execution on Windows, Linux and VxWorks runtimes, as well as on a physical Schneider Electric Modicon M241 controller. The demonstrations were laboratory work, and exploitation details are being withheld until patches are widely deployed. The findings were sent to CODESYS GmbH in July through CERT@VDE. About 30 findings remain under coordinated disclosure, a process in which researchers and a vendor delay full technical details while fixes are prepared. A full presentation is planned for a conference next year.

No exploitation was known when the US Cybersecurity and Infrastructure Security Agency (CISA) assessed the flaw earlier this week. CISA’s entry lists exploitation as none but rates the vulnerability as automatable, meaning an attack could potentially be carried out with limited manual effort once the required access exists.

The other 10 published CVEs require more from an attacker. Four are covered by the same advisory as the critical flaw, have CVSS scores between 4.3 and 7.1, and all require an authenticated account. Four others affect CODESYS Visualization versions before 4.11.0.0 and were fixed in that release last week. Three of those flaws have scores of 8.8 and can place code on an engineering workstation, but only when a signed-in user operates an online visualization and the attacker controls a runtime trusted by the workstation or tampers with the connection between them. The fourth is a low-severity local issue.

The final two published CVEs are covered by a separate Linux advisory. They affect only Linux and QNX runtime builds and require an authenticated account. The flaw that permits code execution requires a high-privileged account.

The available fixes, 3.5.22.50 for the runtime products and 4.11.0.0 for Visualization, can be installed through the CODESYS Installer or the vendor’s download area. Most affected runtimes are included in device manufacturers’ firmware, the software built into the equipment, so operators may receive a fix only when the manufacturer publishes its own update. Regulated plants may also need to retest equipment before installation.

Until updates are available, the advisory recommends restricting online services with firewalls and network segmentation, which separates systems into controlled network areas so only trusted systems can reach them. Remote access should use a virtual private network (VPN), an encrypted connection into a private network, with strong authentication. Limes Security specifically warned against exposing CODESYS runtimes to untrusted networks or the Internet.

The issue follows earlier scrutiny of the platform. Microsoft disclosed 16 previously known CODESYS flaws in the V3 software development kit in August 2023, and most of those required an attacker to log in first. CVE-2026-127148 is more serious because the reported attack path does not require a login. For organizations managing industrial systems alongside broader IT, AEU-I provides security-first IT, infrastructure and consulting.

Also available in: DeutschItalianoShqip