Skip to content
Threat Feed
critical advisory PoC

Authentication Bypass and Remote Code Execution in ThinVNC

ThinVNC version 1.0b1 contains an authentication bypass vulnerability allowing unauthenticated remote attackers to obtain a valid session identifier and execute arbitrary commands via simulated keyboard or mouse events.

CVE search metadata

CVE search record: CVE-2022-25226. KEV: no. Product: ThinVNC. Brief: Authentication Bypass and Remote Code Execution in ThinVNC. Brief link: https://feed.craftedsignal.io/briefs/2026-11-thinvnc-auth-bypass-cve-2022-25226/

Triage facts

Revision 1
Applicability
ThinVNC
Evidence
Unknown
Severity
Critical
Sources
3 public sources
Freshness
Revision 1Nov 15, 20:04 UTC
Detection
1 rule
Vulnerabilities
1 CVE
Source quality
C3Roughly even chance

Overview

ThinVNC version 1.0b1 is susceptible to an authentication bypass vulnerability (CVE-2022-25226). An unauthenticated attacker can obtain a valid session identifier (SID) by accessing the '/cmd?cmd=connect' endpoint, facilitating subsequent unauthorized interactions with the backend.

Attack Chain

  1. The attacker sends an unauthenticated HTTP request to the /cmd?cmd=connect endpoint to obtain a valid SID.
  2. The attacker uses the /cmd?cmd=start endpoint to initiate keyboard or mouse event access for that SID.
  3. Through simulated input (e.g., keyboard shortcuts), the attacker interacts with the system, potentially executing arbitrary commands.

Impact

Successful exploitation allows an unauthenticated remote attacker to bypass authentication mechanisms and achieve Remote Code Execution (RCE) on the server.

Recommendation

The advisory suggests the following mitigations:

  • Do not expose ThinVNC to the internet.
  • Block access to the /cmd endpoint via web server configuration or a WAF.
  • Monitor PowerShell usage and clipboard injection behavior.
  • Switch to supported, secure alternatives.

Detection coverage 1

Detect Access to ThinVNC cmd Endpoint

critical

Detects HTTP requests to the /cmd endpoint used for authentication bypass in ThinVNC.

sigma tactics: initial_access techniques: T1190 sources: webserver

Detection queries are available on the platform. Get full rules →