Read the docs

Velocity sandbox escape in dotCMS lets template authors run code

Priority MEDIUM 56CWE-1336Published · Updated

Key facts

Attack vector
Network
Privileges required
Low
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.

Summary

dotCMS versions before 26.11.06-03 and 25.07.10 LTS versions before 25.07.10_lts_v28 contain a flaw in the Velocity template sandbox that lets templates reach servlet container internals through request and session objects. This is an improper neutralization of special elements in a template engine (CWE-1336). An authenticated back-end user who can edit templates, containers or widgets, without the CMS Administrator or Scripting Developer role, can run arbitrary Java code and operating system commands on the server.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

Description from the CNA

The Velocity template sandbox (SecureIntrospectorImpl) in dotCMS through 26.11.03-01, and in the 25.07 LTS line, did not stop templates from reaching servlet container internals through the request and session objects. A back-end user who can edit templates, containers or widgets, without the CMS Administrator or Scripting Developer role, could use a container object to create an embedded script interpreter and run arbitrary Java code and operating system commands on the server. The original chain is blocked from 26.10.19-01; the remaining routes to the container objects are closed in 26.11.06-03 and later, where templates can no longer unwrap the request, response or session or call methods on servlet container, script interpreter, CDI, EL or JSP types.

Why it matters now

Fix Fixed dotCMS (dotCMS): 26.11.06-03, 25.07.10_lts_v28

SSVC decision points

Not available: CISA has not published SSVC decision points for this record.

Affected products

VendorProductAffected versionsFixed inStatusSource
dotCMSdotCMSbefore 26.11.06-03; 25.07.10 to before 25.07.10_lts_v2826.11.06-03, 25.07.10_lts_v28Patch availableCNA
  • dotCMS VendordotCMS Affected before 26.11.06-03; 25.07.10 to before 25.07.10_lts_v28 Fixed in 26.11.06-03, 25.07.10_lts_v28 Patch available CNA

Remediation

Upgrade dotCMS to 26.11.06-03 or later, or upgrade the 25.07 LTS line to 25.07.10_lts_v28 or later.

Written with Claude Haiku 5.5 from the sources below · 2026-12-04

  • Fix · CNA dotCMS (dotCMS) Fixed in 26.11.06-03, 25.07.10_lts_v28

Fixed in the same release

Records fixed by the same vendor advisory or release, as the CNA lists them.

  • Release ·

    dotCMS 25.07.10_lts_v28, 26.11.06-03

    6 records Highest priority Priority MEDIUM 5 MEDIUM, 1 LOW

    Other records, highest priority first

    • TI-2026-104444 Restricted related content exposed through the shared content cachePriority MEDIUM 51
    • TI-2026-104443 Scheduled content import in dotCMS runs with system user privilegesPriority MEDIUM 46
    • TI-2026-104429 dotCMS authentication bypass exposes back-end pages to anonymous usersPriority MEDIUM 46

Timeline

  1. 2026-12-04 Threatist record created from CVE-2026-126099

References

  • TI-2022-09726 Directory traversal in dotCMS ContentResource API allows file upload KEVCVSS 3.1CRITICAL 9.8
  • TI-2020-05479 dotCMS before 5.2.4 is vulnerable to directory traversal, leading to incorrect access… CVSS 3.1CRITICAL 9.8
  • TI-2026-104360 Remote code execution in dotCMS through push publishing CVSS 4.0CRITICAL 9.4
  • TI-2026-104356 Velocity sandbox escape in dotCMS allows command execution CVSS 4.0CRITICAL 9.4
  • TI-2026-104355 RCE via WebDAV path traversal by any authenticated user CVSS 4.0CRITICAL 9.4
  • TI-2026-104438 Authentication bypass in dotCMS native password check CVSS 4.0CRITICAL 9.2
See all 167 →

Sources

This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences