The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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-2025-64691

CVE-2025-64691: Aveva Process Optimization Privilege Escalation

CVE-2025-64691 is a privilege escalation vulnerability in Aveva Process Optimization that lets authenticated users tamper with TCL Macro scripts to gain system privileges. This article covers technical details, impact, and mitigation.

Published: January 23, 2026

CVE-2025-64691 Overview

CVE-2025-64691 is a critical code injection vulnerability affecting Aveva Process Optimization software. The vulnerability allows an authenticated local user with standard OS privileges to tamper with TCL Macro scripts and escalate privileges to OS system level. Successful exploitation could result in complete compromise of the model application server, giving attackers full control over the affected system.

This vulnerability is classified under CWE-94 (Improper Control of Generation of Code, also known as Code Injection), indicating that the application fails to properly validate or sanitize input that is subsequently used in code generation or execution contexts.

Critical Impact

An authenticated attacker with standard OS user access can escalate privileges to system level by tampering with TCL Macro scripts, potentially leading to complete compromise of the Aveva Process Optimization model application server.

Affected Products

  • Aveva Process Optimization (all versions prior to patched release)
  • Systems running Aveva Process Optimization with TCL Macro script functionality
  • Model application servers utilizing Aveva Process Optimization

Discovery Timeline

  • 2026-01-16 - CVE-2025-64691 published to NVD
  • 2026-01-22 - Last updated in NVD database

Technical Details for CVE-2025-64691

Vulnerability Analysis

This vulnerability exists within the TCL Macro script handling functionality of Aveva Process Optimization. TCL (Tool Command Language) scripts are commonly used for automation and customization tasks within industrial control software. The vulnerability stems from insufficient access controls and validation on TCL Macro script files, allowing authenticated users with standard OS privileges to modify these scripts.

When the modified scripts are executed by the application, they run with elevated system privileges, enabling the attacker to execute arbitrary commands at the OS system level. This type of code injection vulnerability is particularly dangerous in industrial control system (ICS) environments where Aveva Process Optimization is commonly deployed.

The local attack vector requires the attacker to have authenticated access to the target system. However, once this prerequisite is met, the attack complexity is low, requiring no user interaction to execute successfully. The impact extends beyond the vulnerable component itself, potentially affecting other systems connected to the compromised model application server.

Root Cause

The root cause of CVE-2025-64691 is improper access control and input validation on TCL Macro script files within Aveva Process Optimization. The application fails to adequately protect these script files from modification by standard OS users, and does not properly validate or sanitize script content before execution. This allows malicious code to be injected into scripts that are subsequently executed with elevated system privileges.

Attack Vector

The attack requires local access to the system running Aveva Process Optimization. An authenticated attacker with standard OS user privileges can:

  1. Identify TCL Macro script files used by the application
  2. Modify these script files to include malicious TCL commands
  3. Wait for or trigger the execution of the modified scripts
  4. Achieve privilege escalation to OS system level when the scripts execute

The vulnerability manifests in the way Aveva Process Optimization handles TCL Macro script execution. When scripts are modified with malicious content, the injected code executes with the privileges of the application service, which typically runs at an elevated level. For detailed technical information, refer to the CISA ICS Advisory.

Detection Methods for CVE-2025-64691

Indicators of Compromise

  • Unexpected modifications to TCL Macro script files in Aveva Process Optimization installation directories
  • New or modified TCL scripts with unusual commands such as exec, open, or system call invocations
  • Unusual process spawning from the Aveva Process Optimization service process
  • Evidence of privilege escalation attempts in Windows Security Event logs

Detection Strategies

  • Monitor file integrity of TCL Macro script directories using SentinelOne's Real-Time File Integrity Monitoring
  • Configure alerts for modifications to .tcl files within the Aveva Process Optimization installation path
  • Implement behavioral detection rules to identify unusual child process creation from the application service
  • Review authentication logs for suspicious local user activity preceding script modifications

Monitoring Recommendations

  • Enable detailed audit logging for file access and modification on TCL script directories
  • Deploy SentinelOne Singularity Platform with ICS/OT protection policies to monitor industrial control system assets
  • Implement least-privilege access controls and monitor for privilege escalation attempts
  • Correlate file modification events with subsequent process execution to identify attack chains

How to Mitigate CVE-2025-64691

Immediate Actions Required

  • Restrict file system permissions on TCL Macro script directories to prevent modification by standard OS users
  • Audit all TCL Macro scripts for unauthorized modifications and restore from known-good backups if tampering is detected
  • Implement application whitelisting to prevent execution of unauthorized scripts
  • Isolate affected systems from critical network segments until patches can be applied

Patch Information

Aveva has released security updates to address this vulnerability. Administrators should download and apply the latest security patches from the Aveva Product Download Portal. For additional guidance, refer to the Aveva Cyber Security Updates page.

CISA has also published an ICS advisory (ICSA-26-015-01) with additional mitigation recommendations for this vulnerability.

Workarounds

  • Apply strict file system ACLs to remove write permissions for standard users on TCL script directories
  • Implement code signing for TCL Macro scripts and configure the application to only execute signed scripts if supported
  • Deploy file integrity monitoring solutions to detect and alert on unauthorized script modifications
  • Consider running Aveva Process Optimization in a hardened environment with restricted user access until patches are applied
bash
# Configuration example - Restrict TCL script directory permissions (Windows)
icacls "C:\Program Files\Aveva\ProcessOptimization\Scripts" /inheritance:r
icacls "C:\Program Files\Aveva\ProcessOptimization\Scripts" /grant:r "SYSTEM:(OI)(CI)F"
icacls "C:\Program Files\Aveva\ProcessOptimization\Scripts" /grant:r "Administrators:(OI)(CI)F"
icacls "C:\Program Files\Aveva\ProcessOptimization\Scripts" /grant:r "Users:(OI)(CI)RX"

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

  • Vulnerability Details
  • TypePrivilege Escalation

  • Vendor/TechAveva Process Optimization

  • SeverityCRITICAL

  • CVSS Score9.3

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:L/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityHigh
  • CWE References
  • CWE-94
  • Technical References
  • GitHub CSAF File

  • Aveva Product Download

  • CISA ICS Advisory
  • Vendor Resources
  • Aveva Cyber Security Updates
  • Related CVEs
  • CVE-2025-64729: Aveva Process Optimization Escalation Flaw

  • CVE-2025-65117: Aveva Process Optimization Privilege Escalation

  • CVE-2025-65118: Aveva Process Optimization Escalation

  • CVE-2025-61937: Aveva Process Optimization 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