CVE-2026-69138: djangocms-versioning Insecure Direct Object Reference
Published 2026-11-18 · Updated 2026-11-19 · Source security-advisories@github.com
Not known to be exploited · medium severity — update djangocms-versioning to 2.6.1 or later on your normal schedule.
What to do
- Update djangocms-versioning to version 2.6.1 or later. Versions before 2.6.1 are affected.
- Until it is patched, restrict network access to djangocms-versioning and review which accounts can log in to it.
- Review access logs for requests that walk through identifiers, and restrict the affected endpoint.
Affected and fixed versions
| Product | Affected | Fixed in |
|---|---|---|
| djangocms-versioning | < 2.6.1 | 2.6.1 |
Derived by HackerFeeds from the advisory text, CVSS vector and weakness class. Confirm versions against the vendor advisory before acting.
How it can be exploited
It can be exploited remotely over the network; the attacker needs administrative privileges, and no action by a victim is required. Attack complexity is low, so a working exploit is expected to be reliable. The impact on integrity and availability is rated high.
| Attack vector | Network | It can be exploited remotely over the network. |
|---|---|---|
| Attack complexity | Low | No special conditions are needed; the attack is repeatable. |
| Privileges required | High | The attacker needs administrative privileges. |
| User interaction | None | No action by a victim is needed. |
| Confidentiality | None | No effect on confidentiality. |
| Integrity | High | Total loss of integrity. |
| Availability | High | Total loss of availability. |
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Weakness: Insecure Direct Object Reference
Description
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.
Advisory text as published in the NVD record.
References
- Patchhttps://github.com/django-cms/djangocms-versioning/commit/d8c570daa5f7805e8be51f15545fe77b24c44daf
- Patchhttps://github.com/django-cms/djangocms-versioning/pull/573
- Patchhttps://github.com/django-cms/djangocms-versioning/releases/tag/2.6.1
- Advisoryhttps://github.com/django-cms/djangocms-versioning/security/advisories/GHSA-5g9x-qwh5-33x4