---
id: CVE-2026-54623
title: >-
  django CMS is an easy-to-use and developer-friendly enterprise content
  management system powered by Django
summary: >-
  django CMS is an easy-to-use and developer-friendly enterprise content
  management system powered by Django. Prior to 5.0.8, the move_plugin endpoint
  in cms/admin/placeholderadmin.py accepts an attacker-controlled plugin_parent
  value with…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H'
cwe:
  - CWE-674
  - CWE-835
vendor: django-cms
product: django-cms
affected:
  - django-cms < 5.0.8
patched:
  - django-cms 5.0.8
published: '2026-08-20'
updated: '2026-09-18'
sourceUpdated: '2026-09-18T20:09:01.757'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54623'
references:
  - url: >-
      https://github.com/django-cms/django-cms/commit/7642a98ab3170793c0b27b4125dd1f3d318b8a1c
    label: security-advisories@github.com
  - url: 'https://github.com/django-cms/django-cms/pull/8645'
    label: security-advisories@github.com
  - url: 'https://github.com/django-cms/django-cms/releases/tag/5.0.8'
    label: security-advisories@github.com
  - url: >-
      https://github.com/django-cms/django-cms/security/advisories/GHSA-8jj7-4v57-frf5
    label: security-advisories@github.com
  - url: 'https://nvd.nist.gov/vuln/detail/CVE-2026-54623'
  - url: 'https://github.com/django-cms/django-cms'
  - url: 'https://pypi.org/project/django-cms'
  - url: 'https://github.com/advisories/GHSA-8jj7-4v57-frf5'
tags:
  - nvd
  - osv
  - pip
  - ghsa
epss: 0.00487
epssPercentile: 0.39356
aliases:
  - GHSA-8jj7-4v57-frf5
  - PYSEC-2026-3822
ecosystem: pip
ingestedAt: '2026-08-24T20:10:47.123Z'
---

## Overview

django CMS is an easy-to-use and developer-friendly enterprise content management system powered by Django. Prior to 5.0.8, the move_plugin endpoint in cms/admin/placeholderadmin.py accepts an attacker-controlled plugin_parent value without rejecting a plugin’s own identifier or a descendant identifier. A staff user with plugin-change permission under CMS_PERMISSION can create a parent_id cycle in the plugin tree. The _get_descendants_cte and _get_ancestors_cte queries in cms/models/pluginmodel.py have no cycle guard, so get_descendants() and later rendering, copy, or delete operations can recurse indefinitely or reach a database recursion limit, corrupting the tree and consuming request workers. This issue is fixed in versions 5.0.8.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.

## Package advisory (CVE-2026-54623)

Affected packages:

- `django-cms < 5.0.8`

Patched in:

- `django-cms 5.0.8`

Source: https://osv.dev/vulnerability/GHSA-8jj7-4v57-frf5
