Template editors can read local files and make SSRF requests in dotCMS
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 · None · None
- Fix status
- Fixed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-1336.
Summary
dotCMS versions before 26.08.12-01, from 25.07.10 before 25.07.10_lts_v18, and all 24.12.27 LTS and 24.04.24 LTS releases are affected. The UtilMethods.getURL() method, exposed to Velocity templates, does not restrict URL schemes or destination hosts and returns the response body into the rendered page (CWE-1336). An authenticated back-end user who can edit templates or containers but is not an administrator can read local files the dotCMS service account can access and send full-read requests to loopback, private-network and cloud-metadata addresses.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
Description from the CNA
The UtilMethods.getURL() method, which is exposed to Velocity templates as $UtilMethods, did not restrict the URL scheme or the destination host and returned the response body into the rendered page. In dotCMS versions before 26.08.12-01, 25.07.10 LTS before v18, and all 24.12.27 LTS and 24.04.24 LTS releases, an authenticated back-end user who can edit templates or containers, but is not an administrator, could read any local file the dotCMS service account can access, including process environment data that can expose database, mail, SSO and initial administrator credentials, and could make full-read server-side requests to loopback, private-network and cloud-metadata addresses. Fixed in 26.08.12-01 and later, and in 25.07.10 LTS v18. getURL now accepts only http and https, rejects internal and non-routable resolved addresses, no longer follows redirects, and logs each blocked request.
Why it matters now
SSVC decision points
Not available: CISA has not published SSVC decision points for this record.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| dotCMS | dotCMS | before 26.08.12-01; 25.07.10 to before 25.07.10_lts_v18 | 26.08.12-01, 25.07.10_lts_v18 | Patch available | CNA |
- dotCMS VendordotCMS Affected before 26.08.12-01; 25.07.10 to before 25.07.10_lts_v18 Fixed in 26.08.12-01, 25.07.10_lts_v18 Patch available CNA
Remediation
Upgrade to dotCMS 26.08.12-01 or later, or to 25.07.10_lts_v18. The sources list no fixed version for dotCMS 24.12.27 LTS and 24.04.24 LTS.
Written with Claude Haiku 5.5 from the sources below · 2026-12-04
- Fix · CNA dotCMS (dotCMS) Fixed in 26.08.12-01, 25.07.10_lts_v18
Timeline
- 2026-12-04 Threatist record created from CVE-2026-64886
References
Advisory 1
More dotCMS vulnerabilities
- 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-104432 Velocity sandbox escape in dotCMS lets template authors run code CVSS 4.0CRITICAL 9.4
- 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
Sources
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences