Incident response on call, 24/7: +385 98 1900 984NewIR Retainer: a team on contract before an attack
HR · EN
High 8.1CVE-2026-127071

Use After Free in CODESYS Control may result in RCE

Published 30/11/2026 · Updated 30/11/2026 · CODESYS Control RTE (SL)

Description

The affected products contain a use-after-free vulnerability in the WebSocket handling of the web server component. An unauthenticated remote attacker can send specially crafted WebSocket frames to trigger access to a previously released connection object. Successful exploitation may result in remote code execution if the attacker has previously obtained sufficient information about the memory layout of the runtime process on the targeted device.

Affected products and versions

CODESYS Control RTE (SL)3.5.22.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control RTE (for Beckhoff CX) SL3.5.22.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control Win (SL)3.5.22.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS HMI (SL)3.5.22.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Runtime Toolkit3.5.22.0 – < 3.5.22.50Fixed in: 3.5.22.50
CODESYS Control for BeagleBone SL4.21.0.0 – < 4.24.0.0Fixed in: 4.24.0.0
CODESYS Control for emPC-A/iMX6 SL4.21.0.0 – < 4.24.0.0Fixed in: 4.24.0.0
CODESYS Control for IOT2000 SL4.21.0.0 – < 4.24.0.0Fixed in: 4.24.0.0
CODESYS Control for Linux ARM SL4.21.0.0 – < 4.24.0.0Fixed in: 4.24.0.0
CODESYS Control for Linux SL4.21.0.0 – < 4.24.0.0Fixed in: 4.24.0.0

CVSS vector, explained

CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:H

Attack vector
Network (from the internet)
Attack complexity
High
Privileges required
None (no login)
User interaction
Not required
Scope
Vulnerable component only
Confidentiality
High impact
Integrity
High impact
Availability
High impact

Weakness type (CWE)

References

Sources: CVE.org (CNA and CISA ADP), CISA KEV, FIRST EPSS. Always check the vendor's official advisory.