{"id":"CVE-2026-69138","summary":"djangocms-versioning: Authorization Bypass Through User-Controlled Key and Missing Authorization","details":"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.","aliases":["GHSA-5g9x-qwh5-33x4"],"modified":"2026-11-18T22:00:18.416949440Z","published":"2026-11-18T20:32:44.441Z","database_specific":{"cna_assigner":"GitHub_M","cwe_ids":["CWE-639","CWE-862"],"osv_generated_from":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69138.json"},"references":[{"type":"ADVISORY","url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/69xxx/CVE-2026-69138.json"},{"type":"FIX","url":"https://github.com/django-cms/djangocms-versioning/commit/d8c570daa5f7805e8be51f15545fe77b24c44daf"},{"type":"FIX","url":"https://github.com/django-cms/djangocms-versioning/pull/573"},{"type":"WEB","url":"https://github.com/django-cms/djangocms-versioning/releases/tag/2.6.1"},{"type":"ADVISORY","url":"https://github.com/django-cms/djangocms-versioning/security/advisories/GHSA-5g9x-qwh5-33x4"},{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-69138"}],"affected":[{"ranges":[{"type":"GIT","repo":"https://github.com/django-cms/djangocms-versioning","events":[{"introduced":"0"},{"fixed":"9adfb42770fe1f001458f8dca12e05561624b599"},{"fixed":"d8c570daa5f7805e8be51f15545fe77b24c44daf"}],"database_specific":{"extracted_events":[{"range":[{"introduced":"0"},{"fixed":"2.6.1"}],"source":"AFFECTED_FIELD","strategy":"StringRangeExpression"},{"range":[{"fixed":"d8c570daa5f7805e8be51f15545fe77b24c44daf"}],"source":"REFERENCES_COMMIT"},{"original_tag":"2.6.1","range":[{"fixed":"9adfb42770fe1f001458f8dca12e05561624b599"}],"source":"REFERENCES_TAG"}]}}],"versions":["2.6.0","2.5.1","2.5.0","2.4.0","2.3.2","2.3.1","2.3.0","2.2.1","2.2.0","2.1.0","2.0.2","2.0.1","2.0.0","2.0.0rc1","1.2.2","1.2.1","1.2.0","1.1.0","1.0.6","1.0.5","1.0.3","1.0.2","1.0.1","1.0.0","0.0.32","0.0.31","0.0.30","0.0.29","0.0.28","0.0.27","0.0.26","0.0.25","0.0.24","0.0.23","0.0.22","0.0.21","0.0.20","0.0.19","0.0.18","0.0.17","0.0.16","0.0.15","0.0.14","0.0.13","0.0.12","0.0.11","0.0.10","0.0.9","0.0.8","0.0.7","0.0.6","0.0.5"],"database_specific":{"source":"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-69138.json"}}],"schema_version":"1.9.2","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H"}]}