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
    • 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-11165

CVE-2025-11165: dotCMS Velocity Engine RCE Vulnerability

CVE-2025-11165 is a sandbox escape RCE vulnerability in dotCMS Velocity scripting engine that lets authenticated users bypass security restrictions and execute arbitrary system commands. This article covers the technical details, attack vector, impact, and mitigation strategies.

Published: February 27, 2026

CVE-2025-11165 Overview

A sandbox escape vulnerability exists in dotCMS's Velocity scripting engine (VTools) that allows authenticated users with scripting privileges to bypass class and package restrictions enforced by SecureUberspectorImpl. By dynamically modifying the Velocity engine's runtime configuration and reinitializing its Uberspect, a malicious actor can remove the introspector.restrict.classes and introspector.restrict.packages protections.

Once these restrictions are cleared, the attacker can access arbitrary Java classes, including java.lang.Runtime, and execute arbitrary system commands under the privileges of the application process (e.g., dotCMS or Tomcat user).

Critical Impact

Authenticated attackers with scripting privileges can escape the Velocity sandbox to achieve full remote code execution on the underlying server, potentially compromising the entire dotCMS deployment and any connected systems.

Affected Products

  • dotCMS versions with Velocity scripting engine (VTools)
  • Systems running dotCMS on Tomcat application server
  • Any dotCMS deployment with user scripting privileges enabled

Discovery Timeline

  • 2026-02-24 - CVE CVE-2025-11165 published to NVD
  • 2026-02-24 - Last updated in NVD database

Technical Details for CVE-2025-11165

Vulnerability Analysis

This vulnerability represents a critical sandbox escape flaw within the Apache Velocity templating engine as implemented in dotCMS. The Velocity engine uses an introspection mechanism called Uberspect to control which Java classes and methods are accessible from within Velocity templates. The SecureUberspectorImpl class is designed to enforce restrictions by maintaining blacklists of prohibited classes and packages through the introspector.restrict.classes and introspector.restrict.packages configuration properties.

The fundamental weakness lies in the ability for authenticated users with scripting privileges to dynamically modify the Velocity engine's runtime configuration. By manipulating these configuration settings at runtime and reinitializing the Uberspect component, an attacker can effectively clear or bypass the security restrictions intended to prevent access to dangerous Java classes.

Root Cause

The root cause stems from insufficient access controls on the Velocity engine's runtime configuration modification capabilities. The security architecture fails to prevent authenticated users with scripting privileges from altering the introspector restriction settings. When the Uberspect is reinitialized after these modifications, it loads the new (empty or modified) restriction lists, effectively disabling the sandbox protections. This design flaw allows the sandbox escape by treating configuration changes as legitimate operations rather than security-sensitive modifications requiring elevated privileges.

Attack Vector

The attack is network-accessible and requires low-privilege authentication (scripting privileges). An attacker with valid credentials and scripting access can exploit this vulnerability through the following mechanism:

  1. The attacker authenticates to the dotCMS instance and accesses the Velocity scripting functionality
  2. Through the scripting interface, the attacker dynamically modifies the Velocity runtime configuration to clear or modify the introspector.restrict.classes and introspector.restrict.packages properties
  3. The attacker triggers a reinitialization of the Uberspect component, which reloads with the modified (unrestricted) configuration
  4. With restrictions removed, the attacker can now access previously blocked Java classes such as java.lang.Runtime
  5. Using Runtime.getRuntime().exec() or similar methods, the attacker executes arbitrary system commands with the privileges of the dotCMS/Tomcat process

This attack requires no user interaction and can be performed remotely over the network. For detailed technical information, refer to the dotCMS Known Security Issue SI-74.

Detection Methods for CVE-2025-11165

Indicators of Compromise

  • Unexpected modifications to Velocity engine runtime configuration, particularly introspector.restrict.classes or introspector.restrict.packages properties
  • Log entries showing Uberspect reinitialization events outside normal application startup
  • Evidence of java.lang.Runtime, java.lang.ProcessBuilder, or similar dangerous class invocations in Velocity templates
  • Unusual process spawning from the dotCMS or Tomcat process with unexpected command-line arguments
  • Template or script modifications containing references to Java reflection APIs or restricted class access

Detection Strategies

  • Implement application-level logging for all Velocity configuration changes and Uberspect initialization events
  • Monitor for script content containing patterns like Runtime.getRuntime(), ProcessBuilder, or introspector configuration manipulation
  • Deploy file integrity monitoring on Velocity template directories and configuration files
  • Use endpoint detection to identify child processes spawned by the Java/Tomcat process that deviate from normal behavior

Monitoring Recommendations

  • Enable verbose logging for the dotCMS Velocity scripting engine and review logs for suspicious activity patterns
  • Configure SIEM rules to alert on Velocity introspector configuration changes or unusual Uberspect reinitialization events
  • Implement behavioral analysis for the dotCMS application process to detect anomalous system command execution
  • Regularly audit user accounts with scripting privileges and review their template/script activities

How to Mitigate CVE-2025-11165

Immediate Actions Required

  • Review and audit all user accounts with Velocity scripting privileges, restricting access to only essential personnel
  • Disable or limit Velocity scripting functionality until patches can be applied
  • Monitor for indicators of compromise as described above
  • Consider implementing network segmentation to limit the blast radius of potential compromise
  • Apply vendor patches as soon as they become available

Patch Information

Refer to the dotCMS Known Security Issue SI-74 for official patch information and updated versions that address this vulnerability. Organizations should upgrade to the latest patched version of dotCMS as soon as possible.

Workarounds

  • Remove or strictly limit Velocity scripting privileges to only trusted administrators who require this functionality
  • Implement additional access controls at the application or network layer to restrict access to scripting interfaces
  • Deploy a Web Application Firewall (WAF) with rules to detect and block attempts to manipulate Velocity configuration
  • Consider running dotCMS in a containerized environment with reduced privileges to limit the impact of potential exploitation
  • Enable additional logging and monitoring as a compensating control until patches are applied
bash
# Example: Restrict scripting user permissions (consult dotCMS documentation for exact commands)
# Review users with scripting privileges
# Disable scripting access for non-essential accounts
# Enable enhanced logging for Velocity engine activity

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechDotcms

  • SeverityCRITICAL

  • CVSS Score9.4

  • EPSS Probability0.05%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/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-89
  • Technical References
  • dotCMS Known Security Issue SI-74
  • Related CVEs
  • CVE-2022-26352: DotCMS ContentResource API RCE Vulnerability

  • CVE-2025-8311: dotCMS Boolean-Based Blind SQLi Vulnerability
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