Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-2364

CVE-2026-2364: CODESYS Privilege Escalation Vulnerability

CVE-2026-2364 is a privilege escalation flaw in CODESYS Development System caused by a TOCTOU vulnerability in the installer. Attackers can exploit this to gain elevated rights during updates or installations.

Published: March 13, 2026

CVE-2026-2364 Overview

A Time-of-Check Time-of-Use (TOCTOU) vulnerability exists in the CODESYS Development System installer that allows a low-privileged local attacker to gain elevated privileges on the affected system. The vulnerability is triggered when a legitimate user confirms a self-update prompt or initiates an installation of the CODESYS Development System. During this window, an attacker can exploit the race condition to manipulate files or resources between the security check and their subsequent use, resulting in unauthorized privilege escalation.

Critical Impact

Local attackers with low privileges can exploit the installer's race condition to gain elevated system rights, potentially compromising the entire development environment and any connected industrial control systems.

Affected Products

  • CODESYS Development System (versions affected during self-update or installation processes)
  • Systems running CODESYS installer components

Discovery Timeline

  • 2026-03-10 - CVE CVE-2026-2364 published to NVD
  • 2026-03-11 - Last updated in NVD database

Technical Details for CVE-2026-2364

Vulnerability Analysis

This vulnerability is classified as CWE-367 (Time-of-Check Time-of-Use Race Condition), a classic race condition vulnerability that affects the CODESYS installer's security validation process. The flaw occurs in the temporal gap between when the installer verifies the integrity or permissions of a resource (time-of-check) and when it actually uses that resource (time-of-use).

During the installation or self-update process, the CODESYS installer performs security checks on files, directories, or other resources before proceeding with elevated operations. However, due to the race condition, a local attacker can manipulate these resources in the brief window between the check and the use, causing the installer to operate on attacker-controlled content with elevated privileges.

The attack requires local access and user interaction (a legitimate user must initiate the update or installation), but once these conditions are met, an attacker with only low-level privileges can escalate to higher privilege levels on the system.

Root Cause

The root cause is a TOCTOU race condition (CWE-367) in the CODESYS installer's security validation logic. The installer fails to atomically verify and use resources, creating an exploitable window where an attacker can substitute malicious content for legitimate files after they have been validated but before they are used in privileged operations.

This architectural weakness stems from the installer not implementing proper atomic operations or file locking mechanisms during the update/installation process. The lack of synchronization between the verification step and the execution step allows concurrent modification of resources.

Attack Vector

The attack requires local access to the target system and depends on user interaction to trigger the vulnerable code path. An attacker must:

  1. Position themselves on the same local system as a legitimate user with CODESYS Development System installed
  2. Prepare malicious payloads or symbolic links to substitute during the race window
  3. Wait for or socially engineer a legitimate user to initiate a self-update or new installation
  4. Exploit the race condition by rapidly modifying resources between the check and use operations
  5. Gain elevated privileges when the installer processes the attacker-controlled content

The attack mechanism involves exploiting the race condition window during the CODESYS installer's file validation process. When a legitimate user initiates an update or installation, the installer checks file permissions and integrity before executing operations with elevated privileges. An attacker monitoring this process can substitute malicious content at the precise moment between validation and execution. This technique commonly involves symbolic link manipulation, directory junction attacks, or rapid file replacement to redirect privileged operations to attacker-controlled resources. For complete technical details, see the CERTVDE Security Advisory VDE-2026-012.

Detection Methods for CVE-2026-2364

Indicators of Compromise

  • Unexpected symbolic links or directory junctions created in CODESYS installation directories
  • Anomalous file modification timestamps on installer-related files during update operations
  • Evidence of rapid file replacements or race condition exploitation attempts in file system audit logs
  • Unusual process spawning patterns during CODESYS installer execution

Detection Strategies

  • Monitor for suspicious file system activity during CODESYS installer operations, particularly rapid file modifications or symbolic link creation
  • Implement file integrity monitoring on CODESYS installation directories and temporary folders used during updates
  • Configure endpoint detection to alert on privilege escalation attempts coinciding with installer processes
  • Enable detailed process auditing to capture parent-child process relationships during installation operations

Monitoring Recommendations

  • Enable Windows Security Event logging for process creation (Event ID 4688) and privilege use events
  • Deploy SentinelOne Singularity platform for real-time behavioral analysis of installer processes
  • Monitor %TEMP% and CODESYS installation directories for file system anomalies
  • Implement alerting for any new services or scheduled tasks created during installer execution windows

How to Mitigate CVE-2026-2364

Immediate Actions Required

  • Review and apply updates from CODESYS as referenced in the CERTVDE Security Advisory VDE-2026-012
  • Restrict local user access on systems running CODESYS Development System to only authorized administrators
  • Ensure CODESYS updates are performed only in controlled environments with limited user access
  • Monitor installation and update processes for any signs of exploitation attempts

Patch Information

Consult the CERTVDE Security Advisory VDE-2026-012 for official patch availability and update instructions from CODESYS. Apply vendor-provided patches as soon as they become available to address the TOCTOU vulnerability in the installer.

Workarounds

  • Perform CODESYS installations and updates only from accounts with administrator privileges on isolated systems where low-privileged users do not have access
  • Disable or restrict local user accounts on development workstations during installation or update procedures
  • Implement application whitelisting to prevent unauthorized executables from running during installer operations
  • Consider network isolation of development systems during update processes to reduce attack surface

Mitigating TOCTOU vulnerabilities requires operational controls since no code-based workaround is available for end users. Ensure installations occur in single-user environments by restricting interactive logon sessions during the update window. Consider implementing mandatory access controls through Windows Security Policy or third-party endpoint protection to limit which processes can modify files in CODESYS installation directories during update operations.

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechCodesys

  • SeverityHIGH

  • CVSS Score7.3

  • EPSS Probability0.01%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:L/UI:R/S:U/C:H/I:H/A:H
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityHigh
  • AvailabilityHigh
  • CWE References
  • CWE-367
  • Technical References
  • CERTVDE Security Advisory VDE-2026-012
  • Related CVEs
  • CVE-2026-35225: CODESYS EtherNet/IP Adapter DoS Flaw

  • CVE-2025-41691: CODESYS Control Runtime DoS Vulnerability

  • CVE-2026-3509: CODESYS Control Runtime DoS Vulnerability

  • CVE-2025-41660: CODESYS Control Runtime RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English