Skip to content

Vulnerabilities & Patches

Critical CODESYS flaw lets attackers run code on controllers without a password

The Hacker News reported that CVE-2026-127148 carries a CVSS score of 9.8 and affects 26 CODESYS Control products.

https://breach-signal.com/vulnerabilities/codesys-cve-2026-127148-unauthenticated-code-execution-controllers/

Share

Key facts

  • CODESYS GmbH disclosed the flaw through CERT@VDE earlier this week.
  • CERT@VDE assigned the flaw a CVSS score of 9.8.
  • The other 13 affected products, including the Linux-based runtimes, await release 4.24.0.0, planned for this month.
  • The first affected group includes CODESYS Safety SIL2, a safety runtime.

CODESYS GmbH disclosed CVE-2026-127148 through CERT@VDE earlier this week, a critical flaw that lets attackers run code on controllers without a password or user action, requiring only network access to the controller’s online services.

The flaw consists of an out-of-bounds write in two components that handle online-service traffic. CERT@VDE assigned it a CVSS score of 9.8. When CISA assessed the flaw earlier this week, no exploitation was known; the agency’s entry lists exploitation as none and rates the flaw as automatable.

The Hacker News reported the flaw and its score. A fixed version, 3.5.22.50, is available now for 13 of the 26 affected products, while the other 13, including Linux-based runtimes, await release 4.24.0.0 planned for this month. Fixes now available are 3.5.22.50 for runtime products and 4.11.0.0 for Visualization, installed using the CODESYS Installer or downloaded from the vendor’s area. This month, operators of Linux-based products can only track version 4.24.0.0.

Key figures, Critical CODESYS flaw scores 9.8; 26 products affected, 13 fixed. CVSS score: 9.8; Affected products: 26; Fix available now: 13; Fix awaited: 13.

CODESYS Control runs on hardware built by device makers, so it is not one vendor’s PLC. The affected list spans Beckhoff CX controllers, WAGO touch panels, the PLCnext platform and the Raspberry Pi. The vendor’s ecosystem figures put CODESYS-compatible controllers in use worldwide at more than 10 million, a count describing the ecosystem rather than vulnerable devices.

The first affected group includes CODESYS Safety SIL2, a safety runtime, and the simulation runtime within the CODESYS Development System, putting engineering workstations in scope. The flaw has not been shown to defeat a deployed, certified safety function.

The flaw is the top finding of PLC2SHELL, a research project released by Limes Security, an operational technology (OT) security company, in a research write-up. The project found about 40 vulnerabilities across CODESYS Control, CODESYS Visualization and engineering components, of which 11 now carry CVE numbers.

Researchers demonstrated code execution on Windows, Linux and VxWorks runtimes and on a physical Schneider Electric Modicon M241 controller. All the work was laboratory work, and the researchers are withholding exploitation details until patches see wide deployment.

The findings were sent to the vendor in July via CERT@VDE. About 30 findings remain under coordinated disclosure ahead of a full conference presentation planned for next year. The CVE record also identifies Luca Borzacchiello of Nozomi Networks among those who found the critical flaw, along with Felix Eberstaller, the researcher responsible for the work.

Four other flaws included alongside the critical flaw score between 4.3 and 7.1 and all require an authenticated account. Four additional flaws affect CODESYS Visualization versions before 4.11.0.0 and were patched in that release last week, according to a separate visualization advisory.

The three visualization flaws carry an 8.8 score and can execute code on an engineering workstation. That requires a signed-in user running an online visualization while the attacker controls a trusted runtime or interferes with that connection. The last one is a local issue at low severity. Two flaws in a separate Linux advisory affect only runtime builds for Linux and QNX, require an authenticated account, and one requires high privileges for code execution.

Before patches arrive, the advisory says to use firewalls and network segmentation to limit online services so only trusted systems can reach them, plus strong authentication over VPN for remote access. The researchers wrote, “Do not expose CODESYS runtimes to untrusted networks or the Internet.” Affected runtimes ship embedded in device makers’ firmware, so operators cannot apply the vendor fix directly and must wait for the device manufacturer to integrate and release it, and regulated plants may need to retest first. Microsoft disclosed 16 CODESYS flaws previously known in the V3 software development kit in August 2023, most requiring login, unlike the current unauthenticated flaw.

The earlier disclosure shows the platform has drawn similar security attention before.

Was this helpful?

Join the discussion

Please read our Comment Policy before commenting. First-time comments are held for moderation. By posting a comment you agree to our Terms of Use and Privacy Policy, which explain how your name, email address and comment are used.

Your email address will not be published. Required fields are marked *