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

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.1
- **CVSS:** 8.1 (v3.1, CNA) `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:H`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Privileges required: Low; User interaction: None; Scope: Unchanged; Confidentiality impact: None; Integrity impact: High; Availability impact: High
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, login needed
- **EPSS:** 0.55% (percentile 40, 2026-11-26)
- **CWE:** CWE-862
- **Published:** 2026-10-30T20:54:52.378Z
- **Modified:** 2026-11-05T03:17:30.127Z

## Who should check

- Anyone running sinamics ztnet \< 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.

## Affected and fixed versions

- sinamics ztnet: \< 0.8.0 (cvelist)

## Mitigation

- Upgrade ztnet to 0.8.0 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2026-62967. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2026-62967.md
Affected: sinamics ztnet < 0.8.0
Fixed in: sinamics ztnet 0.8.0

Steps:
1. Search this machine and project for sinamics ztnet: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2026-62967 being exploited?

There is no confirmed exploitation: CVE-2026-62967 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.55% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2026-62967?

High: CVSS 8.1 (v3.1, scored by CNA). Remote, login needed.

### Which versions are affected by CVE-2026-62967?

sinamics ztnet \< 0.8.0.

### Is there a fix for CVE-2026-62967?

Yes. Fixed in sinamics ztnet 0.8.0. Upgrade ztnet to 0.8.0 or later.

### How do I check if I'm affected by CVE-2026-62967?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/sinamics/ztnet/security/advisories/GHSA-vqfc-cmp9-c33q>
- patch: <https://github.com/sinamics/ztnet/pull/941>
- patch: <https://github.com/sinamics/ztnet/commit/7966af6e62aa5778d3a698cee97053fdcb07d742>
- other: <https://github.com/sinamics/ztnet/releases/tag/v0.8.0>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2026-62967>

HTML: <https://flawdb.com/CVE-2026-62967> · JSON: <https://flawdb.com/api/v1/entries/CVE-2026-62967>
