Read the docs

Authorization bypass in djangocms-versioning lets staff discard or edit content

Priority LOW 30CWE-639Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Impact type
Security bypass
Confidentiality · integrity · availability
None · High · High
Fix status
Fixed

Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-639.

Summary

djangocms-versioning before 2.6.1 lets staff users bypass per-object authorization. The discard and edit_redirect conditions on the Version model omit the user_can_change check, so views that fetch a version by primary key do not verify object-level change permission (CWE-639, CWE-862). With CMS_PERMISSION set to True, any staff user can act on content; with the default setting, a staff user with the global Django change permission can do so too. Such a user can delete a draft version and its content object, or create an editable draft from a published version, even without change permission on that content object.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

Description from the CNA

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.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.00558 40th percentileScored 2026-11-30
Fix Fixed djangocms-versioning (django-cms): 2.6.1djangocms-versioning (PyPI): 2.6.1

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Partial

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
django-cmsdjangocms-versioningbefore 2.6.12.6.1Patch availableCNA
—djangocms-versioning (PyPI)before 2.6.12.6.1Patch availableGHSA-5g9x-qwh5-33x4
  • djangocms-versioning Vendordjango-cms Affected before 2.6.1 Fixed in 2.6.1 Patch available CNA
  • djangocms-versioning (PyPI) Vendor— Affected before 2.6.1 Fixed in 2.6.1 Patch available GHSA-5g9x-qwh5-33x4

Remediation

Upgrade djangocms-versioning to version 2.6.1, which fixes the issue, on both the django-cms vendor listing and the PyPI package.

Written with Claude Haiku 5.5 from the sources below · 2026-11-18

  • Fix · CNA djangocms-versioning (django-cms) Fixed in 2.6.1
  • Fix · GHSA-5g9x-qwh5-33x4 djangocms-versioning (PyPI) Fixed in 2.6.1 Advisory →

Timeline

  1. 2026-11-18 Threatist record created from CVE-2026-69138
  2. 2026-11-18 Alias added: GHSA-5g9x-qwh5-33x4
  3. 2026-11-18 Fix available: PyPI/[email protected] · GHSA-5g9x-qwh5-33x4
  4. 2026-11-18 CVSS score added · GHSA-5g9x-qwh5-33x4
  5. 2026-11-18 Weakness changed · GHSA-5g9x-qwh5-33x4
  6. 2026-11-18 5 new references · GHSA-5g9x-qwh5-33x4
  7. 2026-11-19 CISA SSVC decision points changed

References

  • TI-2024-10485 Stored XSS in Open Source Project "django-cms" CVSS 3.1MEDIUM 4.8
  • TI-2026-44152 Authorization bypass in django-cms CVSS 3.1MEDIUM 4.3
  • TI-2015-04262 Cross-site request forgery (CSRF) vulnerability in django CMS before 3.0.14, 3.1.x before… CVSS 3.0HIGH 8.8
  • TI-2026-39454 django CMS: Plugin move endpoint allows cyclic reparenting (DoS) CVSS 3.1HIGH 7.1
  • TI-2026-45004 Authorization bypass in django-cms CVSS 3.1MEDIUM 6.5
  • TI-2026-39455 django CMS: Structure endpoint bypasses page-view permission CVSS 3.1MEDIUM 6.5
See all 12 →

Sources