CVE-2026-126114: Restricted related content exposed through the shared content cache
Use of a shared cache containing sensitive information in the content REST API in dotCMS through 26.11.03-01 allows later readers of a contentlet to receive the related content that an earlier, more privileged user loaded for it. When a user read content with related content included (GET /api/v1/content/{id}?depth=N, which the content editor requests whenever an editor opens existing content), the related contentlets as that user saw them, including items others may not read, unpublished drafts and never-published content, were written into the cached copy of the contentlet. Every later reader of that contentlet through the content REST endpoints or content search then received them until the entry left the cache. Under the default anonymous content API setting (CONTENTAPISALLOWANONYMOUS=READ) no authentication is required; otherwise any authenticated user who can read the parent contentlet can see the leaked data. Fixed in 26.11.06-03 and later: reading related content no longer changes the cached contentlet.
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.06-03 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10 LTS v28
Event History
Frequently Asked Questions
Who can retrieve the leaked related content?
With the default CONTENT_APIS_ALLOW_ANONYMOUS=READ setting, anyone can retrieve it without authentication. If anonymous API access is disabled, any authenticated user who can read the parent contentlet can receive the cached related content.
What must happen before data can be exposed?
A more privileged user must first read a contentlet with related content included, such as through GET /api/v1/content/{id}?depth=N. This can occur when an editor opens existing content; the related content visible to that user is then stored in the shared cached copy.
How long does the exposure last and where can it be observed?
The exposure persists until the affected cache entry leaves the cache. Later readers can receive the data through content REST endpoints or content search.
What versions address the issue?
The issue is fixed in dotCMS 26.11.06-03 and later. In the fixed versions, reading related content no longer modifies the cached contentlet.