CVE-2025-69207

HIGH EPSS 28.0%
Published Feb 2, 20264mo ago · Modified Jun 17, 20262w ago
7.1 CVSS 3.1
High
Find Similar
Published Feb 2, 2026 4mo ago
Last Modified Jun 17, 2026 2w ago

Description

Khoj is a self-hostable artificial intelligence app. Prior to 2.0.0-beta.23, an IDOR in the Notion OAuth callback allows an attacker to hijack any user's Notion integration by manipulating the state parameter. The callback endpoint accepts any user UUID without verifying the OAuth flow was initiated by that user, allowing attackers to replace victims' Notion configurations with their own, resulting in data poisoning and unauthorized access to the victim's Khoj search index. This attack requires knowing the user's UUID which can be leaked through shared conversations where an AI generated image is present. This vulnerability is fixed in 2.0.0-beta.23.

CVSS Details

Base Score
7.1
Exploitability
2.8
Impact
4.2
Vector string
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
Attack Vector Network
Attack Complexity Low
Privileges Required None
User Interaction Required
Scope Unchanged
Confidentiality Low
Integrity High
Availability None

Threat Intelligence

EPSS Exploit Probability
28.0% percentile
Exploit & Patch Status
Public Exploit Known
Patch Available

Weaknesses 1

CWE-639

Affected Products 16

VendorProductVersionRange
khojkhoj* <2.0.0
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any
khojkhoj2.0.0any

References 3

  • github.com https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b
    Patch
  • github.com https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23
    ProductRelease Notes
  • github.com https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj
    ExploitVendor Advisory

Remediation

  • github.com https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b
    Patch