CVE-2025-69207 Details
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 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.
An Insecure Direct Object Reference (IDOR) vulnerability has been identified in the Notion OAuth callback of Khoj, a self-hostable AI application. This vulnerability, present in versions prior to 2.0.0-beta.23, allows an attacker to hijack a user's Notion integration by manipulating the state parameter. The callback endpoint accepts any user UUID without verifying if the OAuth flow was initiated by that user. As a result, attackers can replace the victims' Notion configurations with their own, leading to data poisoning and unauthorized access to the victims' Khoj search index. Exploitation requires knowledge of the user's UUID, which can be obtained from shared conversations containing AI-generated images.
Users can update to Khoj version 2.0.0-beta.23 or later, where this vulnerability has been fixed.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 3, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b | [email protected] | Patch |
| https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23 | [email protected] | ProductRelease Notes |
| https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-639 | Authorization Bypass Through User-Controlled Key | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| khoj khoj | < 2.0.0 2.0.0 beta1 2.0.0 beta10 2.0.0 beta11 2.0.0 beta12 2.0.0 beta13 2.0.0 beta14 2.0.0 beta15 2.0.0 beta16 2.0.0 beta17 2.0.0 beta18 2.0.0 beta19 2.0.0 beta2 2.0.0 beta20 2.0.0 beta21 2.0.0 beta22 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 27, 2026 | Initial Analysis | [email protected] |
| Feb 2, 2026 | New CVE Received | [email protected] |