7.1

CVE-2025-69207

Exploit

Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning

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.
Daten sind bereitgestellt durch National Vulnerability Database (NVD)
Khoj ≫ Khoj Version < 2.0.0
Khoj ≫ Khoj Version 2.0.0 Update beta1
Khoj ≫ Khoj Version 2.0.0 Update beta10
Khoj ≫ Khoj Version 2.0.0 Update beta11
Khoj ≫ Khoj Version 2.0.0 Update beta12
Khoj ≫ Khoj Version 2.0.0 Update beta13
Khoj ≫ Khoj Version 2.0.0 Update beta14
Khoj ≫ Khoj Version 2.0.0 Update beta15
Khoj ≫ Khoj Version 2.0.0 Update beta16
Khoj ≫ Khoj Version 2.0.0 Update beta17
Khoj ≫ Khoj Version 2.0.0 Update beta18
Khoj ≫ Khoj Version 2.0.0 Update beta19
Khoj ≫ Khoj Version 2.0.0 Update beta2
Khoj ≫ Khoj Version 2.0.0 Update beta20
Khoj ≫ Khoj Version 2.0.0 Update beta21
Khoj ≫ Khoj Version 2.0.0 Update beta22
Zu dieser CVE wurde keine Warnung gefunden.
EPSS Metriken
Typ Quelle Score Percentile
EPSS FIRST.org 0.36% 0.277
CVSS Metriken
Quelle Base Score Exploit Score Impact Score Vector String
NIST 7.1 2.8 4.2
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
security-advisories@github.com 5.4 2.8 2.5
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
CWE-639 Authorization Bypass Through User-Controlled Key

The system's authorization functionality does not prevent one user from gaining access to another user's data or record by modifying the key value identifying the data.

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