{"id":"CVE-2026-62967","aliases":[],"cve":{"records":[{"id":"CVE-2026-62967","source":"GitHub_M","state":"PUBLISHED","reasons":[],"replacements":[],"disputed":false,"unsupportedWhenAssigned":false,"reserved":"2026-07-14T22:48:09.780Z","published":"2026-10-30T20:54:52.378Z","modified":"2026-10-30T20:54:52.378Z"}],"publishers":[{"name":"GitHub_M","role":"CNA","organizationId":"a0819718-46f1-4df5-94e2-005712e83aaa","modified":"2026-10-30T20:54:52.378Z"}],"references":[{"url":"https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q","tags":["x_refsource_CONFIRM"],"source":"GitHub_M"},{"url":"https://github.com/sinamics/ztnet/pull/941","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/sinamics/ztnet/commit/7966af6e62aa5778d3a698cee97053fdcb07d742","tags":["x_refsource_MISC"],"source":"GitHub_M"},{"url":"https://github.com/sinamics/ztnet/releases/tag/v0.8.0","tags":["x_refsource_MISC"],"source":"GitHub_M"}],"weaknesses":[{"id":"CWE-862","description":"CWE-862: Missing Authorization","source":"GitHub_M"}],"applicability":[],"prioritization":[]},"title":"ZTNET privilege bypass: any user can deactivate arbitrary accounts via /api/auth/user/invalidateUser","titleSource":"GitHub_M","descriptionSource":"GitHub_M","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.","score":8.1,"severity":"high","published":"2026-10-30T20:54:52.378Z","modified":"2026-10-30T20:54:52.378Z","withdrawn":false,"knownExploited":false,"affected":[],"products":[{"vendor":"sinamics","name":"ztnet","platforms":[],"versions":[{"version":"< 0.8.0","status":"affected"}],"cpes":[],"source":"GitHub_M","url":"https://www.cve.org/CVERecord?id=CVE-2026-62967"}],"remediation":[],"references":["https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q","https://github.com/sinamics/ztnet/pull/941","https://github.com/sinamics/ztnet/commit/7966af6e62aa5778d3a698cee97053fdcb07d742","https://github.com/sinamics/ztnet/releases/tag/v0.8.0"],"sources":[{"name":"CVE","id":"CVE-2026-62967","modified":"2026-10-30T20:54:52.378Z","url":"https://www.cve.org/CVERecord?id=CVE-2026-62967"}],"assessments":[{"source":"GitHub_M","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","score":8.1}],"sourceAffected":[],"observedAt":"2026-10-30T21:32:10.170Z","kev":{"status":"not-listed","checkedAt":"2026-10-31T10:50:31.656Z"},"coverage":[{"source":"NVD","status":"available","checkedAt":"2026-10-30T21:45:33.335Z","attemptedAt":"2026-10-30T21:45:33.335Z"},{"source":"GHSA","status":"no-result","checkedAt":"2026-10-30T21:45:33.403Z","attemptedAt":"2026-10-30T21:45:33.403Z"},{"source":"EUVD","status":"no-result","checkedAt":"2026-10-30T21:45:33.133Z","attemptedAt":"2026-10-30T21:45:33.133Z"},{"source":"EPSS","status":"no-result","checkedAt":"2026-10-30T21:45:33.090Z","attemptedAt":"2026-10-30T21:45:33.090Z"}],"evidence":[{"source":"NVD","id":"CVE-2026-62967","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-62967","modified":"2026-10-30T21:17:15.290","score":8.1,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H","checkedAt":"2026-10-30T21:45:33.335Z"}],"aiSummary":{"text":"ZTNET versions prior to 0.8.0 have a privilege bypass vulnerability, allowing any authenticated user to deactivate another account, including administrators, via the /api/auth/user/invalidateUser endpoint. An attacker needs a normal account and the victim's user ID. This can lock out administrators and deny access to targeted users.","model":"@cf/meta/llama-3.3-70b-instruct-fp8-fast","generatedAt":"2026-10-31T05:01:13.516Z","sources":[{"name":"CVE","url":"https://www.cve.org/CVERecord?id=CVE-2026-62967"}]}}