← Back to search

CVE-2026-62967

8.1 HIGHpublic exploit available

Published 2026-10-30 · Updated 2026-11-05

AI risk analysis

Summary
An authenticated low-privilege user can permanently deactivate any other account—including administrators—by calling the `/api/auth/user/invalidateUser` endpoint without verifying ownership of the target user ID, due to missing authorization checks in session validation.
Exploitability
Exploitation is straightforward for any authenticated user with knowledge of a victim's user ID, which can be obtained from public or semi-public application metadata.
Blast radius
Successful exploitation allows attackers to lock out critical users (e.g., admins), disrupting organizational operations and potentially causing denial of service across the platform.
Detection
Look for repeated calls to `/api/auth/user/invalidateUser` from a single authenticated session targeting multiple distinct user IDs, especially when paired with non-matching `deviceId` values or requests originating from users lacking administrative privileges.
Prioritized remediation
Upgrade to ZTNET version 0.8.0 or later, which includes proper authorization checks that compare `session.user.id` with the target `userId` before deactivating accounts.
auth-bypassprivilege-escalationdosweb-api

Analysis generated locally by garnet-coder (no data left the box). AI-assisted — verify against primary sources before acting.

NVD description

ZTNET is a ZeroTier web UI for private controllers with multiuser and organization support. Prior to 0.8.0, any authenticated low-privilege user can permanently deactivate another account, including an administrator, through `POST /api/auth/user/invalidateUser`. In `src/pages/api/auth/user/invalidateUser.ts`, `getServerSession` checks only that a session exists and does not compare `session.user.id` with the client-supplied `userId`. Supplying a victim's `userId` and a `deviceId` for which no matching pair exists in `UserDevice` makes the handler set the target account's `isActive` to false. Login is then refused by `src/server/auth.ts` with `account-expired`. An attacker needs only a normal authenticated account and the victim's user ID, which may be obtainable from member lists, UI responses, logs, or other application metadata. This can lock administrators out, disrupt organization management, and deny access to any targeted user. This issue is fixed in version 0.8.0.

CVSS vector

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H

Weaknesses

CWE-862

Public exploit & PoC references

All references

Source data: NVD (nvd.nist.gov), public domain. Exploit-DB.ai adds local AI analysis for defensive use only.

Related CVEs

Related by shared AI tags and CWE weakness class. Browse the full archive.