CVE Watchtower

CVE-2026-129988Termix Improper Authentication

NVD

Vulnerability Summary

Summary When an auth policy requires a second factor and a user has none set up, login issues a session restricted to setting one up (`restriction: SECOND_FACTOR_SETUP`). The HTTP middleware enforces that restriction, but the plugin WebSocket upgrade path does not, so the restricted session can open plugin sockets (SSH terminal, file manager, remote desktop, tunnels) as a fully signed-in user. Details (v26.10.4, a65b4a5d) - `src/backend/auth/login-pipeline.ts:410`: the session is issued with `restriction: needsSetup ? SECOND_FACTOR_SETUP : null`. - `src/backend/utils/auth-manager.ts:560`: `verifyJWTToken` loads `payload.restriction` from the session row. - `src/backend/utils/auth-manager.ts:1106` (`refusePluginSession`): HTTP requests with that restriction get 403 `SECOND_FACTOR_SETUP_REQUIRED` unless `allowsSetupSession(path)`. - `src/backend/plugins/ws.ts` `verifyToken`: after `verifyJWTToken(token, { allowSocketTicket: true })` it rejects only `payload.pendingTOTP`, never `payload.restriction`. Its own comment says "a socket cannot be the way around the second factor". - `src/backend/utils/ws-auth.ts:48` `extractWebSocketToken` accepts the session's `jwt` cookie (origin-checked), a Bearer header, or the subprotocol, so the restricted session's own token is enough. No ticket is needed. Impact With login-security's "require second factor" policy on, a user whose password is known but who has not enrolled a second factor (for example an account created by an admin, or one whose factor was reset) can still open terminal and file-manager sockets to every host that user can reach. The second-factor requirement is bypassed for everything that runs over plugin WebSockets. Suggested fix In `verifyToken`, also return null when `payload.restriction` is set (or when `payload.restriction === SECOND_FACTOR_SETUP`), mirroring `refusePluginSession`. The same function may want the `pluginSession` check that HTTP applies, unless plugin sessions are meant to reach sockets. Verification Found by static reading of the v26.10.4 source; I have not run it against a live server. Earlier versions with the same restriction (26.10.3) appear identical. --- Maintainer note: the restricted session was refused on sockets starting with 26.11.1. In 26.11.2 sockets also go through the exact same session check as HTTP, including the plugin session rules.
Severity Level
MEDIUM(6.8)
Published Date
Nov 18, 2026
Last Modified
Nov 18, 2026
Exploitation Status
No confirmed exploitation yet
CVE Record Status
Reserved
This CVE ID is referenced in a public advisory, but the CVE Program has not published its official CVE Record yet. Full CVSS/CPE data from NVD will appear here once it does.
Root Weakness (CWE)
When an actor claims to have a given identity, the software does not prove or insufficiently proves that the claim is correct.
The product does not perform any authentication for functionality that requires a provable user identity or consumes a significant amount of resources.
CVSS v3.1 Base Metrics — Score 6.8
CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:N
Attack VectorNetwork
Attack ComplexityHigh
Privileges RequiredLow
User InteractionNone
ScopeUnchanged
ConfidentialityHigh
IntegrityHigh
AvailabilityNone

Affected & Patched Versions

Affected Versions
  • Termix >= 26.10.3, < 26.11.1
Patched Versions
  • Termix 26.11.1

What to do

Fix it during your normal patch cycle. No exploitation is confirmed yet.

  1. Check whether you run Termix and which version.
  2. Update to a patched version listed above, then confirm the new version.

Timeline

  • Nov 18, 2026Published
  • Nov 18, 2026Record last modified

Score, severity and exploitation changes are tracked from the day Watchtower started logging them.

Get notified about new Termix CVEsYou are reading CVE-2026-129988. Get an email when KEV listings, exploits or new CVEs match your stack.
Set up CVE alerts

Data last checked: Nov 24, 2026 20:01 UTC