Security Advisory

CVE-2025-69207

CVE vulnerability detail — eXtreme Datacenter Security Operations

Published 2026-02-02 21:16:49
Last updated 2026-02-03 15:45:38
Assigner GitHub_M
State PUBLISHED

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 users 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 victims Khoj search index. This attack requires knowing the users 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.