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

CVE-2026-112050: Gitify Login CSRF Vulnerability

CVE-2026-112050 is a login cross-site request forgery flaw in Gitify that allows attackers to bind victims' clients to attacker accounts through OAuth state validation bypass. 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-112050 Overview

CVE-2026-112050 is a login cross-site request forgery (CSRF) vulnerability in Gitify versions prior to 7.10.0. The flaw exists in the performGitHubWebOAuth() function, which omits OAuth state parameter validation during the web-flow callback. A remote attacker can craft a gitify://oauth?code= deep link containing their own authorization code. If a victim opens that link while a Gitify login is pending, the client binds to the attacker's GitHub account. Gitify then displays attacker-controlled notifications as if they belonged to the victim. The weakness is classified under CWE-352: Cross-Site Request Forgery.

Critical Impact

Successful exploitation binds a victim's Gitify client to an attacker-controlled GitHub account, surfacing attacker-chosen notifications in the victim's desktop client.

Affected Products

  • Gitify desktop notification client versions prior to 7.10.0
  • GitHub web OAuth flow in src/renderer/utils/forges/github/flows.ts
  • Deep-link handler for the gitify://oauth URI scheme

Discovery Timeline

  • 2026-10-18 - CVE-2026-112050 published to the National Vulnerability Database
  • 2026-10-19 - Last updated in NVD database

Technical Details for CVE-2026-112050

Vulnerability Analysis

Gitify is an Electron-based desktop client that aggregates GitHub notifications. Authentication uses GitHub's OAuth 2.0 web application flow. The client opens a browser, GitHub redirects back through a custom gitify://oauth?code=<code> URI, and the renderer exchanges the code for an access token.

The OAuth specification requires an unguessable state parameter to bind the authorization request to the callback. Gitify's performGitHubWebOAuth() generated no state value and performed no comparison on the callback. Any code arriving via the deep link was accepted and exchanged for a token, with no proof the code originated from the user's own login attempt.

An attacker who tricks a victim into opening a crafted deep link while a Gitify login is pending binds the client to the attacker's account. The resulting notifications, repository references, and links shown to the victim are controlled by the attacker, enabling phishing or malicious link delivery through a trusted application surface.

Root Cause

The root cause is the absence of OAuth state generation and validation in the GitHub web flow handler. Without a cryptographically random, per-attempt token tying the authorization request to the callback, the client cannot distinguish between its own in-progress login and an unsolicited authorization code supplied by a third party.

Attack Vector

Exploitation requires the victim to open an attacker-supplied gitify://oauth?code= link, which demands user interaction and a passive attack precondition where a Gitify login attempt is pending. The vector is network-reachable through any channel that renders clickable URIs, such as email, chat, or a malicious webpage.

typescript
// Patch from src/renderer/utils/auth/state.ts
// Introduces a cryptographically random OAuth state value.
+/**
+ * Generate a cryptographically random OAuth 2.0 `state` value.
+ *
+ * `crypto.randomUUID()` is backed by the platform CSPRNG and yields 122 random
+ * bits — ample for a per-attempt, single-use value that an attacker cannot
+ * guess in order to bind the client to a different account. Using the platform
+ * primitive avoids hand-rolled random-value encoding entirely.
+ *
+ * @returns A random UUID to send as the OAuth `state` parameter.
+ */
+export function generateOAuthState(): string {
+  return crypto.randomUUID();
+}

Source: GitHub commit 10235b2

typescript
// Patch wiring in src/renderer/utils/forges/github/flows.ts
 import type { AuthResponse, DeviceFlowSession, LoginOAuthWebOptions } from '../../auth/types';
 
 import { getRecommendedScopeNames } from '../../auth/scopes';
-import { rendererLogError, rendererLogInfo, toError } from '../../core/logger';
+import { generateOAuthState } from '../../auth/state';
+import { rendererLogError, rendererLogInfo, rendererLogWarn, toError } from '../../core/logger';
 import { openExternalLink } from '../../system/comms';
 import { getGitHubAuthBaseUrl } from './auth';

Source: GitHub commit 10235b2

Detection Methods for CVE-2026-112050

Indicators of Compromise

  • Unexpected gitify://oauth?code= deep-link invocations recorded in operating system URI handler logs.
  • Gitify clients displaying notifications from repositories the user does not own, watch, or participate in.
  • GitHub audit log entries showing OAuth authorizations for the Gitify application from unfamiliar locations tied to a user account that is not the client operator.

Detection Strategies

  • Inventory installed Gitify versions across managed endpoints and flag any release earlier than 7.10.0.
  • Hunt in email and messaging gateway logs for URLs beginning with gitify://oauth delivered to end users.
  • Correlate Gitify authentication events with the signed-in GitHub identity to detect account rebinding anomalies.

Monitoring Recommendations

  • Monitor endpoint process launches of Gitify followed by immediate custom-protocol activations.
  • Review GitHub organization OAuth app authorization logs for repeated or anomalous consent events.
  • Alert users to verify the authenticated GitHub account displayed in Gitify preferences after any login prompt.

How to Mitigate CVE-2026-112050

Immediate Actions Required

  • Upgrade Gitify to version 7.10.0 or later on every endpoint where the client is installed.
  • Instruct users to sign out of Gitify, revoke the Gitify OAuth grant in GitHub account settings, and re-authenticate after upgrading.
  • Review recent notification activity for suspicious links or unknown repositories and report confirmed abuse to GitHub.

Patch Information

The fix is delivered in Gitify release v7.10.0. Commit 10235b2 introduces generateOAuthState() using crypto.randomUUID() and validates the returned state on the web-flow callback. Additional context is available in GitHub issue #3425 and the VulnCheck advisory.

Workarounds

  • Use GitHub personal access token or device flow authentication instead of the web OAuth flow until the upgrade is applied.
  • Avoid clicking links of unknown origin while a Gitify login window is open or pending.
  • Disable the gitify:// protocol handler at the operating system level on endpoints that cannot be upgraded immediately.
bash
# Verify installed Gitify version and upgrade path
# macOS
mdls -name kMDItemVersion /Applications/Gitify.app

# Windows (PowerShell)
Get-AppxPackage -Name "*Gitify*" | Select-Object Name, Version

# Linux (Debian/Ubuntu)
dpkg -l | grep -i gitify

# Upgrade to the patched release
# Download v7.10.0 or later from the official releases page:
# https://github.com/gitify-app/gitify/releases/tag/v7.10.0

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.