CVE-2026-126099: Velocity sandbox escape to RCE through servlet container objects by a template author

Published Dec 4, 2026
·
Updated

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.

Affected Software

1 affected component
dotCMS dotCMS<=26.11.03-01, =25.07

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 26.11.06-03
  2. Upgrade

    Upgrade to a fixed release to a version that resolves this vulnerability.

    Fixed in 25.07.10 LTS v28

Event History

Dec 4, 2026
CVE Published
via MITRE·08:16 PM
Data Sourced
via MITRE·08:16 PM
RemedyDescriptionWeakness

Frequently Asked Questions

1

Who can exploit this issue?

A back-end user who can edit templates, containers, or widgets can exploit it. The affected permission set does not require the CMS Administrator or Scripting Developer role.

2

What access does an attacker need to achieve code execution?

The attacker needs authenticated back-end access with permission to modify a template, container, or widget. They can then use servlet container objects exposed through request or session objects to create an embedded script interpreter and execute Java code or operating-system commands on the server.

3

Which releases address the issue?

The original exploit chain is blocked from 26.10.19-01. Remaining paths to servlet container objects are closed in 26.11.06-03 and later; affected releases include dotCMS through 26.11.03-01 and the 25.07 LTS line.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203