Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessAuthenticate as low-privileged staff user
-
ExploitEnumerate target version primary key
-
ExecutionPOST to discard/edit_redirect admin URL
-
ImpactDelete victim draft or fork published content
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V8 - Authorization Object-level authorization, IDOR prevention
|
| Exploitation Conditions | Requires an authenticated staff account on a django CMS 4+ site running djangocms-versioning <= 2.6.0 (multi-editor setups where staff hold differentiated per-object permissions). Under CMS_PERMISSION=True the discard_view/edit_redirect_view admin URLs are gated only by is_staff, so any staff user can act on any version by its primary key; under the default CMS_PERMISSION=False the attacker additionally needs the global Django change_<model> permission (e.g. cms.change_page), which still fails to enforce per-object authorization. Limiting factors: a staff login is mandatory (not unauthenticated), impact is confined to content integrity/availability (delete drafts/content objects, fork published versions), and there is no confidentiality exposure; the changelist UI hides the action buttons but the admin URLs remain directly reachable. The only fix is upgrading to 2.6.1 - the advisory states there is no configuration-only workaround beyond restricting staff accounts to trusted users. |
| Impact | This is a genuine but bounded authorization-bypass (IDOR / missing object-level permission, CWE-639/CWE-862) requiring an authenticated attacker, not an internet-facing unauthenticated flaw. The provided CVSS 3.1 vector (AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H, base 6.5) agrees with the description that attacks are remote and low-complexity with no user interaction, but its PR:H rating understates reality: the GHSA advisory states the gate reduces to is_staff under CMS_PERMISSION=True (any staff user) and to the global change_<model> permission under the default CMS_PERMISSION=False - i.e. a LOW-privileged staff user, which is closer to PR:L than PR:H. No EPSS score, KEV listing, or working exploit code is present in the input; exploitation status is therefore 'no public exploit identified at time of analysis', and the vuln.today decision label is 'this_month' (not act_now/emergency). Net: real priority for multi-editor django CMS deployments where staff hold differentiated per-object permissions, but low mass-exploitation risk because it needs an existing staff foothold and only affects content integrity/availability, not confidentiality or system compromise. |
| Exploit ScenarioDerived | In a multi-editor django CMS site, a low-privileged staff user who can only edit their own pages logs into the admin and directly requests the discard or edit_redirect admin URL with the primary key of a version they do not own. Because discard_view/edit_redirect_view authorize only through Conditions that omitted user_can_change, the server deletes another editor's draft version (and its underlying content object) or forks an editable draft from a published page. No public working exploit is identified, but the attack is a trivial direct object reference (crafted admin POST) with no special tooling required. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Nov 18, 2026
Missing object-level authorization in djangocms-versioning before 2.6.1 allows an authenticated staff user on a django CMS 4+ site to act on draft and published versions they have no change permission for, by supplying a version primary key directly to the admin discard and edit-redirect endpoints. Under CMS_PERMISSION=True the gate collapses to is_staff alone, so any staff account can delete a draft version together with its underlying content object, or fork an editable draft from someone else's published version; under the default CMS_PERMISSION=False the attacker additionally needs the global Django change_<model> permission, which still does not enforce the intended per-object check. Impact is limited to content integrity and availability (no confidentiality exposure) and a staff login is mandatory; no public exploit code has been identified at time of analysis, and the issue is not in CISA KEV. Priorities place this in the this-month remediation window, with upgrading to 2.6.1 as the only complete fix.
RemediationAI
Upgrade djangocms-versioning to 2.6.1 or later (release tag https://github.com/django-cms/djangocms-versioning/releases/tag/2.6.1); the fix is the upstream change at https://github.com/django-cms/djangocms-versioning/pull/573 / commit d8c570daa5f7805e8be51f15545fe77b24c44daf, which adds the user_can_change condition to check_discard and check_edit_redirect so discard and edit-redirect require per-object change permission like the other transitions, and the vendor advisory is https://github.com/django-cms/djangocms-versioning/security/advisories/GHSA-5g9x-qwh5-33x4. Per the advisory there is no configuration-only workaround: operators who cannot upgrade immediately should restrict staff accounts to trusted users, because with CMS_PERMISSION=True the missing gate reduces to is_staff, and setting CMS_PERMISSION=False only narrows the requirement to a global model-level change_<model> permission without restoring per-object authorization while also changing permission behaviour site-wide, so it is not a substitute for the patch. No vendor-released patch exists for versions 2.6.0 and earlier other than the 2.6.1 upgrade.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 1 package in pypi
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
djangocms-versioning is a Python/Django versioning layer for django CMS 4 and later, where content mutations are modelled as version state transitions. Each transition is guarded by a Conditions object declared on djangocms_versioning.models.Version; content-mutating transitions such as archive, publish, unpublish and revert all include the user_can_change condition, which delegates to the content object's own permission check (Version.has_change_permission, falling back to has_placeholder_change_permission and finally the Django change_<model> permission). The check_discard and check_edit_redirect condition lists omitted user_can_change, and the corresponding admin views (VersionAdmin.discard_view and VersionAdmin.edit_redirect_view) authorize exclusively through those conditions: they fetch the target with the stock ModelAdmin.get_object backed by an unfiltered default queryset, and are registered via admin_site.admin_view, which enforces only is_staff. discard_view also deletes the version directly via version.delete() without consulting VersionAdmin.has_delete_permission or ALLOW_DELETING_VERSIONS. The result is a classic CWE-639 insecure direct object reference compounded by CWE-862 missing authorization: the changelist action buttons are hidden client-side via check_discard.as_bool / check_edit_redirect.as_bool, but the admin URLs remain directly reachable. The trigger is a crafted request to those admin endpoints with an arbitrary version primary key; the fix in 2.6.1 adds user_can_change to both condition lists (discard deliberately requires change, not delete, permission, since it is treated as undoing changes to a draft).
Know when Django Cms gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Remote admin URL, no user interaction, but an authenticated low-privileged staff account is required (PR:L, per advisory is_staff/model-level gate); unauthorized content/draft deletion gives I:H and A:H with no confidentiality impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.org
djangocms-versioning is a general-purpose versioning package for django CMS 4 and later. Prior to 2.6.1, the check_discard and check_edit_redirect Conditions on djangocms_versioning.models.Version omit user_can_change, while VersionAdmin.discard_view and VersionAdmin.edit_redirect_view obtain a version by its primary key and rely on those conditions for object-level authorization. With CMS_PERMISSION set to True, the affected views are gated only by is_staff, allowing any staff user to select content without object-level change permission. With the default CMS_PERMISSION value of False, a staff user must also hold the global Django change_ permission, but that model-level permission does not enforce the intended per-object authorization, so the user can delete a draft version and its content object through discard or create an editable draft from a published version through edit_redirect even when the user cannot change that specific content object. This issue is fixed in version 2.6.1.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
More in Django Cms
View allContent exfiltration in django CMS prior to 5.0.9 allows any authenticated staff user holding only page-add permission t
Improper Neutralization of Input During Web Page Generation (XSS or 'Cross-site Scripting') vulnerability in django CMS
Cross-site request forgery (CSRF) vulnerability in django CMS before 3.0.14, 3.1.x before 3.1.1 allows remote attackers
Missing object-level authorization in django CMS's `render_object_structure` endpoint exposes CMS structure metadata of
Unauthorized page-content disclosure in django CMS prior to 5.0.8 allows any staff account to retrieve the plugin struct
Unauthorized content disclosure in django CMS prior to 5.0.8 allows authenticated staff users to exfiltrate plugin conte
Stored XSS in django CMS 5.0.8 allows an authenticated editor to execute arbitrary HTML in other staff users' browsers v
Authenticated Django admin staff holding the model-level view_collectioncomment or view_requestcomment permission can re
EUVD-2026-129274
GHSA-5g9x-qwh5-33x4
NVD
CVE.org
EPSS
Exploit-DB