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.

