Menu

Inviting an Editor was blocked, promoting an Author to Editor wasn't: a role-check shortcut in Ghost (CVE-2026-105678)
📰

Inviting an Editor was blocked, promoting an Author to Editor wasn't: a role-check shortcut in Ghost (CVE-2026-105678)

DEV Community: javascript·Santosh Kumar Puppala·7 days ago
#9v3VgZVZ
#devtojavascript#devto#dev#role#editor
Reading 0:00
15s threshold

TL;DR

What: In Ghost , the code that decides whether a staff user may change another user's role skipped its permission check whenever the new role was the same as the caller's own. Editors (and Super Editors) may only give out the Author and Contributor roles, but an Editor could set an Author's role to Editor. In my local test on v6.62.0, an Editor's request to promote an Author to Editor returned 200 and the change was saved; the same Editor asking for Administrator got 403.

Impact: per the advisory, Editors and Super Editors could assign their own role to Author and Contributor users. The advisory lists every version from 0.5.0 up to 6.64.0 as affected. Rated Moderate 4.3 ( CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N ). CWE-269 and CWE-863.

Fixed in 6.64.0. Advisory GHSA-4pvx-fwjj-8gpc thanks four reporters: SecBuddyF of Tencent KeenLab, Pedro Pinho, Nhat Anh Vu and me.…

Continue reading — create a free account

Join HashtagPLUS to read full articles, follow hashtags, vote, and join the conversation.