CVE-2025-69207

Medium

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.

SeverityMedium
CVSS5.4
Exploit probability—
ProductKhoj
PublishedFeb 2, 2026
First seenFeb 2, 2026

How to fix

Update
  • khoj khoj2.0.0 or later

Affected products

ProductAffected versionsFixed in
khoj khojv < 2.0.0, 2.0.02.0.0
khojPyPIv ≤ 2.0.0b25.dev3—

Check your version

Choose the product and enter the version you run to see whether it falls in the affected range.

In the Intelligence 360 plan

Attack Surface Management

See the assets tied to your domains, the technologies they run and known vulnerabilities in one list.