Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
ReconObtain low-privileged local account on engineering workstation
-
DeliveryPre-position race monitor watching installer temp directory
-
ExploitAdministrator launches CODESYS Development System install
-
InstallInstaller extracts and verifies files in writable temp dir
-
C2Race-swap verified binary with malicious payload
-
ExecuteInstaller executes payload with admin privileges
-
ImpactFull compromise of engineering workstation
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V13 - Configuration Default permission hardening
MITRE ATT&CK
1 technique across 1 tactic: Privilege Escalation The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires a local low-privileged account (CVSS PR:L) on a host where an administrator is actively performing a CODESYS Development System administrative installation or upgrade of an affected version (3.0.0.0 through 3.5.22.19); no user interaction by the attacker's victim beyond running the install is needed (UI:N). The attacker must win a TOCTOU race in the installer's temp-extraction directory, which the description characterizes as having 'a practical time window' - meaning success is not guaranteed on a single attempt and depends on the attacker already having code running on the box at install time. The bug does not apply to non-administrative installs or to systems where the install temp directory's default permissions have been tightened, and it cannot be triggered remotely (AV:L). |
| Impact | CVSS 4.0 vector AV:L/AC:L/AT:N/PR:L/UI:N with VC:H/VI:H/VA:H yields a base of 8.5, reflecting local-only attack with low privileges but full confidentiality, integrity, and availability impact on the vulnerable component. EPSS is only 0.01% (1st percentile) and CISA SSVC reports Exploitation: none, Automatable: no, Technical Impact: total, which is consistent with no KEV listing and no public PoC - this is a high-impact but presently low-likelihood issue. The local attack vector and required low-privilege foothold meaningfully limit mass exploitation, but on engineering workstations in ICS environments the impact is severe because escalation to admin on a programming PC translates to control over PLC project trust. Note the apparent tension between 'AC:L' (low complexity) and the description's reliance on a race-condition window - exploitation is realistically race-dependent, so AC:L should be treated as best-case for the attacker, not guaranteed first-try success. |
| Exploit ScenarioDerived | An attacker with an ordinary user account on a shared engineering workstation waits for (or socially engineers) an administrator to launch a CODESYS Development System install or update. While the installer extracts files into the world-writable temp directory and performs its integrity checks, the attacker's pre-positioned script monitors the directory and replaces a verified file with a malicious DLL or EXE between the check and the elevated execution, gaining SYSTEM/Administrator code execution on the engineering PC. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 08, 2026
Local privilege escalation in CODESYS Development System versions 3.0.0.0 through 3.5.22.19 allows a low-privileged local attacker to win a TOCTOU race condition during administrative installation, swapping verified installer files for malicious ones before they execute with elevated rights. The flaw stems from insecure default permissions on the temporary extraction directory used by the installer. No public exploit identified at time of analysis, and EPSS exploitation probability is very low (0.01%, 1st percentile).
RemediationAI
Vendor-released patch: upgrade CODESYS Development System to 3.5.22.20 or later, as documented in the CERT@VDE advisory VDE-2026-055 (https://www.certvde.com/en/advisories/VDE-2026-055/). Until the upgrade can be deployed, only perform installations from accounts where no other low-privileged users are concurrently logged on the same host, and restrict interactive logon to engineering workstations so that an attacker cannot pre-position a process that races the installer; on shared workstations, harden the default ACL of the system temp directory (e.g., remove write access for non-administrative users) - note this can break other installers and applications that legitimately use per-user temp paths, so test before broad rollout. Application allowlisting (e.g., WDAC/AppLocker) on the engineering workstation will not stop the elevation by itself because the installer is trusted, but it reduces the value of a successful escalation by limiting what attacker-supplied binaries can run.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CODESYS Development System is the integrated development environment used to program IEC 61131-3 PLCs across many industrial automation vendors, so it is widely deployed on engineering workstations in OT/ICS environments (CPE: cpe:2.3:a:codesys:codesys_development_system). The root cause is CWE-276 (Incorrect Default Permissions): during administrative install, the installer extracts files to a temp directory that is writable by lower-privileged users, creating a time-of-check-to-time-of-use (TOCTOU) gap between signature/integrity validation and execution. Because the installer ultimately runs the extracted binaries with administrator privileges, an attacker who wins the race substitutes attacker-controlled code into the elevated execution path.
Know when Codesys gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N
Primary rating from Vendor (CERTVDE) · only source for this CVE.
CVSS VectorVendor: CERTVDE
Lifecycle Timeline
2DescriptionCVE.org
The affected product extracts installation files to a temporary directory with incorrect default permissions during administrative installation. A low-privileged local attacker can exploit a TOCTOU race condition with a practical time window to replace verified files with malicious ones before installation, resulting in local privilege escalation.
Executive ViewAI
CODESYS Development System versions 3.0.0.0 through 3.5.22.19 contain a local privilege escalation vulnerability in the installer that allows local users to escalate to administrative rights, potentially compromising development environments and downstream deployed systems. Although no public exploit has been identified and exploitation probability is very low (0.01% EPSS), the high CVSS score of 8.5 reflects significant impact if exploited. Organizations using CODESYS should prioritize patching to prevent privilege escalation by local attackers.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Privilege escalation occurs when an attacker leverages flaws in access control mechanisms to gain permissions beyond what they were originally granted.
CODESYS V3 web server before 3.5.15.40, as used in CODESYS Control runtime systems, has a buffer overflow. Rated critica
CODESYS 3 web server before 3.5.15.20, as distributed with CODESYS Control runtime systems, has a Buffer Overflow. Rated
Crafted web server requests can be utilised to read partial stack or heap memory or may trigger a denial-of- service con
An exploitable code execution vulnerability exists in the PLC_Task functionality of 3S-Smart Software Solutions GmbH COD
An unsafe deserialization vulnerability exists in the Engine.plugin ProfileInformation ProfileData functionality of CODE
An unsafe deserialization vulnerability exists in the ObjectManager.plugin Project.get_MissingTypes() functionality of C
An unsafe deserialization vulnerability exists in the ObjectManager.plugin ObjectStream.ProfileByteArray functionality o
A unsafe deserialization vulnerability exists in the ObjectManager.plugin ProfileInformation.ProfileData functionality o
A unsafe deserialization vulnerability exists in the ComponentModel ComponentManager.StartupCultureSettings functionalit
The Package Manager of CODESYS Development System 3 before 3.5.17.0 does not check the validity of packages before insta
In CODESYS V2 Runtime Toolkit 32 Bit full and PLCWinNT prior to versions V2.4.7.56 unauthenticated crafted invalid reque
In the CODESYS V2 web server prior to V1.1.9.22 crafted web server requests may cause a Null pointer dereference in the
EUVD-2026-31797
GHSA-fhx5-27vm-6mqj
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB