CVE-2026-120094: dotAI embeddings endpoint evaluates user-supplied Velocity as the system user
Improper authorization in the dotAI embeddings endpoint (POST /api/v1/ai/embeddings) in dotCMS before 26.10.23-02 allows any authenticated backend user, without administrator or Scripting Developer rights, to submit a Velocity template that the server evaluates as the system user with the full set of template tools. A low-privilege user can use this to read other accounts' password hashes and configuration secrets, access content with system privileges, and make outbound HTTP requests from the server.
Fixed in 26.10.23-02 and later. The endpoint now requires the CMS Administrator role and refuses other callers before the template is evaluated.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 26.10.23-02 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v26
Event History
Frequently Asked Questions
Which users can exploit this issue?
Any authenticated dotCMS backend user can exploit affected versions. Administrator and Scripting Developer rights are not required on vulnerable releases.
What access does successful exploitation provide?
The supplied Velocity template is evaluated as the system user with the full template-tool set. This can expose other users' password hashes and configuration secrets, permit access to content using system privileges, and enable outbound HTTP requests from the server.
Are versions with the updated endpoint authorization affected?
No. dotCMS 26.10.23-02 and later require the CMS Administrator role for this endpoint and reject other callers before evaluating the template.
What can be done if the affected version cannot be patched immediately?
The provided information identifies authenticated backend access as the prerequisite for exploitation. Restricting backend access to trusted users can reduce exposure, but no specific workaround is provided.