Velocity sandbox escape to RCE through servlet container objects by a template author
- CVE-2026-126099
- EUVD-2026-144696
Description
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.
Text from the CVE.org record.
Recommendation
dotCMS
- If you run a version before 26.11.06-03update to 26.11.06-03 or later
- If you run a version from 25.07.10 to before 25.07.10_lts_v28update to 26.11.06-03 or laterMajor version change: expect breaking changes
Taken from the version ranges of the CVE.org record. Check the vendor advisory: nothing is said about versions the ranges do not list. Breaking-change risk is read from the version numbers only.
Affected
dotCMS
Affected versions Fixed in before 26.11.06-03 26.11.06-03 from 25.07.10 to before 25.07.10_lts_v28 26.11.06-03
Product versions from the CVE.org record.
Timeline
- Published
Related news
No article from the followed outlets names this vulnerability.