# PLC2Shell: unauthenticated RCE in CODESYS Control runtime CVE-2026-127148 (CVSS 9.8) · pwn.watch > Limes Security disclosed PLC2Shell, about 40 vulnerabilities in CODESYS runtime, visualization and engineering components. The worst, CVE-2026-127148 (CVSS 3.1 9.8), is an out-of-bounds write in the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime. A crafted online-service packet lets an unauthenticated remote attacker run arbitrary code, and the researchers built a reliable exploit that controls a physical process. CODESYS fixed it in 3.5.22.50 (Windows and SDK-based products) and 4.24.0.0 (Linux/ARM SL runtimes). CODESYS runs on about 1,000 device types from more than 500 manufacturers, so many controllers depend on OEM firmware updates. No in-the-wild exploitation has been reported. Page: https://pwn.watch/i/codesys-plc2shell-cve-2026-127148 · generated 2026-12-05T01:33:12.767Z ## Status - Severity: critical · status: live · patch: partial - Product: CODESYS Control runtime (and OEM PLCs built on it) - Started: 2026-11-30 - CVEs: CVE-2026-127148 - Affected: CODESYS Control Win / RTE (SL), Development System 3, Gateway, HMI, PLCHandler, Runtime Toolkit and related products 3.0.0.0 to before 3.5.22.50; CODESYS Control for Linux / Linux ARM / Raspberry Pi / PLCnext / PFC100 / PFC200 / IOT2000 SL, Virtual Control SL, Edge Gateway for Linux 3.5.0.0 to before 4.24.0.0; OEM controllers embedding the CODESYS Control runtime until the vendor ships updated firmware - Fixed in: CODESYS 3.5.22.50; CODESYS SL products for Linux 4.24.0.0 ## Follow this incident - RSS (one item per update): https://pwn.watch/i/codesys-plc2shell-cve-2026-127148/feed.xml - JSON Feed: https://pwn.watch/i/codesys-plc2shell-cve-2026-127148/feed.json - Full data (timeline, sources, posts, agentBrief): https://pwn.watch/i/codesys-plc2shell-cve-2026-127148.json - This file: https://pwn.watch/i/codesys-plc2shell-cve-2026-127148/llms.txt ## Updates (newest first) - 2026-12-04: Limes Security's PLC2Shell research (about 40 CODESYS flaws) gets wider coverage. (https://www.securityweek.com/in-other-news-exploited-veeam-bugs-ai-assisted-linux-hacking-plc2shell-vulnerabilities/) - 2026-11-30: CERT@VDE publishes VDE-2026-169 and CVE-2026-127148 (CVSS 9.8) for multiple CODESYS Control vulnerabilities. (https://www.certvde.com/en/advisories/VDE-2026-169/) ## Fix brief # Security brief: PLC2Shell: unauthenticated RCE in CODESYS Control runtime CVE-2026-127148 (CVSS 9.8) Source: https://pwn.watch/i/codesys-plc2shell-cve-2026-127148 · status: live · severity: critical · updated Dec 4, 2026, 12:00 UTC ## Patch status **PARTIALLY PATCHED: some fixes exist, but not every affected branch/product is covered. Check carefully and apply mitigations where no fix exists.** ## What it is Limes Security disclosed PLC2Shell, about 40 vulnerabilities in CODESYS runtime, visualization and engineering components. The worst, CVE-2026-127148 (CVSS 3.1 9.8), is an out-of-bounds write in the CmpChannelMgr and CmpChannelMgrEmbedded components of the CODESYS Control runtime. A crafted online-service packet lets an unauthenticated remote attacker run arbitrary code, and the researchers built a reliable exploit that controls a physical process. CODESYS fixed it in 3.5.22.50 (Windows and SDK-based products) and 4.24.0.0 (Linux/ARM SL runtimes). CODESYS runs on about 1,000 device types from more than 500 manufacturers, so many controllers depend on OEM firmware updates. No in-the-wild exploitation has been reported. Severity detail: CVSS 3.1 9.8 (CERT@VDE); unauthenticated network RCE; not known exploited - Product: CODESYS Control runtime (and OEM PLCs built on it) - CVE / advisory ids: CVE-2026-127148 ## Affected versions - CODESYS Control Win / RTE (SL), Development System 3, Gateway, HMI, PLCHandler, Runtime Toolkit and related products 3.0.0.0 to before 3.5.22.50 - CODESYS Control for Linux / Linux ARM / Raspberry Pi / PLCnext / PFC100 / PFC200 / IOT2000 SL, Virtual Control SL, Edge Gateway for Linux 3.5.0.0 to before 4.24.0.0 - OEM controllers embedding the CODESYS Control runtime until the vendor ships updated firmware ## Check whether you're affected No generic command applies (the product is a hosted service, appliance or desktop app). Check the installed version in its admin UI / About screen and compare with the versions above. ## Fix Upgrade to one of these fixed versions (or later on the same branch): - CODESYS 3.5.22.50 - CODESYS SL products for Linux 4.24.0.0 After upgrading, re-run the checks above and redeploy/restart the affected services. ## Mitigations The data marks this as partial. Until every affected component is fixed, apply the vendor mitigations from the advisories below (restrict network exposure of the affected service, disable the vulnerable feature if the advisory allows). ## Specific notes Inventory controllers, HMIs and gateways running CODESYS Control. Update CODESYS-supplied runtimes to 3.5.22.50 (Windows/RTE/toolkit products) or 4.24.0.0 (Linux and ARM SL runtimes), and for OEM PLCs track the vendor's firmware release. Until patched, make sure the CODESYS online-service ports cannot be reached from untrusted networks, enforce runtime user management, and segment OT networks. ## Latest updates - Dec 4, 2026: Limes Security's PLC2Shell research (about 40 CODESYS flaws) gets wider coverage. - Nov 30, 2026: CERT@VDE publishes VDE-2026-169 and CVE-2026-127148 (CVSS 9.8) for multiple CODESYS Control vulnerabilities. ## Advisories - [VDE-2026-169: CODESYS Control - multiple vulnerabilities](https://www.certvde.com/en/advisories/VDE-2026-169/) (CERT@VDE) - [CVE-2026-127148 Detail](https://nvd.nist.gov/vuln/detail/CVE-2026-127148) (NVD) ## Write-ups & news - [PLC2Shell vulnerability](https://plc2shell.com/en/plc2shell-vulnerability/) - [In Other News: Exploited Veeam Bugs, AI-Assisted Linux Hacking, PLC2Shell Vulnerabilities](https://www.securityweek.com/in-other-news-exploited-veeam-bugs-ai-assisted-linux-hacking-plc2shell-vulnerabilities/) --- Machine-readable: https://pwn.watch/i/codesys-plc2shell-cve-2026-127148.json · all incidents: https://pwn.watch/incidents.json. Verify against the vendor advisory before changing production systems.