Vulnerability · Published Aug 20, 2026 · Assigned by GitHub_M
CVE-2026-54623django CMS: Plugin move endpoint allows cyclic reparenting (DoS)
High 7.1
In plain English
A high-severity infinite loop in django-cms from django-cms. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.5% (higher than 42% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
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.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| PyPI | django-cms | 5.0.8 | GHSA-8jj7-4v57-frf5 |
| PyPI | django-cms | 5.0.8 | PYSEC-2026-3822 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| django-cms | django-cms | < 5.0.8 |
Weakness: CWE-674, CWE-835 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:H
References
- https://github.com/django-cms/django-cms/security/advisories/GHSA-8jj7-4v57-frf5 x_refsource_CONFIRM
- https://github.com/django-cms/django-cms/pull/8645 x_refsource_MISC
- https://github.com/django-cms/django-cms/commit/7642a98ab3170793c0b27b4125dd1f3d318b8a1c x_refsource_MISC
- https://github.com/django-cms/django-cms/releases/tag/5.0.8 x_refsource_MISC