External risk intelligence

dotCMS Velocity Template Sandbox Restricted Check Vulnerability

CVE advisorySeverity: CRITICAL (CVSS 9.4)

CVE-2026-64884

The vulnerability requires the attacker to be an authenticated back-end user with permissions to execute Velocity scripts. While dotCMS is a web-based platform, this specific attack vector is constrained to users already possessing administrative or script-execution access within the back-end, making public-internet exposure of this specific interface uncommon.

Halo Surface Signal: 2 out of 5 — less likely to be public-facing.

External exposure likelihood

Horizon Alert

Summary of the vulnerability and why it matters

This advisory concerns a vulnerability within dotCMS, a content management system, that could allow authenticated users, even without full administrator rights, to execute commands and access sensitive files on the server. The issue stems from an incomplete security check within the template processing, potentially enabling unauthorized actions if a user can run scripts.

  • Authenticated users can run scripts to access server files.
  • Critical impact: access to secrets and OS commands.
  • Confirm relevance and exposure of authenticated script execution.

Attack Path

How an attacker could exploit the issue

An attacker who can run Velocity scripts, even without full administrator rights, can exploit a flaw in the template sandbox to interact with sensitive system resources. This allows them to read or write any file accessible by the dotCMS service, potentially compromising secrets and executing commands on the server.

  • Authenticated back-end user access required.
  • Calling methods on file and I/O objects.
  • Server command execution and file access risk.

Live Threat

Current exploitation, exposure, and threat context

This vulnerability could allow an authenticated user, who can run Velocity scripts, to execute operating system commands on the server and read or write any file accessible by the dotCMS service account. This could affect system integrity, stored secrets, and sensitive files when supported by the advisory.

  • System files and secrets are at risk.
  • Unrestricted script execution could lead to compromise.
  • Full server access and data exfiltration are possible.

Operational Fix

Recommended remediation, mitigation, and detection steps

The dotCMS application owner and infrastructure team are likely responsible for addressing this vulnerability. The first practical step is to identify all dotCMS instances, confirm their reachability and business criticality, and then engage the platform team to plan remediation during the next maintenance window.

  • Application and infrastructure teams own this.
  • Verify dotCMS instance reachability and criticality.
  • Plan remediation with the platform team.

Supplementary metadata

Validate whether this threat affects your internet-facing exposure.

Halo Threat Intelligence helps prioritize remediation with Halo Surface Signal and H/A/L/O context. Start exposure validation with a free external attack surface trial.

Frequently asked questions

What is dotCMS?

dotCMS is a content management system used to build and manage digital experiences across websites and applications. It allows developers and content creators to organize data and media, often using Velocity templates to dynamically generate page content for users.

What does CVE-2026-64884 mean for the Velocity sandbox?

This CVE highlights a failure in the sandbox’s protection mechanism, classified as CWE-693 (Protection Mechanism Failure). It means the sandbox is not correctly limiting which code functions a Velocity script can call, allowing scripts to bypass restrictions intended to keep them from accessing core system files or running server commands.

How is this dotCMS vulnerability triggered?

An attacker must be an authenticated back-end user who already has the permissions to execute Velocity scripts. Simply browsing the website or using public-facing forms does not trigger the bug; the attacker must have a specialized account level that allows them to interact with the template engine directly.

Do I need to worry if my dotCMS instance is internal?

Yes, but context matters. According to Halo Surface Signal, this risk is considered 'Unlikely' for public exposure because it requires an attacker to be an authenticated back-end user. However, if an internal user with script execution rights is compromised, the impact remains severe, as they could access sensitive secrets or system files.

How should I respond to CVE-2026-64884?

Your first step is to identify all running instances of dotCMS within your environment and determine their current version. Coordinate with your platform or infrastructure team to schedule an update to version 26.09.23-01, or the 25.07.10 LTS v21 release, which contain the security patches needed to close these forbidden method calls.

References