/

CVE-2026-125360

Severity:

HIGH RISK

(7.2)

Privilege Escalation (CWE-269) in Storyden Role Management

CVE-2026-125360

Deferred

Vulnerability type

Category:

Privilege Escalation

CWE:

CWE-269

Impact:

Administrator-level privilege escalation

Severity:

HIGH RISK

(7.2)

CVSS version:

3.1

Catch this CVE while code is being written

Detect vulnerable code directly in pull requests, so CVEs are fixed before merge.

Summary

Storyden allows users with the MANAGE_ROLES permission to grant ADMINISTRATOR privileges without already being administrators. A user with that role-management access may use account or role operations to gain administrative control of the instance.

Affected context

The vulnerability affects Storyden through version 1.26.16 in role and account management functionality. It becomes risky when a user who has MANAGE_ROLES can assign the ADMINISTRATOR permission through AccountAddRole or create or update a role with that permission, without an administrator-level authorization check preventing the change.

Exploit preconditions

  • Attack surface: Storyden account and role management operations
  • Required access: An authenticated account with the MANAGE_ROLES permission
  • Trigger point: Calling AccountAddRole for another controlled account, or using RoleCreate or RoleUpdate to grant ADMINISTRATOR
  • Why exploitation is possible: The role-management capability permits assigning administrator privileges without requiring the caller to be an administrator

Why this happens

The underlying issue is an authorization failure in privileged role management. The application does not adequately distinguish permission to manage roles from permission to grant the highest-level administrator privilege. This maps to CWE-269: Improper Privilege Management, where privileges are assigned or controlled in a way that allows users to exceed their intended authority.

Potential impact

  • A user with MANAGE_ROLES may gain administrator-level access
  • An attacker could take control of the Storyden instance
  • Administrative capabilities could be used to alter instance settings or manage accounts

General mitigation guidance

Defensive patterns include separating routine role management from grants of highly privileged permissions, and requiring an appropriately authorized administrator for sensitive privilege changes.

  • Apply server-side authorization checks to every operation that assigns or modifies roles
  • Use explicit allowlists or policy rules for grantable permissions
  • Follow least-privilege principles when assigning MANAGE_ROLES
  • Audit and monitor changes to administrator privileges
  • Default to denying privilege changes when authorization is unclear

How teams detect issues like this

Review authorization logic for AccountAddRole, RoleCreate, and RoleUpdate, especially paths that can assign ADMINISTRATOR. Look for checks that rely only on MANAGE_ROLES rather than verifying authority to grant the requested privilege.

  • Use static analysis or code review rules to flag privilege assignment without a corresponding authorization check
  • Test role-management operations with accounts that have MANAGE_ROLES but are not administrators
  • Monitor audit records for administrator grants and role changes
  • Enforce policy checks for sensitive permission assignments in development and deployment workflows

Sources

SourceLink
github.comgithub.com/Southclaws/storyden
github.comgithub.com/Southclaws/storyden/blob/v1.26.16/app/transports/http/bindings/accounts.go#L703-L713
github.comgithub.com/Southclaws/storyden/commit/bf9d872179dad727f1315b409298677e77355229
github.comgithub.com/Southclaws/storyden/issues/901
vulncheck.comvulncheck.com/advisories/storyden-through-1.26.16-privilege-escalation-via-manage-roles-role-assignment

Frequently asked

questions

A user with MANAGE_ROLES may be able to exploit it; an unauthenticated user is not identified as a prerequisite.

No. The described issue is that a user with MANAGE_ROLES can grant ADMINISTRATOR without already being an administrator.

Enforce server-side authorization that separately verifies permission to grant administrator-level access, rather than treating role-management access as sufficient.

Apply least privilege, define explicit rules for sensitive permission grants, and test role changes using accounts with different authorization levels.

Find out what's already
exploitable in your codebase.