CVE-2025-69207Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
Updated under an hour ago ()
Does this affect you?
It affects khoj-ai khoj and 1 other product. Add what you run to find out whether that includes you.
No exploitation reported and no EPSS estimate yet.
Do this next
Free account, 1 product
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.
- CVSS
- 5.4 MEDIUM (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
- Weakness (CWE)
- CWE-639
- Known exploited
- Not in CISA's KEV catalog
- EPSS (exploitation in the next 30 days)
- Not loaded for this CVE
- Assigned by
- GitHub_M
- NVD analysis
- Analyzed
- Record last updated
- Feb 3, 2026
- First seen by InfoSec Signals
- Oct 9, 2026
Affected products
khoj-ai khoj khoj_ai:khoj (from the name) | before 2.0.0-beta.23 | CNA record |
khoj khoj khoj:khoj | before 2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; 2.0.0; and 8 more ranges | NVD |
References
- https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qjx-refsource-confirm, exploit, vendor-advisory
- https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748bx-refsource-misc, patch
- https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23x-refsource-misc, product, release-notes
The CVE record on cve.org NVD's entry
The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.