Description
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.
Published: 2026-12-04
Score: 8.3 High
EPSS: n/a
KEV: No
AI Analysis

Analysis and contextual insights are available on OpenCVE Cloud.

Remediation

Vendor Solution

Upgrade to dotCMS 26.08.12-01 or later, or to 25.07.10 LTS v18 or later.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 04 Dec 2026 19:15:00 +0000

Type Values Removed Values Added
Description 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.
Title File read and SSRF by a non-admin template author
Weaknesses CWE-1336
References
Metrics cvssV4_0

{'score': 8.3, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:N/VA:N/SC:H/SI:N/SA:N'}


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: dotCMS

Published:

Updated: 2026-12-04T19:09:44.206Z

Reserved: 2026-07-20T19:44:55.712Z

Link: CVE-2026-64886

cve-icon Vulnrichment

No data.

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

No data.

Weaknesses
  • CWE-1336

    Improper Neutralization of Special Elements Used in a Template Engine