Authorization/CVE-2026-61663

Hidden in the toolbar, open at the URL

A staff login with no special permissions could read the structure and rendered content of other teams' objects in django CMS, because the views behind them never asked who was calling.

Bastion · Adversarial research

Oct 17, 2026·3 min read

The toolbar decides what a contractor is shown. The URL behind it answered any staff login, button or no button.
CVE
CVE-2026-61663
Advisory
GHSA-8qj2-c6q4-f399
Severity
Moderate · CVSS 4.3
Affected
< 5.0.11, 5.1.0, 5.1.1
Fixed in
5.0.11, 5.1.2
Requires
Staff login

Background

django CMS lets teams make more than pages editable on the live site: an events listing, a product catalog or a pricing table can each be its own model with placeholders, edited through the same toolbar as the page tree. Structure mode, which lays out an object's slots and the plugins nested inside them, is only offered to staff who hold the use_structure permission and can view the object, so a contractor brought in to help with the blog logs in, sees the toolbar and is never shown a structure button.

The bug

That decision was made in the toolbar and nowhere else. Structure mode loads from an ordinary URL that carries a content type and an object id and when the object was a page, the view behind it checked whether the user could view that page before rendering anything, while for every other kind of object it looked the row up by id and rendered it without asking about the user.

Exploit chainMissing checkOutcome
  1. Staff login

    A contractor account, no extra rights

  2. Toolbar

    Structure button not shown to them

  3. Direct URL

    A content type and an object id

  4. The view

    Fetches the object, never asks who

  5. Response

    200 if the object exists, else 404

  6. Structure shown

    Slots, plugins and how they nest

A staff account with no extra rights could therefore type that URL straight into the browser and walk through ids, which are usually small integers, reading a 404 as nothing there and a 200 as an object that exists, with its slot names, the plugins in each slot and how they nest in the response. The edit and preview views sit next to it and load objects in exactly the same way, so the same login could also read what those objects currently said.

Scope

The scope is narrow: it needs a staff login, it only reads and it only matters on sites that register a frontend-editable model outside the page tree, which is why the advisory (GHSA-8qj2-c6q4-f399, CVE-2026-61663) rates it Moderate and what it exposed was a view into the rest of the team's work, meaning which objects exist, how they are put together and what is in them.

Disclosure timeline

What makes the history worth reading is the order the fixes arrived in. The structure view was patched on 29 June and the fix shipped in django CMS 5.0.9 on 10 July, the day the advisory was published, but the edit and preview views load objects the same way and did not get the check in that change, so 5.0.9, 5.0.10, 5.1.0 and 5.1.1 all went out with them open. They were fixed on 26 August and 5.0.11 and 5.1.2 carried the full fix out the next day, which left two of the three views serving objects to any staff login for nearly seven weeks after the advisory went public.

Timeline
  1. 29 Jun

    Structure view fixed

    The view behind structure mode gets its object check.

  2. 10 Jul

    5.0.9 and the advisory

    The structure fix ships the day the advisory goes out.

  3. 26 Aug

    Edit and preview fixed

    The two views beside it get the same check.

  4. 27 Aug

    5.0.11 and 5.1.2

    The full fix ships.

The fix

All three views now ask the same question before they render anything, which is whether this user may view this object's placeholders and an object can answer for itself through a has_placeholder_view_permission hook or otherwise requires view or change permission on its model, while pages keep the page-view check they already had.

Before and after the fixMissing checkOutcome

Pages

  1. Can this user view the page?

    Asked on every request

  2. 404 if not

    Structure stays private

Other objects, before

  1. Look up the object

    By the id in the URL

  2. No question asked

    Nothing checks the user

  3. Structure returned

    To any staff login

Other objects, after

  1. Look up the object

    By the id in the URL

  2. Can this user view it?

    View or change permission, or the object's own hook

  3. 404 if not

    The same answer pages give

Versions affected and patches

Sites running django CMS with frontend-editable models outside the page tree should move to 5.0.11 or 5.1.2, since there is no configuration workaround and every release before 5.0.11, along with 5.1.0 and 5.1.1, is affected, while sites that register no such models are not.

The check to run

List every route that sits behind a control you hide, request each one as a user who is never shown that control and then do the same for the routes beside it, because a partial fix tends to leave the neighbours open.

References

  1. [1]django CMS security advisory GHSA-8qj2-c6q4-f399
  2. [2]GitHub Advisory Database: CVE-2026-61663

See how your agent fails.

Tell us what your agent can reach and who talks to it. We’ll tell you how agents like it have failed, what we’d test, and how long it takes.