CVE-2026-132105: Encrypted secrets decryptable by template authors through the Velocity crypt tool
Missing authorization in the $crypt Velocity view tool (CryptWebAPI) in dotCMS versions before 26.11.17-01 allows any back-end user who can author Velocity that renders, such as widget, template, container or VTL file code, without the Scripting Developer role, to decrypt any value that dotCMS stores encrypted with the instance company key. This includes push publishing endpoint authentication keys, which give access to the receiving side of other push publishing environments. The tool could also be used as a general encryption and decryption oracle for the company key.
Fixed in 26.11.17-01 and later. $crypt.decrypt now only works in code last saved by a user with the Scripting Developer role, the same rule already applied to other restricted tools; Velocity with no recorded author, such as content fields rendered on a page, can no longer decrypt. Encryption with $crypt.crypt is unchanged.
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.11.17-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v29
Event History
Frequently Asked Questions
Who can exploit this issue?
Any back-end dotCMS user who can author Velocity that renders—such as widget, template, container, or VTL file code—can exploit it. The user does not need the Scripting Developer role in affected versions.
What secrets or access could be exposed?
An attacker can decrypt any value encrypted with the instance company key. This includes push publishing endpoint authentication keys, which can provide access to the receiving side of other push publishing environments.
Are Velocity content fields without a recorded author affected after the fix?
No. In 26.11.17-01 and later, $crypt.decrypt is allowed only in code last saved by a user with the Scripting Developer role, and Velocity with no recorded author, such as content fields rendered on a page, cannot decrypt.
Does the fix restrict all uses of the crypt tool?
No. The authorization change applies to $crypt.decrypt. Encryption using $crypt.crypt is unchanged.