Skip to main content
Vulnerability Database/CVE-2026-105292

CVE-2026-105292: Chaterm Login CSRF Vulnerability

CVE-2026-105292 is a login cross-site request forgery flaw in Chaterm that enables attackers to inject login state and hijack data sync. This post explains its impact, affected versions, and mitigation steps.

Published:

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

CVE-2026-105292 Overview

CVE-2026-105292 is a login cross-site request forgery (CSRF) vulnerability [CWE-352] in Chaterm versions prior to 0.12.1. The desktop client registers a chaterm:// deep-link handler that processes OAuth callbacks without validating an OAuth state parameter. A remote attacker can craft a web page that triggers the callback with attacker-controlled userInfo, signing the victim into the attacker's account. Once logged in under the attacker's identity, Chaterm's default data sync uploads the victim's saved hosts, passwords, and SSH private keys to the attacker-controlled account.

Critical Impact

Victim credentials, SSH private keys, and saved host inventories are silently exfiltrated through the client's own cloud sync after a successful login-CSRF attack.

Affected Products

  • Chaterm desktop client versions prior to 0.12.1
  • Vulnerable deep-link handler in src/main/index.ts (lines 3442–3455 of tag v0.12.0)
  • Builds without RENDERER_OAUTH_DEEPLINK_SIGNATURE_ENABLED=true

Discovery Timeline

  • 2026-10-05 - CVE-2026-105292 published to NVD
  • 2026-10-06 - Last updated in NVD database

Technical Details for CVE-2026-105292

Vulnerability Analysis

Chaterm registers the chaterm:// custom URI scheme to receive OAuth callbacks from the browser back into the desktop client. The handler in src/main/index.ts accepts a callback and extracts a userInfo payload, then establishes an authenticated session using that payload. The handler does not verify an OAuth state nonce that it previously issued, and it does not cryptographically bind the callback to the originating login request.

Any web page a victim visits can invoke the chaterm:// scheme with attacker-supplied userInfo. The client treats the callback as a legitimate login response and signs the user into an account the attacker controls. Chaterm's default behavior then synchronizes locally stored secrets, including SSH hosts, passwords, and private keys, to the server-side account tied to that session. This converts a login-state injection into a credential theft chain against SSH infrastructure the victim manages.

Root Cause

The root cause is missing OAuth state validation and absent signature verification on the deep-link callback. The handler trusts the inbound chaterm:// payload without proving it originated from a login initiated by the client.

Attack Vector

Exploitation requires the victim to visit an attacker-controlled page while Chaterm is installed. The page triggers the chaterm:// URI with a crafted callback. Successful attacks require user interaction and specific preconditions, which is reflected in the attack complexity rating.

text
// Patch (sanitized) — Source: https://github.com/Chaterm/Chaterm/commit/41f747f17845cd980f289cc9ea8ff9978b6f7ad6
# Defaults
 RENDERER_DEFAULT_LANGUAGE=zh-CN
+# Enable signed OAuth Deep Link callback verification in the desktop client.
+RENDERER_OAUTH_DEEPLINK_SIGNATURE_ENABLED=true

Source: Chaterm Commit 41f747f. The patch enables signed OAuth deep-link callback verification so the client rejects callbacks that are not cryptographically bound to a login request it initiated.

Detection Methods for CVE-2026-105292

Indicators of Compromise

  • Unexpected chaterm:// URI invocations originating from browser processes or recently visited web pages.
  • Chaterm sessions switching to an unfamiliar account identifier shortly after web browsing activity.
  • Outbound Chaterm sync traffic uploading host inventories or key material shortly after a deep-link callback.
  • Presence of Chaterm versions earlier than 0.12.1 on managed endpoints.

Detection Strategies

  • Inventory installed Chaterm versions across endpoints and flag any build below 0.12.1.
  • Monitor process-creation events where a browser spawns the Chaterm client with a chaterm:// argument.
  • Alert on Chaterm account-identity changes recorded in local application logs that are not preceded by an interactive login UI event.

Monitoring Recommendations

  • Correlate browser navigation events with subsequent Chaterm deep-link invocations to spot drive-by triggers.
  • Watch for anomalous egress from the Chaterm process to sync endpoints immediately after login state changes.
  • Review authentication telemetry for Chaterm cloud accounts that suddenly show new device enrollments.

How to Mitigate CVE-2026-105292

Immediate Actions Required

  • Upgrade all Chaterm installations to version 0.12.1 or later.
  • Ensure the environment variable RENDERER_OAUTH_DEEPLINK_SIGNATURE_ENABLED=true is active in deployed builds.
  • Rotate any SSH keys, host credentials, and passwords that were stored in Chaterm on potentially exposed endpoints.
  • Audit Chaterm cloud account activity for unauthorized device additions or sync events.

Patch Information

The fix is included in Chaterm Release v0.12.1 and tracked in Pull Request #2326 and commit 41f747f. Additional background is published in the VulnCheck Advisory.

Workarounds

  • Uninstall Chaterm on endpoints that cannot be upgraded to 0.12.1.
  • Disable the chaterm:// protocol handler at the operating-system level until patching is complete.
  • Instruct users to avoid signing into Chaterm from systems used for general web browsing until updates are deployed.
bash
# Enforce the patched configuration flag in the Chaterm build environment
export RENDERER_OAUTH_DEEPLINK_SIGNATURE_ENABLED=true

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

Sources: National Vulnerability Database, CISA KEV, Exploit-DB

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today and into the future.