Critical CODESYS Flaw Enables Password-Free Code Execution on Industrial Controllers

· Original article ↗

Summary

CVE-2026-127148 lets an attacker with network access to CODESYS online services execute code on affected controllers without a password or user action. Patches are available for some products; CISA listed no known exploitation.

Key points

  • The flaw is an out-of-bounds write in components that process CODESYS online-service traffic; exploitation requires network access to those services, but no password or user action.
  • CVE-2026-127148 received a CVSS score of 9.8. CISA’s assessment listed no known exploitation and rated the flaw as automatable.
  • Thirteen of 26 affected products have a fix in version 3.5.22.50; the remaining products, including Linux-based runtimes, await version 4.24.0.0, planned for this month.
  • The affected product range includes runtimes built into devices from multiple manufacturers. The vendor’s estimate of more than 10 million compatible controllers describes the ecosystem, not the number of vulnerable devices.
  • PLC2SHELL researchers reported about 40 vulnerabilities across CODESYS components and demonstrated code execution in lab tests on Windows, Linux and VxWorks runtimes and a physical Schneider Electric Modicon M241. They are withholding exploitation details until patches are widely deployed.
  • Until updates are available, the advisory recommends restricting online services through firewalls and network segmentation, and using a strongly authenticated VPN for remote access.

Article Details

Vulnerability Types
  • Out-of-bounds write
Severity
Critical (CVSS 9.8)
Exploitation Status
not_reported
Exploit Availability
claimed_or_private
Patch Status
partial
Workarounds
  • Restrict online services with firewalls and network segmentation so only trusted systems can reach them.
  • Use a VPN with strong authentication for remote access.
  • Do not expose CODESYS runtimes to untrusted networks or the Internet.

MITRE ATT&CK

CVE

People

Vendors

Products