CVE-2026-126099
9.4CriticalPublished Dec 4, 2026 · NVD status: Received · AI triage by gemini-3.1-flash-lite
Critical
0CVSS v4.010
- Attack vector
- Network
- Complexity
- Low
- Privileges
- Low
- User action
- None
- Impact
- Full C/I/A compromise
- Weakness
- CWE-1336
What an attacker gets
Authenticated attackers can execute arbitrary Java code and OS commands on the server. This requires access to edit templates, containers, or widgets.
Root cause
The Velocity template sandbox fails to restrict access to servlet container internals, allowing templates to unwrap request and session objects.
Affected versions
dotCMS through 26.11.03-01 and the 25.07 LTS line
CVSS v4.0 · CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
Fix & remediation
Upgrade to dotCMS 26.11.06-03 or later. Restrict template, container, and widget editing permissions to trusted users only.
AI-suggested. Run it in staging first and check it against the vendor advisory. Why?
NVD 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.
References
Related Critical CVEs
More fully triaged vulnerabilities you may want to check next.
- CVE-2026-1321158.6HighAuthenticated users can escalate to CMS Administrator privileges and execute arbitrary code on the server. This requires access to the Users portlet.
- CVE-2026-1321017.1HighAuthenticated back-end users can create unauthorized content or overwrite page layouts across the entire instance. This bypasses site-specific permission restrictions.
- CVE-2026-1321097.6HighAuthenticated back-end users can delete any content item or download unauthorized binary files. This requires the attacker to have the ability to set attributes in their own HTTP session, such as via authored Velocity code.
- CVE-2026-1321107.1HighAuthenticated users without the Scripting Developer role can execute restricted Velocity tools to access sensitive secrets or database content. An attacker needs a backend account with permission to author Velocity code.
- CVE-2026-1321117.7HighAuthenticated users can escalate privileges to CMS Administrator. This requires an account on the system and the LDAP pre-authenticator enabled.
- CVE-2026-1320988.7HighAuthenticated attackers with bundle upload or push publishing access can execute arbitrary code as the dotCMS service account. This is possible because the application deserializes untrusted data without enforcing a type whitelist.