PLC2Shell: 40 CODESYS Bugs, One Opens PLCs With No Login
Limes Security found about 40 flaws in the CODESYS PLC runtime; CVE-2026-127148 (CVSS 9.8) gives pre-auth code execution. No attacks seen; Windows fixes are out, Linux due in December.
Limes Security says it found about 40 vulnerabilities in CODESYS, the runtime that sits inside PLCs from hundreds of industrial vendors, and the worst one lets an attacker run code on a controller without logging in. The firm calls the project PLC2Shell; eleven of the bugs went public through CERT@VDE on November 24 and 30, and the rest are still in coordinated disclosure. Dark Reading notes that CODESYS ships in more than 10 million devices from 500-plus manufacturers, often under the device maker’s own brand.
For defenders
| CVE | Component | CVSS 3.1 (Limes) | Impact |
|---|---|---|---|
| CVE-2026-127148 | CODESYS Control RTE (SL), 3.0.0.0 up to 3.5.22.50 | 9.8 | Unauthenticated out-of-bounds write in the online service channel; code execution on the controller. |
| CVE-2026-127167 | Control, Linux/QNX platform layer | 7.2 | Code execution with an administrator account. |
| CVE-2026-127149 | Control | 7.1 | Low-privilege account can change redundancy settings or stop the PLC controlling the process. |
| CVE-2026-121016, -121017, -121018 | CODESYS Visualization | 8.8 each | A tampered runtime or man-in-the-middle can run code on the engineering workstation. |
| CVE-2026-127147, -127150, -127146, -127168, -121019 | Control / Visualization | 3.3 to 6.5 | Denial of service, file checks, debug-setting changes, info leaks, file writes. |
Status: no known exploitation; Limes says there is no evidence of attacks, and none of the CVEs is on CISA’s KEV list. Limes built a reliable exploit for CVE-2026-127148 that defeats ASLR on Windows, Linux and VxWorks runtimes and a Schneider Electric Modicon M241, and got persistence that survives a reboot until the firmware is reflashed. It is withholding exploit details. The NVD record scores CVE-2026-127148 at 9.3 under CVSS 4.0, and our CVE tracking shows three GitHub repositories claiming proof-of-concept code; we haven’t verified them. CODESYS Safety SIL2 is among the affected products. The bugs were also found independently by Luca Borzacchiello of Nozomi Networks.
Fixes: Windows-based Control products and toolkits 3.5.22.50; CODESYS Visualization 4.11.0.0; Linux-based Control SL 4.24.0.0 is due in December 2026. Embedded runtimes need the device maker’s firmware update. Advisories: VDE-2026-169, VDE-2026-170, VDE-2026-154 (machine-readable CSAF versions are available for matching against an asset inventory or SBOM).
Exposure: Limes counted 1,094 CODESYS devices reachable from the internet, about half made by WAGO, mostly in the US and Europe.
What it means for you
A PLC is the small industrial computer that switches the motors, pumps and valves in a factory, water plant or building. CODESYS is the software inside a huge number of them, even when the box says Schneider, ABB or WAGO. You won’t find it on a home PC. If you run a small manufacturing shop, a farm operation or a building with automated controls, there’s a good chance some of your equipment uses it, and the fix has to come from whoever made the device.
Do this now
- Ask your equipment vendor or integrator whether your controllers run CODESYS and when their patched firmware ships.
- Make sure no PLC or controller is reachable from the internet; use a VPN with strong authentication for remote access.
- Update CODESYS soft PLCs on Windows to 3.5.22.50 and engineering workstations’ Visualization to 4.11.0.0, and connect those workstations only to controllers you trust.
- Plan the firmware updates for a maintenance window; they usually mean stopping the process the PLC runs.
CVE at a glance
- CVSS
- 9.3 Critical (v4.0)
- EPSS
- 2% chance of exploitation in the next 30 days (higher than 81.3% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- Yes, reported in 3 GitHub repositories
- CVSS
- 8.6 High (v4.0)
- EPSS
- 1.1% chance of exploitation in the next 30 days (higher than 65.9% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- None reported in public exploit databases
- CVSS
- 7.1 High (v4.0)
- EPSS
- 0.4% chance of exploitation in the next 30 days (higher than 38.6% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- None reported in public exploit databases
- CVSS
- 7.1 High (v4.0)
- EPSS
- 0.5% chance of exploitation in the next 30 days (higher than 47.1% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- None reported in public exploit databases
- CVSS
- 7 High (v4.0)
- EPSS
- 0.6% chance of exploitation in the next 30 days (higher than 52% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- None reported in public exploit databases
- CVSS
- 5.3 Medium (v4.0)
- EPSS
- 0.5% chance of exploitation in the next 30 days (higher than 42.2% of CVEs)
- Exploited in the wild
- Not on CISA’s KEV list
- Public exploit
- None reported in public exploit databases
Data from NVD, FIRST EPSS and CISA KEV, refreshed automatically. We report whether public exploit code exists but never link to it: fake proof-of-concepts that infect researchers are common.