Skip to main content

djangocms-versioning CVE-2026-69138

| EUVDEUVD-2026-129274 MEDIUM
Authorization Bypass Through User-Controlled Key (CWE-639)
2026-11-18 GitHub_M GHSA-5g9x-qwh5-33x4
6.5
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Authenticate as low-privileged staff user
  2. Exploit
    Enumerate target version primary key
  3. Execution
    POST to discard/edit_redirect admin URL
  4. Impact
    Delete 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.5% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

djangocms-versioning < 2.6.1

Affected Packages

pypi djangocms-versioning fix: 2.6.1

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

Vendor (GitHub_M) PRIMARY 6.5 MEDIUM
AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
vuln.today AI 8.1 HIGH

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.

3.1 AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
4.0 AV:N/AC:L/AT:N/PR:L/UI:N/VC:N/VI:H/VA:H/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
High
User Interaction
None
Scope
Unchanged
Confidentiality
None
Integrity
High
Availability
High

Lifecycle Timeline

1
Patch available
Nov 18, 2026 - 22:03 EUVD

DescriptionCVE.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

EPSS Score
0.5%
Top 59% exploitable
Prevalence
Low
niche versioning add-on for django CMS 4+, limited multi-editor deployments
Threat Intel
1
1 source
Exploit
POC
Public exploit code exists
Data Quality
5 sources
Confidence: Medium

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC Yes
EPSS 0.5%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation· derived
Poc
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

52
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +32
PoC: +20
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy