CVE-2026-126099
Velocity sandbox escape to RCE through servlet container objects by a template author
Overview
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.
Severity
| Score | Severity | Version | Technologies Affected |
|---|---|---|---|
| 9.4 | CRITICAL | 4.0dotCMS (CNA) | dotCMS |
Details
- CVE ID
- CVE-2026-126099
- Status
- Received
- Assigner (CNA)
- dotCMS
- Published
- Dec 4, 2026
- Last modified
- Dec 4, 2026, 9:17 PM UTC
- Weaknesses
- CWE-1336 · Improper neutralization in a template engine (SSTI) · OWASP A03:2021 Injection
Affected Products
As published by the CNA in the CVE record.
dotCMSdotCMS2 version ranges
- before 26.11.06-03
- 25.07.10 before 25.07.10_lts_v28