CVE-2025-69207CWE-639

Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning

Medium · published February 2, 2026

CVSS v3.1
5.4
EPSS
0%
Percentile
35.3
In the wild
Unconfirmed
What it is

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.

The record
Technical detail
CVSS v3.1
5.4 · MEDIUM
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CVSS v4.0
Not supplied
EPSS
0.00421 · 35.3th percentile
Weakness
CWE-639 · Authorization Bypass Through User-Controlled Key
Published
2026-02-02T21:16Z
EPSS history
Timeline
  • 02 FEB 21:16Z
    Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
    cvelistv5