CVE-2026-120104: Restricted related content readable through the content relationships API
Improper authorization in the deprecated content relationships REST endpoint (/api/v1/contentrelationships) in dotCMS through 26.10.28-02 allows any caller who can read a contentlet to retrieve the full field values of every contentlet related to it, including related content the caller has no READ permission on and draft or never-published versions. The related records were loaded without applying the caller's permissions. Under the default anonymous content API setting (CONTENTAPISALLOWANONYMOUS=READ) no authentication is required; otherwise any authenticated user can exploit it. Fixed in 26.10.28-03 and later: the endpoint now returns only the related content the requesting user may read, and anonymous and front-end callers receive only published versions.
Affected Software
Remediation
Recommended actions to resolve this vulnerability, in priority order.
- Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in 26.10.28-03 - Upgrade
Upgrade
dotCMSto a version that resolves this vulnerability.Fixed in 25.07.10 LTS v26
Event History
Frequently Asked Questions
Who can exploit this endpoint in a typical deployment?
When CONTENT_APIS_ALLOW_ANONYMOUS is set to READ, any unauthenticated caller can exploit it. If anonymous content API access is not enabled, any authenticated user who can read a contentlet can retrieve its related content.
What information can be exposed?
A caller can retrieve full field values for every contentlet related to a contentlet they can read, even when they lack READ permission for the related records. This includes draft and never-published related versions.
Which versions contain the fix?
The issue is fixed in dotCMS 26.10.28-03 and later. The corrected endpoint filters related content by the requesting user's read permissions and limits anonymous and front-end callers to published versions.