"Do not expose CODESYS runtimes to untrusted networks or the Internet," the researchers wrote.
CVE-2026-127148: a remote, passwordless out‑of‑bounds write
Researchers disclosed a critical vulnerability in CODESYS Control this week, tracked as CVE-2026-127148, that can let an attacker run code on a programmable logic controller (PLC) without a password and without any user action. The one technical requirement the advisory lists is network access to the controller's online services — the interface used to program and manage the runtime. CERT@VDE and CODESYS GmbH assigned the flaw a CVSS score of 9.8, and the U.S. Cybersecurity and Infrastructure Security Agency (CISA) described exploitation as none and rated the flaw as automatable.
CODESYS‑compatible controllers and the scale of exposure
CODESYS Control is not a single vendor product: device makers embed the runtime into their own hardware. The documented affected list includes products for Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and Raspberry Pi devices, and the advisory spans both safety and engineering components. CODESYS' ecosystem figures say there are well over 10 million CODESYS-compatible controllers in use worldwide, a vendor count that the advisory notes describes the ecosystem rather than the number of vulnerable devices.

Your scanner finds 4,000 vulns. Which 12 matter?
Nubivance is a Rapid7 Registered Partner delivering vulnerability management as a service - scanning, risk-based prioritization, and remediation follow-through across IT and OT.
Fix the backlogPLC2SHELL research, responsible disclosure, and demonstrations
The headline finding emerged from PLC2SHELL, a research project published this week by Limes Security. The project reported about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components; 11 of those now carry CVE numbers. The critical out‑of‑bounds write in the components that process online‑service traffic was credited to Luca Borzacchiello of Nozomi Networks alongside Felix Eberstaller of Limes Security. Researchers demonstrated code execution across Windows, Linux and VxWorks runtimes and on a physical Schneider Electric Modicon M241 controller in laboratory conditions. They have withheld exploitation details until patches are widely deployed. The findings were sent to the vendor in July via CERT@VDE; about 30 of the discovered issues remain under coordinated disclosure, and a full presentation is planned for a conference next year.
Available fixes, pending updates, and deployment realities
The advisory divides affected products into two groups. Thirteen of 26 affected products already have a fixed runtime version available: 3.5.22.50. The other 13, including Linux-based runtimes, await release 4.24.0.0, planned for this month. CODESYS Visualization had four issues fixed in version 4.11.0.0, released last week. The fixes install through the CODESYS Installer or a vendor's download area; however, most affected runtimes ship inside device makers' firmware, meaning operators will receive a fixed runtime only when the manufacturer issues a firmware update. The advisory also warns that regulated plants may need to retest before installing vendor firmware updates, which can delay patch deployment.
Other published CVEs and recommended mitigations
Alongside CVE-2026-127148, the published record includes ten other CVEs with higher attacker requirements. Four of those sit in the same advisory as the critical flaw, score between 4.3 and 7.1, and all require an authenticated account. Four affecting CODESYS Visualization before 4.11.0.0 were fixed in that release; three of those scored 8.8 and can place code on an engineering workstation but only when a signed-in user operates an online visualization and the attacker either controls a runtime the workstation trusts or tampers with the connection between them. The remaining two CVEs in a separate Linux advisory affect Linux and QNX builds and require an authenticated account — one of them a high‑privileged account to enable code execution.
Until updates are in place, the advisory's practical mitigations are concrete: restrict online services with firewalls and network segmentation so only trusted systems can reach them, and use a VPN with strong authentication for remote access. The researchers' direct admonition: "Do not expose CODESYS runtimes to untrusted networks or the Internet." CISA's assessment that the flaw is automatable underlines why network restrictions are the immediate defensive priority.
Technologists, regulated plants, and device manufacturers
- Technologists and security teams should prioritize isolating CODESYS online services, apply available runtime and visualization updates (3.5.22.50 and 4.11.0.0), and prepare for vendor firmware rollouts tied to 4.24.0.0 for Linux builds.
- Regulated plants must balance prompt patching against mandatory retesting: most runtimes are embedded in vendor firmware, so remediation timelines will depend on manufacturers' update schedules and on any required certification activities before installation.
- Device manufacturers that ship CODESYS runtimes need to accelerate firmware releases that incorporate the fixed runtime while coordinating distribution and guidance for operators, because until manufacturers release updates operators cannot install the fixed runtimes themselves.
The immediate record is stark: a high‑severity, remotely exploitable out‑of‑bounds write in a widely embedded PLC runtime, demonstrable across several OSes and a physical device, with partial patches already available and other fixes imminent. Operators are left to harden networks and await vendor firmware updates while researchers hold technical exploit details until patches proliferate. The coming weeks will show how quickly manufacturers convert runtime fixes into firmware and how rapidly operational sites can apply those updates without disrupting certified safety or regulated processes.
https://thehackernews.com/2026/12/critical-codesys-flaw-lets-hackers-take.html




