Skip to content
NewCybercrime Report 2026 · Eight Chapters · A Post Is Not An Incident → Explore The ChaptersCybercrime Report 2026 → Explore

CODESYS Control Runtime RCE (CVE-2026-127148)

CVE-2026-127148 is an unauthenticated remote code execution flaw in CODESYS Control Runtime.

Reviewed by
Brandefense Analyst Team
Published
Reading Time
4 min read
CVE ID
CVE-2026-127148
Vendor
CODESYS
Affected Product
CODESYS Control Runtime
Exploitation
Not confirmed
Published
2026-11-30

CVE-2026-127148 is an unauthenticated remote code execution flaw in CODESYS Control Runtime. CODESYS says improper length checking in CmpChannelMgr and CmpChannelMgrEmbedded causes an out-of-bounds write when the runtime handles online service traffic. An attacker who can reach the affected service may execute arbitrary code on the controller.CODESYS rates the flaw Critical at CVSS 3.1 9.8. The broader PLC2Shell research project includes several distinct vulnerabilities; PLC2Shell is the researchers’ project name, not a unique technical name for this CVE. Use the vulnerability intelligence platform as a reference while confirming each deployed product and firmware version.

What it allows

How Does CVE-2026-127148 Lead to Code Execution?

The exposed entry point is the CODESYS online protocol service. According to the vendor, improper packet length checking in two channel manager components creates an out-of-bounds write before authentication. The attacker needs network reachability to that service, but does not need a user account or user interaction.

Limes Security says it developed an exploit for Windows, Linux and VxWorks runtimes, with different approaches for each platform. The researchers say their exploitation details are being withheld during coordinated remediation. Their work demonstrates the potential impact, while the advisory identifies the vulnerable component and the product-wide remediation paths.

Brandefense Blackhole counted 2 dark-chat items mentioning CVE-2026-127148 from 5 September to 4 December 2026. The measured unit is an identifier-mentioning chat item; the count does not establish an incident or active exploitation. A 4 December 2026 GitHub search counted 2 public repositories whose names include the CVE ID; repository names do not verify exploitability. Limes Security stated on 2 December 2026 that it had no evidence of active exploitation.

The vendor’s impact statement covers confidentiality, integrity and availability on an affected controller. For operational context, the existing CODESYS runtime patch-priority report separates this pre-authentication flaw from the lower-scored issues in the same advisory.

Who is affected

Which CVE-2026-127148 Products and Versions Are Affected?

CODESYS Advisory 2026-17 lists two product groups for its five Control Runtime CVEs. Products in the first group are affected from 3.0.0.0 up to, but excluding, 3.5.22.50. CODESYS instructs operators to update these products to 3.5.22.50:

  • CODESYS Control RTE (SL)
  • CODESYS Control RTE (for Beckhoff CX) SL
  • CODESYS Control Win (SL)
  • CODESYS Runtime Toolkit
  • CODESYS Embedded Target Visu Toolkit
  • CODESYS Remote Target Visu
  • CODESYS Safety SIL2
  • CODESYS Gateway
  • CODESYS Edge Gateway for Windows
  • CODESYS HMI (SL)
  • CODESYS OPC DA Server SL
  • CODESYS PLCHandler
  • CODESYS Development System 3

The second group is affected from 3.5.0.0 up to, but excluding, 4.24.0.0. CODESYS planned that release for December 2026; the advisory did not say it was available on 30 November. The products in this group are:

  • CODESYS Control for BeagleBone SL
  • CODESYS Control for emPC-A/iMX6 SL
  • CODESYS Control for IOT2000 SL
  • CODESYS Control for Linux ARM SL
  • CODESYS Control for Linux SL
  • CODESYS Control for PFC100 SL
  • CODESYS Control for PFC200 SL
  • CODESYS Control for PLCnext SL
  • CODESYS Control for Raspberry Pi SL
  • CODESYS Control for WAGO Touch Panels 600 SL
  • CODESYS Virtual Control SL
  • CODESYS Edge Gateway for Linux
  • CODESYS TargetVisu for Linux SL

The advisory also says the simulation runtime inside CODESYS Development System V3 is affected. For a controller supplied by another manufacturer, confirm the included runtime and the manufacturer’s firmware update. Limes Security notes that embedded runtimes can require an integrator release and a maintenance window.

Until the appropriate update is available, CODESYS advises restricting the online protocol with firewalls and network segmentation. Permit only trusted engineering systems and networks. Prevent direct Internet exposure, and use a strongly authenticated VPN where remote access is necessary.

Timeline

  1. 2026-07-07

    Limes Security says it submitted its findings through CERT@VDE to CODESYS.

  2. 2026-11-30

    CODESYS published Security Advisory 2026-17 with affected products and remediation.

  3. 2026-12-02

    Limes Security published the PLC2Shell project overview and withheld exploit details.

What to do

  1. Inventory runtime deployments

    Identify CODESYS Control runtimes, including embedded controllers and the Development System V3 simulation runtime. Record the precise product, runtime or firmware version, and whether the online protocol is reachable.

  2. Restrict online protocol access

    Apply the CODESYS mitigation now: allow connections only from trusted engineering systems and networks. Remove direct Internet access and require a strongly authenticated VPN for necessary remote sessions.

  3. Update the available branch

    Update products in the first affected group to 3.5.22.50 using the CODESYS or device-manufacturer package. Verify the running runtime or firmware version after the maintenance window.

  4. Track the planned Linux branch fix

    For products in the second affected group, track the CODESYS 4.24.0.0 release planned for December 2026. Keep network restrictions until your manufacturer supplies the fix, then verify the running version.

  5. Review unexpected online connections

    Use OT network monitoring to review connections to online protocol services from untrusted or unusual systems. This is a defensive investigation inferred from the exposed network entry point.

What Brandefense can do

Frequently Asked Questions

Does CVE-2026-127148 require a CODESYS login?

No. CODESYS says an attacker who can reach the online protocol service can trigger the flaw without authentication.

Is 4.24.0.0 available for the Linux product group?

CODESYS Advisory 2026-17 planned release 4.24.0.0 for December 2026. Confirm availability with CODESYS or the device manufacturer before treating a deployment as patched.

Does PLC2Shell identify only CVE-2026-127148?

No. PLC2Shell is Limes Security’s name for a broader research project that disclosed several CODESYS vulnerabilities, including CVE-2026-127148.

What should operators restrict before updating?

CODESYS advises limiting online protocol connections to trusted systems and networks, blocking direct Internet exposure, and using strongly authenticated VPN access when needed.

Sources

  1. CODESYS Security Advisory 2026-17CODESYS
  2. PLC2Shell research disclosureLimes Security
  3. CVE-2026-127148 NVD recordNVD
  4. Known Exploited Vulnerabilities catalogCISA
ShareLinkedInX
Brandefense logo

Stay Ahead of Digital Threats.

Take control of your digital security with an exclusive demo of our AI-driven threat intelligence platform.

Open The Full Demo Form →