Summary
django CMS: Missing authorization in renderobjectstructure discloses non-PageContent placeholder structure to low-privileged staff
The django-cms frontend-editing structure endpoint
GET /<lang>/admin/cms/placeholder/object/<content_type_id>/structure/<object_id>/
did not perform an object-level authorization check for non-PageContent objects. Any authenticated, active staff user could request the structure endpoint for a frontend-editable object (a model using PlaceholderRelationField) and read its placeholder/plugin structure, even without permission to change that object and without the cms.use_structure permission that the toolbar UI requires before offering structure mode.
PageContent objects were already protected (a page-view check added in GHSA/PR #8644); this advisory covers the remaining non-PageContent branch of the same view.
Severity
The issue is staff-gated and read-only, disclosing CMS structure metadata (placeholder slot names, plugin tree, plugin identifiers/labels, object existence) rather than write access or arbitrary field data.
Affected versions
- django-cms
>= 4.0.0, <= 5.0.xand5.1.0a1
(the vulnerable non-PageContentbranch was introduced with the frontend-editing endpoints in 4.0)
Patched versions
- django-cms TODO: 5.0.9
Preconditions
- An authenticated, active staff account (
is_staff=True). - The deployment exposes a non-
PageContentmodel with django-cms placeholders / frontend editing (e.g. viaPlaceholderRelationField). - The attacker can guess or enumerate the target
content_type_idand object id. - The attacker needs no model/object change permission and no
cms.use_structurepermission.
Proof of concept
Using django-cms' own test model placeholder_relation_field_app.FancyPoll (a non-PageContent model with a PlaceholderRelationField):
target = FancyPoll.objects.create(name="private-fancy-poll")
placeholder = rescan_placeholders_for_obj(target)["content"]
attacker = self._create_user("low_staff", is_staff=True, is_superuser=False)
# attacker has neither change_fancypoll nor cms.use_structure
with self.login_user_context(attacker):
response = self.client.get(get_object_structure_url(target, language="en"))
# Before fix: HTTP 200, body contains '"placeholder_id": "<pk>"'
# After fix: HTTP 404, structure not disclosed
Workarounds
No configuration workaround. Deployments that do not register any non-PageContent
frontend-editable model are not affected. Otherwise, upgrade to a patched release.
Credit
Reported by doanmanhducz.
Impact
A low-privileged staff user can read the editorial placeholder/plugin structure of non-PageContent objects they are not authorized to edit through the toolbar. Depending on the installed plugins and templates this may reveal placeholder names, plugin layout, plugin identifiers and the existence of objects owned by other staff users or teams. This is most relevant for deployments using third-party or custom django-cms apps that expose frontend-editable objects outside the page tree.
The application does not perform an authorization check before performing a sensitive operation. Typical impact: unauthorized access to restricted functionality or data.
CVE-2026-61663 has a CVSS score of 4.3 (Medium). The vector is network-reachable, low privileges required, and no user interaction. A CVSS score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether this affects your application depends on whether the vulnerable code is present and reachable in your environment. A fixed version is available (5.0.9); upgrading removes the vulnerable code path.
Affected versions
Security releases
Kodem intelligence
Severity tells you how bad this could be in the worst case. It does not tell you whether you are exposed. Exploitability and impact are functions of runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A vulnerable package can sit in your dependency tree and never run.
Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter. Kodem's runtime-powered SCA identifies whether this CVE is reachable in your applications.
Already deployed Kodem?
See it in your environmentNew to Kodem? Get a demo →Remediation advice
render_object_structure now authorizes the non-PageContent branch, mirroringPlaceholder.has_change_permission at the object level (honouring a customhas_placeholder_change_permission hook, otherwise falling back to the model/object
change permission) and returning 404 when the user is not authorized:
else:
content_type_obj = content_type.get_object_for_this_type(pk=object_id)
if not _can_change_placeholder_object(request.user, content_type_obj):
raise Http404
Frequently Asked Questions
- What is CVE-2026-61663? CVE-2026-61663 is a medium-severity missing authorization vulnerability in django-cms (pip), affecting versions < 5.0.9. It is fixed in 5.0.9. The application does not perform an authorization check before performing a sensitive operation.
- How severe is CVE-2026-61663? CVE-2026-61663 has a CVSS score of 4.3 (Medium). This score reflects the worst-case severity of the vulnerability, not your specific exposure. Whether it represents real risk in your environment depends on whether the vulnerable code is present and reachable.
- Which versions of django-cms are affected by CVE-2026-61663? django-cms (pip) versions < 5.0.9 is affected.
- Is there a fix for CVE-2026-61663? Yes. CVE-2026-61663 is fixed in 5.0.9. Upgrade to this version or later.
- Is CVE-2026-61663 exploitable, and should I be worried? Whether CVE-2026-61663 is exploitable in your environment depends on whether the vulnerable code is present and reachable. A CVSS score is a worst-case rating; it does not account for your specific deployment, configuration, or usage patterns. Kodem, an Intelligent Application Security platform, uses runtime intelligence to show which vulnerabilities actually execute in production, so you can focus on the ones that represent real risk. Get a demo
- What actually determines whether CVE-2026-61663 is exploitable, and how bad it is? Exploitability and impact are not fixed properties of a CVE. They depend on runtime truth: whether the vulnerable code is present, reachable, and actually executes in your application. A high CVSS score on a dependency that never runs is not the same as real risk. Kodem, an Intelligent Application Security platform, uses runtime intelligence to reveal which vulnerabilities actually execute in production, so teams prioritize the ones that genuinely matter.
- How do I fix CVE-2026-61663? Upgrade
django-cmsto 5.0.9 or later.