CVE-2026-64884: Velocity sandbox escape to RCE by a non-admin backend user
An incomplete restricted-class check in the Velocity template sandbox (SecureIntrospectorImpl) in dotCMS versions before 26.09.23-01 (25.07.10 LTS before v21) allows an authenticated back-end user who can run Velocity scripts, without administrator rights, to call methods on file-system, I/O stream and network-resource objects. The user can read and write any file the dotCMS service account can access, including signing keys and stored secrets, and execute operating-system commands on the server. This issue is distinct from SI-74. Fixed in 26.09.23-01 and later, and in 25.07.10 LTS v21. The sandbox now denies method calls on the file, path, stream, channel, file-system, URL and URI type families, including their subclasses and platform implementations.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.09.23-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v21
Event History
Frequently Asked Questions
Who can exploit this issue?
An authenticated dotCMS back-end user who is permitted to run Velocity scripts can exploit it; administrator rights are not required. Systems without such users or permissions are not exposed through this path.
What access could an attacker gain on a vulnerable server?
The attacker can read or write any file accessible to the dotCMS service account, including stored secrets and signing keys, and can execute operating-system commands on the server. The effective impact is therefore bounded by the permissions of that service account.
Which releases contain the fix?
The issue is fixed in dotCMS 26.09.23-01 and later, and in 25.07.10 LTS v21. Earlier versions in those release lines are affected.
What can be done if upgrading cannot happen immediately?
Restrict the ability to run Velocity scripts to only fully trusted back-end users. Because exploitation requires an authenticated back-end user with that capability, removing or tightly limiting that permission reduces exposure.