CVE-2025-69207: Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning
(updated )
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.
References
Code Behaviors & Features
Detect and mitigate CVE-2025-69207 with GitLab Dependency Scanning
Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →