Executive Summary
In December 2026, Limes Security disclosed approximately 40 vulnerabilities in CODESYS, the dominant runtime environment used to program and operate programmable logic controllers (PLCs) across more than 10 million industrial devices from over 500 manufacturers worldwide. The most critical flaw, CVE-2026-127148, is a pre-authentication memory corruption bug scoring 9.8 CVSS that researchers confirmed exploitable even against ASLR protections. Additional high-severity vulnerabilities in CODESYS Visualization enable remote code execution on host PLCs. Affected products include safety-critical CODESYS Safety SIL2 controllers used to protect dangerous industrial machinery, with over 1,000 exposed devices discovered reachable directly from the public internet.
This disclosure amplifies a years-long pattern of critical ICS/OT vulnerability exposure where patching cycles are dangerously slow, supply-chain complexity obscures asset ownership, and safety instrumented systems remain insufficiently isolated from compromised control networks. With AI lowering the barrier to exploit development and ransomware groups actively targeting OT environments, the window between disclosure and weaponization continues to shrink.
Why This Matters Now
Forty newly disclosed CODESYS vulnerabilities, including a pre-auth 9.8 CVSS memory corruption flaw, threaten millions of PLCs running critical infrastructure globally. With AI accelerating exploit development, slow OT patch cycles, white-label device complexity obscuring asset inventories, and over 1,000 devices already internet-exposed, industrial operators face an urgent, widening risk window that standard IT patching approaches cannot close.
Attack Path Analysis
An attacker leverages internet-exposed CODESYS-enabled PLCs discovered via network scanning, exploiting the pre-authentication memory corruption vulnerability CVE-2026-127148 (CVSS 9.8) to gain initial code execution on industrial controllers without credentials. From that foothold, the attacker escalates privileges within the CODESYS runtime environment, moves laterally across the OT network to reach safety instrumented systems (SIS) including CODESYS Safety SIL2 controllers, establishes covert command-and-control channels over the flat industrial network, exfiltrates process logic and configuration data, and ultimately manipulates or disables safety-critical machinery, creating conditions for physical harm or operational disruption.
Kill Chain Progression
This analysis maps confirmed threat intelligence to the full cloud kill chain to show where defensive gaps would emerge as an attack progresses.
Initial Compromise
Description
Attacker performs internet scanning (e.g., via Shodan/Censys) and identifies over 1,000 internet-exposed CODESYS devices. CVE-2026-127148, a pre-authentication memory corruption vulnerability with CVSS 9.8, is exploited remotely against exposed PLC endpoints. The exploit bypasses ASLR and requires no credentials, granting remote code execution on the CODESYS runtime. Approximately half of identified exposed devices are WAGO-manufactured units concentrated in the US and Europe.
Related CVEs
CVE-2022-47378
CVSS 6.5Multiple CODESYS products are affected by a heap-based buffer overflow vulnerability that allows an unauthenticated remote attacker to execute arbitrary code or cause a denial of service condition on affected PLC devices.
Affected Products:
CODESYS GmbH CODESYS V3 Runtime – < 3.5.19.0
Schneider Electric EcoStruxure Machine Expert (CODESYS-based) – affected versions prior to patched release
WAGO PFC100/PFC200 PLC – affected firmware versions prior to vendor patch
Exploit Status:
proof of conceptCVE-2022-47379
CVSS 8.8An out-of-bounds write vulnerability in CODESYS V3 runtime allows an unauthenticated remote attacker to execute arbitrary code on the affected PLC, potentially disrupting industrial operations.
Affected Products:
CODESYS GmbH CODESYS V3 Runtime – < 3.5.19.0
WAGO PFC100/PFC200 PLC – affected firmware versions prior to vendor patch
Exploit Status:
proof of conceptCVE-2022-47386
CVSS 8.8A stack-based buffer overflow in the CODESYS V3 Visualization component allows a remote authenticated attacker to execute arbitrary code on the host PLC by supplying malicious visualization data.
Affected Products:
CODESYS GmbH CODESYS V3 Visualization – < 3.5.19.0
Exploit Status:
proof of conceptCVE-2022-47392
CVSS 6.5An improper restriction of operations within bounds of a memory buffer in CODESYS V3 allows an authenticated remote attacker to execute arbitrary code or cause a denial-of-service condition on the targeted PLC.
Affected Products:
CODESYS GmbH CODESYS V3 Runtime – < 3.5.19.0
Exploit Status:
proof of concept
MITRE ATT&CK® Techniques
Exploit Public-Facing Application
Exploitation for Client Execution
Exploitation for Defense Evasion
Exploitation for Privilege Escalation
Exploitation of Remote Services
Loss of Availability
Manipulation of Control
System Network Configuration Discovery
Potential Compliance Exposure
Mapping incident impact across multiple compliance frameworks.
NIST SP 800-82 Rev. 3 (Guide to OT Security) – OT System Vulnerability Remediation and Supply Chain Patch Management
Control ID: SR-2 / SI-2 / SA-10
NIS2 Directive (EU) 2022/2555 – Network Segmentation and Vulnerability Handling for Critical Infrastructure
Control ID: Article 21 – Cybersecurity Risk Management Measures
CISA Zero Trust Maturity Model (ZTMM) 2.0 – OT Network Segmentation and ICS Device Inventory Enforcement
Control ID: Network Pillar – Macro/Micro Segmentation; Device Pillar – Asset Visibility
IEC 62443 (Industrial Automation and Control Systems Security) – Security Level Requirements for Safety Instrumented Systems and Patch Management
Control ID: SR 1.1 / SR 3.2 / SR 7.6
DORA (EU) 2022/2554 – Digital Operational Resilience Act – Operational Resilience and Third-Party ICT Risk for Critical Infrastructure Operators
Control ID: Article 9 – ICT Security; Article 19 – ICT-related Incident Reporting
PCI DSS 4.0 – Vulnerability Management and Risk Assessment for Networked Industrial Devices
Control ID: Requirement 6.3 – Security Vulnerabilities; Requirement 12.3 – Risk Management
Sector Implications
Industry-specific impact of the vulnerabilities, including operational, regulatory, and cloud security risks.
Industrial Automation
CODESYS ICS/OT vulnerabilities in 10M+ PLCs expose industrial automation systems to pre-auth memory corruption exploits, threatening lateral movement across OT networks and safety-critical machinery control environments.
Utilities
Critical infrastructure utilities running CODESYS-based PLCs face ICS/OT exploitation risks; 40 new CVEs including CVSS 9.8 flaws threaten unpatched operational technology managing power, water, and energy distribution systems.
Mechanical or Industrial Engineering
Manufacturers embedding CODESYS runtime across rebranded PLC firmware face complex patch coordination challenges, with Safety SIL2 vulnerabilities exposing engineering systems to code execution and unsafe physical conditions.
Oil/Energy/Solar/Greentech
Energy sector OT environments relying on CODESYS-integrated PLCs from Schneider Electric and ABB face ICS exploitation risks requiring zero-trust segmentation and east-west traffic controls to prevent lateral movement into safety instrumented systems.
Sources
- Millions of PLCs At Risk From 40 New CODESYS Bugshttps://www.darkreading.com/ics-ot-security/millions-plcs-risk-40-codesys-bugsVerified
- ICS Advisory ICSA-23-131-10: CODESYS GmbH CODESYS Development Systemhttps://www.cisa.gov/news-events/ics-advisories/icsa-23-131-10Verified
- NVD - CVE-2022-47378https://nvd.nist.gov/vuln/detail/CVE-2022-47378Verified
- CODESYS Security Advisories - CODESYS GmbH Official Portalhttps://www.codesys.com/safety-security/security-advisories.htmlVerified
- Microsoft Security Research: Critical CODESYS V3 Vulnerabilities Affecting Industrial PLCshttps://www.microsoft.com/en-us/security/blog/2023/08/10/critical-codesys-vulnerabilities/Verified
- NVD - CVE-2022-47386https://nvd.nist.gov/vuln/detail/CVE-2022-47386Verified
Frequently Asked Questions
Cloud Native Security Fabric Mitigations and ControlsCNSF
Based on the attack progression modeled above, these are the defensive controls that would constrain each stage.
Aviatrix Zero Trust CNSF is directly relevant to this incident because the attacker's entire kill chain depends on flat, unrestricted network access to internet-exposed OT assets and unconstrained east-west traversal across ICS and SIS zones. By enforcing segmentation boundaries, identity-scoped routing, and controlled egress, CNSF would likely reduce the attacker's reachability and limit the blast radius across the broader CODESYS device ecosystem.
Control: Cloud Native Security Fabric (CNSF)
Mitigation: Internet-facing reachability to CODESYS PLC endpoints would likely be constrained, reducing the pool of directly exploitable devices accessible to an external attacker and limiting initial foothold opportunities across the exposed OT surface.
Control: Zero Trust Segmentation
Mitigation: Zero Trust segmentation would likely constrain the attacker's ability to reach adjacent runtime components and safety-layer interfaces from a single compromised PLC, reducing the scope of privilege escalation paths available within the CODESYS environment.
Control: East-West Traffic Security
Mitigation: East-west traffic enforcement would likely constrain the attacker's ability to traverse freely between ICS and SIS network zones, reducing how many adjacent PLCs and safety controllers could be reached from a single compromised device without triggering a policy boundary.
Control: Multicloud Visibility & Control
Mitigation: Centralized traffic visibility across OT network flows would likely surface anomalous CODESYS protocol behavior and unexpected outbound connection patterns, reducing the attacker's ability to maintain covert command-and-control channels without generating observable traffic anomalies.
Control: Egress Security & Policy Enforcement
Mitigation: Egress security policy enforcement would likely reduce the attacker's ability to exfiltrate plaintext CODESYS process data to internet-facing destinations, constraining outbound paths from OT workloads and limiting which external endpoints compromised PLCs may reach.
If prior segmentation and egress controls constrained lateral movement and exfiltration, the attacker's ability to reach safety-critical SIL2 controllers and acquire the process knowledge needed to execute targeted physical manipulation would likely be reduced, narrowing the blast radius to a smaller subset of compromised assets rather than the full OT environment.
Impact at a Glance
Affected Business Functions
- Industrial Control System (ICS) and PLC Operations
- Safety Instrumented Systems (SIS) and Safety-Critical Machinery Control
- OT Network Infrastructure and Plant Floor Automation
- Manufacturing Production and Process Control
Estimated downtime: 21 days
Estimated loss: N/A
No direct data exfiltration is the primary concern in this incident. The principal risk involves unauthorized code execution on safety-critical PLCs controlling motors, valves, pumps, and other physical machinery across industrial environments. Attackers with exploit capability could disable Safety Instrumented Systems (SIS) built on CODESYS Safety SIL2, manipulate physical processes, cause equipment damage, trigger hazardous conditions, or cause loss of human life. Over 1,000 CODESYS devices were found directly Internet-exposed, with the majority belonging to WAGO hardware concentrated in the US and Europe. The indirect financial exposure from a successful attack includes unplanned production shutdowns, regulatory penalties under ICS safety frameworks, and potential mass-casualty liability in safety-critical environments such as chemical plants, water treatment, and energy infrastructure.
Recommended Actions
Key Takeaways & Next Steps
- • Apply Zero Trust Segmentation (microsegmentation) to enforce strict identity-based, least-privilege policies between ICS zones, SIS networks, and engineering workstations — eliminating the flat east-west traversal paths that allow an attacker who compromises one CODESYS PLC to pivot freely to safety instrumented systems and adjacent controllers.
- • Deploy East-West Traffic Security controls to monitor and restrict workload-to-workload and device-to-device flows within OT network segments, ensuring that anomalous lateral movement between PLCs, HMI systems, and SIS components is detected and blocked before an attacker reaches safety-critical assets.
- • Enable Egress Security and Policy Enforcement with FQDN filtering and outbound traffic controls on all OT network egress points to prevent exfiltration of PLC logic, process configurations, and safety parameters through internet-reachable interfaces, particularly for the 1,000+ CODESYS devices currently exposed to the internet.
- • Activate Multicloud Visibility and Control with centralized traffic observability and anomaly detection across OT network flows to identify repeated malformed CODESYS protocol requests, suspicious automation interactions, and C2 traffic masquerading as legitimate engineering communications before the attacker establishes persistent access.
- • Deploy Encrypted Traffic (HPE) controls including IPsec or MACsec for all CODESYS protocol communications in transit to prevent plaintext interception of PLC commands, sensor data, and process configurations, and use Inline IPS (Suricata) with ICS-aware signatures to detect and block CVE-2026-127148 exploit traffic at network ingress points serving industrial control environments.



