/

CVE-2026-47744

Severity:

CRITICAL RISK

(9.9)

Broken Access Control / Authorization in Shopper Admin Team

CVE-2026-47744

Deferred

Vulnerability type

Category:

Broken Access Control / Authorization

CWE:

CWE-269, CWE-285

Impact:

Privilege Escalation to Full Administrator

Severity:

CRITICAL RISK

(9.9)

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

Shopper's headless e-commerce admin panel contained broken authorization checks in the team settings module, allowing low-privilege authenticated users to manipulate roles and permissions.

By abusing these flaws, an attacker with only basic access (or read-only permissions) could escalate to full administrator, grant arbitrary privileges, and remove legitimate admins from the panel.

Affected context

This vulnerability occurs in Shopper deployments where the admin panel's team and role management pages are exposed to general authenticated users.

Specifically, the Settings/Team/Index endpoint lacked authorization on mount, and the Settings/Team/RolePermission logic tied write actions to a read-only permission.

In environments where non-admin users can sign into the panel and possess basic or view-only privileges, these defects can be chained to gain full control over RBAC and user accounts.

Exploit preconditions

  • Attack surface: Shopper admin panel web interface (team settings and role/permission management pages).
  • Required access: An authenticated panel account with low or read-only permissions (e.g., a user holding the view_users permission).
  • Trigger points:
  • Navigating to the Settings/Team/Index page, which lacks proper mount-level authorization.
  • Using public actions on this page to create roles and delete other users.
  • Accessing Settings/Team/RolePermission and leveraging the misconfigured permission checks to assign elevated privileges.
  • Why exploitation is possible:
  • The team index page does not enforce an authorization decision during component mounting, exposing administrative actions to any logged-in user.
  • Write operations in role permission management are incorrectly gated on a read-only view_users permission, allowing users with minimal rights to modify RBAC assignments.

Why this happens

The underlying issue is a misconfigured and incomplete authorization model for administrative endpoints.

In the team index view, the absence of an authorization check on mount violates the principle that sensitive administrative screens must enforce access control before exposing any actions.

In the role permission view, write operations are bound to a read-only permission (view_users), which is not intended to confer administrative powers.

Together, these patterns exemplify CWE-269 (Improper Privilege Management) and CWE-285 (Improper Authorization), where high-privilege operations are guarded by incorrect or insufficient permission checks, allowing users to escalate privileges and reconfigure access control rules.

Potential impact

  • Low-privilege users can escalate to full admin within the Shopper admin panel.
  • Attackers may grant themselves or others arbitrary permissions, including manage_users and edit_orders.
  • Legitimate administrators can be deleted or locked out of the panel.
  • Complete compromise of RBAC configuration, including role creation, modification, and assignment.
  • Unauthorized access to customer data, order management, and other sensitive e-commerce operations.
  • Facilitation of downstream fraud, data tampering, and operational disruption in affected e-commerce environments.

General mitigation guidance

Effective mitigation focuses on hardening authorization boundaries around administrative functionality and ensuring consistent, least-privilege permission checks:

  • Enforce explicit authorization on all admin routes and components, especially those related to user, team, and RBAC management, before rendering or executing actions.
  • Separate read and write permissions clearly; avoid gating write operations on read-only privileges, and require explicit "manage" or "admin" privileges for RBAC changes.
  • Centralize authorization logic in reusable policies or middleware to avoid ad hoc checks scattered across views and components.
  • Apply the principle of least privilege by ensuring that only dedicated administrative roles can manage roles, permissions, and user accounts.
  • Introduce defense-in-depth measures, such as server-side validation of every administrative action, regardless of client-side state or UI constraints.
  • Regularly review and test authorization mappings to verify that each operation is protected by the correct permission.

How teams detect issues like this

Organizations can detect similar authorization weaknesses using a combination of review, testing, and automation:

  • Static and code review: Look for admin routes or components (e.g., settings, users, roles, teams) that either lack explicit authorization checks or reuse generic, low-privilege permissions for sensitive actions.
  • Policy mapping audits: Maintain a clear matrix mapping roles to permissions and permissions to endpoints; flag any cases where high-impact actions are guarded by read-only or generic permissions.
  • Automated tests: Implement integration or functional tests that attempt privileged actions with low-privilege accounts to validate authorization boundaries.
  • Logging and monitoring: Monitor admin activity logs for unusual patterns, such as role creation or user deletion originating from accounts that are supposed to be read-only.
  • Security tooling: Use application security testing tools or custom linters to enforce that all administrative controllers and pages declare and enforce robust authorization policies.

Sources

SourceLink
github.comgithub.com/shopperlabs/shopper/security/advisories/GHSA-c3qp-2ggw-xjg7

Frequently asked

questions

It is broadly exploitable within any Shopper deployment where low-privilege users can log into the admin panel; any such user could leverage the flawed team settings to take over the RBAC system and become an administrator.

No. The vulnerability can be triggered by a low-privilege authenticated user, including accounts that only hold the view_users or similar read-only permissions, because the affected endpoints do not correctly restrict high-impact actions.

The safest pattern is to enforce strict, role-appropriate authorization checks for all team, user, and role management operations, ensuring that only clearly defined administrative permissions can perform write actions, and that all admin views require authorization before loading.

Prevention involves centralizing access control logic, using explicit permission checks for each sensitive operation, maintaining a clear permission model, and routinely testing with low-privilege accounts to confirm that they cannot access or invoke administrative capabilities.

Find out what's already
exploitable in your codebase.