CODESYS Development System Local Privilege Escalation Vulnerability via TOCTOU Race Condition

Vulnerability

A local privilege escalation vulnerability has been identified in the CODESYS Development System, specifically in versions prior to 3.5.22.20. During administrative installations, the application extracts files to a temporary directory with improper default permissions. This flaw allows low-privileged local attackers to exploit a Time-of-Check to Time-of-Use (TOCTOU) race condition, replacing verified installation files with malicious ones before they are installed. The vulnerability takes advantage of a practical time window, leading to unauthorized privilege escalation.

Impact

Exploitation of this vulnerability allows low-privileged local attackers to escalate privileges, executing actions with administrative rights. This could involve installing malicious files that compromise the underlying operating system.

Remediation

Users are advised to update the CODESYS Development System to version 3.5.22.20. The update is available through the CODESYS Installer, the CODESYS Store, or the CODESYS Update area.

Added: May 26, 2026, 5:19 PM
Updated: May 26, 2026, 5:19 PM

Vulnerability Rating

Custom Algorithm
spread
5.4
impact
10.0
exploitability
2.9
remediation
7.7
relevance
9.7
threat
0.0
urgency
2.9
incentive
0.0

Our algorithm analyzes dozens of metrics to generate these 8 key vulnerability categories, which are then combined to calculate the overall risk score.