CVE-2025-69207

EUVD-2025-206746
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.
ProviderTypeBase ScoreAtk. VectorAtk. ComplexityPriv. RequiredVector
NISTPrimary
5.4 MEDIUM
NETWORK
LOW
NONE
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Base Score
CVSS 3.x
EPSS Score
Percentile: Unknown
Affected Products (NVD)
VendorProductVersion
khojkhoj
𝑥
< 2.0.0
khojkhoj
2.0.0:beta1
khojkhoj
2.0.0:beta10
khojkhoj
2.0.0:beta11
khojkhoj
2.0.0:beta12
khojkhoj
2.0.0:beta13
khojkhoj
2.0.0:beta14
khojkhoj
2.0.0:beta15
khojkhoj
2.0.0:beta16
khojkhoj
2.0.0:beta17
khojkhoj
2.0.0:beta18
khojkhoj
2.0.0:beta19
khojkhoj
2.0.0:beta2
khojkhoj
2.0.0:beta20
khojkhoj
2.0.0:beta21
khojkhoj
2.0.0:beta22
𝑥
= Vulnerable software versions