/

CVE-2026-126402

Severity:

HIGH RISK

(7.2)

Incorrect Authorization (CWE-863) in Fleet User API

CVE-2026-126402

Received

Vulnerability type

Category:

Incorrect Authorization

CWE:

CWE-863

Impact:

Cross-team privilege escalation and potential code execution on managed hosts

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

Fleet's user administration API may authorize a user creation or modification request when the caller administers just one of the teams involved. An authenticated team administrator could use this flaw to grant administrator roles on other teams, potentially enabling software deployment and script execution on those teams' hosts.

Affected context

The issue affects Fleet's user administration API when a request assigns or changes a user's roles across teams. It becomes risky when authorization checks treat administration of any assigned team as sufficient, rather than verifying the caller's authority for every team affected by the request.

Exploit preconditions

  • Attack surface: Fleet's authenticated user administration API
  • Required access: An authenticated account with administrator privileges for at least one team
  • Trigger point: A user creation or modification request involving multiple teams
  • Why exploitation is possible: The API may accept the request based on authority over any one assigned team, allowing a role change that affects another team

Why this happens

The authorization logic does not adequately match the caller's permissions to all teams affected by a user administration operation. This is an incorrect authorization flaw mapped to CWE-863, where an access-control decision permits an action without correctly enforcing the applicable permission requirements.

Potential impact

  • An attacker could grant users administrator roles on teams they do not administer.
  • Newly privileged users may be able to deploy software or execute scripts on those teams' hosts.
  • Affected hosts and their data could be exposed to unauthorized changes or access.

General mitigation guidance

Defensive patterns include evaluating permissions for every team affected by a user administration request and denying the entire operation when any required authorization check fails. Apply least privilege to team roles, use secure-by-default access controls, and avoid trusting team identifiers or role assignments supplied by clients without independent verification.

How teams detect issues like this

Review authorization code for checks that accept access to any one resource when an operation affects multiple resources. Use static analysis and code review to identify user administration paths that do not verify permissions for every affected team. Policy tests can confirm that cross-team role changes are denied unless the caller is authorized for each team, and audit monitoring can flag unexpected role grants or administrative actions.

Sources

SourceLink
github.comgithub.com/fleetdm/fleet/security/advisories/GHSA-mj9p-fq5h-mw8h
vulncheck.comvulncheck.com/advisories/fleet-before-4.89.0-broken-access-control-via-user-administration-api

Frequently asked

questions

An authenticated team administrator may be able to exploit it when a user administration request affects teams beyond those they administer.

Yes. The described attack requires an authenticated account with administrative privileges for at least one team.

Check that the caller is authorized for every team affected by a user creation or modification, and deny the operation if any check fails.

Enforce least privilege, validate access on the server for each affected resource, and add policy tests for cross-team operations.

Find out what's already
exploitable in your codebase.