CVE-2026-120105: Content search permission filter bypass through a crafted query
Improper neutralization of special characters in the content search query builder (ESContentletAPIImpl permission filtering) in dotCMS through 26.10.29-01 allows a caller to craft a Lucene query that turns the permission clause dotCMS appends to every non-administrator search into an optional clause. Search paths that rely on that clause can then return live content the caller has no READ permission on, including content restricted to specific roles. The content search APIs accept anonymous callers under the default CONTENTAPISALLOWANONYMOUS=READ setting, and non-administrator back-end users are affected the same way. Fixed in 26.11.02-01 and later: the caller's query is now normalized before any permission clause is appended.
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.02-01 - Upgrade
Upgrade to a fixed release to a version that resolves this vulnerability.
Fixed in 25.07.10
Event History
Frequently Asked Questions
Who can exploit this issue?
Anonymous callers can exploit affected content search APIs when CONTENT_APIS_ALLOW_ANONYMOUS is set to its default value of READ. Non-administrator back-end users can also exploit it through affected search paths.
What access does an attacker need?
The attacker needs access to a content search API or search path that relies on the vulnerable permission clause. They must submit a crafted Lucene query that makes the appended permission clause optional.
What content could be exposed?
Affected searches can return live content for which the caller does not have READ permission. This includes content restricted to specific roles.
Are default configurations affected?
Yes. The default CONTENT_APIS_ALLOW_ANONYMOUS=READ setting permits anonymous callers to use the content search APIs, making those APIs exposed to this issue on affected versions.
What version fixes the issue?
dotCMS 26.11.02-01 and later fixes the issue by normalizing the caller's query before appending the permission clause.