# CVE-2026-62967: ZTNET privilege bypass: any user can deactivate arbitrary accounts via /api/auth/user/invalidateUser

Status: published. Published: 2026-10-30. Updated: 2026-11-05.

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.

## Remediation

- fix: sinamics/ztnet: GitHub reports patched versions 0.8.0. Check the advisory for the affected release branch. (source: GitHub GHSA-vqfc-cmp9-c33q) — https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q

## Affected products and versions

- sinamics / ztnet: < 0.8.0 (affected). Source: CNA: GitHub_M
-  / sinamics/ztnet (sinamics/ztnet): <= 0.7.18 (affected, GitHub advisory range). Source: GitHub GHSA-vqfc-cmp9-c33q

## Severity and prioritization

- CVSS 3.1: 8.1 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H; source: CNA: GitHub_M

- CVSS 3.1: 8.1 (high); CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H; source: NVD: security-advisories@github.com

- CISA KEV: No listing in collected sources

- EPSS: 0.37% as of 2026-11-04; percentile 30.82%

- SSVC: exploitation poc; automatable no; technical impact partial; source ADP: CISA-ADP

- Weaknesses: CWE-862

## Exploit evidence

- exploit: https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q (ADP: CISA-ADP)

## References

- https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q (CNA: GitHub_M; x_refsource_CONFIRM)

- https://github.com/sinamics/ztnet/pull/941 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/sinamics/ztnet/commit/7966af6e62aa5778d3a698cee97053fdcb07d742 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/sinamics/ztnet/releases/tag/v0.8.0 (CNA: GitHub_M; x_refsource_MISC)

- https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q (ADP: CISA-ADP; exploit)

- https://github.com/sinamics/ztnet/commit/7966af6e62aa5778d3a698cee97053fdcb07d742 (security-advisories@github.com)

- https://github.com/sinamics/ztnet/pull/941 (security-advisories@github.com)

- https://github.com/sinamics/ztnet/releases/tag/v0.8.0 (security-advisories@github.com)

- https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q (security-advisories@github.com)

- https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q (GitHub Security Advisories; advisory)

## Provenance

- CNA: GitHub_M: https://www.cve.org/CVERecord?id=CVE-2026-62967; retrieved 2026-11-05; source updated 2026-11-05

- NVD: https://nvd.nist.gov/vuln/detail/CVE-2026-62967; retrieved 2026-11-03; source updated 2026-11-02

- GitHub Security Advisories: https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q; retrieved 2026-11-05; source updated 2026-07-14

- FIRST EPSS: https://api.first.org/data/v1/epss?cve=CVE-2026-62967; retrieved 2026-11-05; source updated Not reported

Revision: efb8358c10d78c70835db20dafb298a935c0f75fcdd879411d117de7f7e1d506

Canonical: https://y2.dev/cve/CVE-2026-62967

## Agent and API access

Public CVE pages, Markdown, and JSON are free to read without an account or API key.

- Public catalog: https://y2.dev/cve/index.json. Follow nextCursor with the same search, filters, sort, and limit (1–100). A null cursor marks the end.

- WebMCP: search_cve_disclosures, get_cve_disclosure, get_cve_page_markdown, get_y2_cve_access. Available in compatible browsers.

- Cyber API: https://api.y2.dev/api/v2/cyber/cves and https://api.y2.dev/api/v2/cyber/cves/{cveId}.

- Y2 Pro or Elite: create a workspace API key with the intel:cyber scope and send Authorization: Bearer <Y2_API_KEY>. Setup: https://y2.dev/docs/api/create-key.

- x402: Pay per request without an account or API key. Omit Authorization, read the HTTP 402 PAYMENT-REQUIRED challenge, validate its current requirements, and retry with PAYMENT-SIGNATURE through an authorized payment client. These browser tools never make payments. Guide: https://y2.dev/docs/api/x402.

- OpenAPI: https://y2.dev/api/openapi.yaml. Agent access metadata: https://y2.dev/cve/agent.json.

Collected public records only. Check source status for coverage and freshness.