CVE-2026-132096: Path traversal in legacy DWR content save methods allows file deletion and copying
Path traversal in the legacy DWR methods CalendarAjax.saveEvent and ContentletAjax.saveContent in dotCMS versions before 26.11.17-01 allows any authenticated back-end user, with no portlet access, to use an unsanitized form field name to escape the user's temporary upload folder. Through CalendarAjax.saveEvent this deletes a file elsewhere on the server that the dotCMS process can write, and through ContentletAjax.saveContent it copies a file from outside the temporary folder into the asset store. Exploitation requires that the user's per-field temporary upload folder already exists on the server.
Fixed in 26.11.17-01 and later. CalendarAjax.saveEvent has been removed from the DWR interface, and ContentletAjax.saveContent only looks up a staged file for fields that are real binary fields.
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
Which users can exploit this issue?
Any authenticated dotCMS back-end user can exploit the affected legacy DWR methods. The user does not need portlet access.
Is a default installation necessarily exploitable?
Exploitation additionally requires that the user's per-field temporary upload folder already exists on the server. If that folder does not exist for the user and field, the stated prerequisite is not met.
What impact can an attacker achieve through each affected method?
CalendarAjax.saveEvent can delete a file outside the temporary upload folder, provided the dotCMS process has write access to that file. ContentletAjax.saveContent can copy a file from outside that folder into the asset store.
How can exposure be removed or reduced?
Upgrade to dotCMS 26.11.17-01 or later. In the fixed behavior, CalendarAjax.saveEvent is removed from the DWR interface and ContentletAjax.saveContent only retrieves staged files for genuine binary fields.