All vulnerabilities

PyPI

CVE-2026-69138

djangocms-versioning: Authorization Bypass Through User-Controlled Key and Missing Authorization

Severity
Medium 6.5
Published
18 Nov 2026
Last changed
18 Nov 2026
Added to UpHeron
23 Nov 2026
Fixed in
2.6.1
Exploit chance
0.5% in the next 30 daysHigher than 41% of CVEs. EPSS by FIRST, 24 Nov 2026
Weakness
Authorization bypass through a user-controlled key (IDOR) (CWE-639)Missing authorization (CWE-862)
Attack
Over the network · Needs an administrator account · No user action needed
Attacker can
Change data · Take it down
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H
Also known as
GHSA-5g9x-qwh5-33x4
Sources
OSV.dev and GitHub

Description

The discard and edit_redirect version transitions did not enforce a per-object change-permission check, while the sibling transitions (archive, publish, unpublish, revert) all did. As a result a low-privileged staff user could discard (delete) any draft version — and thereby the underlying content object — of content they have no change permission on, and could create an editable draft off any published version, by supplying a version primary key they should not have access to (an insecure direct object reference).

Version state transitions are guarded by Conditions objects declared on djangocms_versioning.models.Version. Every transition that mutates content carries the user_can_change condition, which delegates to the content object's own permission check (Version.has_change_permission → content.has_change_permission / has_placeholder_change_permission, with a final fallback to the Django change_ permission).

Two conditions were missing that check:

From the GitHub Advisory Database, CC BY 4.0. Shortened; the full text is there.

Workarounds

There is no configuration-only workaround. Operators who cannot upgrade immediately should restrict staff accounts to trusted users, since the missing gate reduces to is_staff under CMS_PERMISSION = True.

Workarounds as given by the GitHub Advisory Database, CC BY 4.0.

Affected software

SoftwareAffected versions
djangocms-versioningPyPI · osv:PyPI:djangocms-versioning
  • Every version before 2.6.1

About djangocms-versioning

Weekly downloads (PyPI)
6,413PyPI Stats, 24 Nov 2026

This is the only vulnerability in djangocms-versioning in our list.

References