# CVE-2026-69138: djangocms-versioning: Authorization Bypass Through User-Controlled Key and Missing Authorization

- **Severity:** MEDIUM 6.5
- **CVSS:** 6.5 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: High; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.56% (percentile 40, 2026-11-28)
- **CWE:** CWE-639, CWE-862
- **Aliases:** GHSA-5g9x-qwh5-33x4
- **Published:** 2026-11-18T20:32:44.441Z
- **Modified:** 2026-11-19T15:17:41.930Z

## Who should check

- Projects that depend on PyPI package djangocms-versioning (\<= 2.6.0)
- Anyone running django-cms djangocms-versioning \< 2.6.1

## 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.

## Affected and fixed versions

- PyPI `djangocms-versioning`: affected \<= 2.6.0; fixed 2.6.1 (ghsa)
- django-cms djangocms-versioning: \< 2.6.1 (cvelist)

## Technologies

PyPI packages

## Mitigation

- Upgrade djangocms-versioning to 2.6.1 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-69138. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-69138.md
Affected: djangocms-versioning <= 2.6.0
Fixed in: 2.6.1

Steps:
1. Search this machine and project for djangocms-versioning (PyPI), django-cms djangocms-versioning: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-69138 being exploited?

There is no confirmed exploitation: CVE-2026-69138 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.56% chance of exploitation in the next 30 days (as of 2026-11-28).

### How serious is CVE-2026-69138?

Medium: CVSS 6.5 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-69138?

djangocms-versioning \<= 2.6.0.

### Is there a fix for CVE-2026-69138?

Yes. Fixed in 2.6.1. Upgrade djangocms-versioning to 2.6.1 or later.

### How do I check if I'm affected by CVE-2026-69138?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/django-cms/djangocms-versioning/security/advisories/GHSA-5g9x-qwh5-33x4>
- patch: <https://github.com/django-cms/djangocms-versioning/pull/573>
- patch: <https://github.com/django-cms/djangocms-versioning/commit/d8c570daa5f7805e8be51f15545fe77b24c44daf>
- other: <https://github.com/django-cms/djangocms-versioning/releases/tag/2.6.1>
- other: <https://github.com/advisories/GHSA-5g9x-qwh5-33x4>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-69138>
- GitHub Advisory Database: CC-BY 4.0 <https://github.com/advisories/GHSA-5g9x-qwh5-33x4> (license: <https://creativecommons.org/licenses/by/4.0/>)
- FIRST EPSS: EPSS scores by FIRST <https://www.first.org/epss/>

HTML: <https://flawdb.com/CVE-2026-69138> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-69138>
