{"id":"CVE-2026-69138","aliases":["GHSA-5g9x-qwh5-33x4"],"title":"djangocms-versioning: Authorization Bypass Through User-Controlled Key and Missing Authorization","originalDescription":"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.","severity":{"cvss":6.5,"vector":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H","label":"medium"},"exploitation":{"kev":null,"epss":{"score":0.00471,"percentile":0.42385},"exploitDb":null},"affected":[{"ecosystem":"PyPI","name":"djangocms-versioning","range":"<= 2.6.0","fixed":"2.6.1"},{"ecosystem":"PyPI","name":"djangocms-versioning","range":">=0, <2.6.1","fixed":"2.6.1"}],"references":[{"url":"https://github.com/django-cms/djangocms-versioning/security/advisories/GHSA-5g9x-qwh5-33x4","type":"x_refsource_CONFIRM"},{"url":"https://github.com/django-cms/djangocms-versioning/pull/573","type":"x_refsource_MISC"},{"url":"https://github.com/django-cms/djangocms-versioning/commit/d8c570daa5f7805e8be51f15545fe77b24c44daf","type":"x_refsource_MISC"},{"url":"https://github.com/django-cms/djangocms-versioning/releases/tag/2.6.1","type":"x_refsource_MISC"},{"url":"https://github.com/advisories/GHSA-5g9x-qwh5-33x4","type":"other"},{"url":"https://github.com/django-cms/djangocms-versioning","type":"package"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69138.json","type":"advisory"},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69138","type":"advisory"}],"sources":[{"name":"nvd","at":"2026-11-19T15:43:47.184Z","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69138","license":"NVD terms of use","firstSeenAt":"2026-11-18T21:26:56.882Z"},{"name":"osv","at":"2026-11-19T21:14:39.939Z","url":"https://osv.dev/vulnerability/CVE-2026-69138","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T22:00:26.401Z"},{"name":"ghsa","at":"2026-12-04T20:31:18.087Z","url":"https://github.com/advisories/GHSA-5g9x-qwh5-33x4","license":"CC-BY 4.0","firstSeenAt":"2026-11-18T21:27:07.099Z"},{"name":"cvelistV5","at":"2026-11-19T22:18:40.928Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-69138","license":"CVE Terms of Use","firstSeenAt":"2026-11-18T20:51:23.300Z"}],"firstSeenAt":"2026-11-18T20:51:23.300Z","publishedAt":"2026-11-18T20:32:44.441Z","modifiedAt":"2026-11-19T21:01:22.733Z"}