GHSA-6whj-7qmg-86qj · Severity: medium · Ecosystem: pip — Khoj has an IDOR in Notion OAuth Flow that 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.
Conclusion & alert: CVE-2025-69207 is rated Exploit Available (50/100): CVSS Medium severity, with low exploitation likelihood (EPSS 0.01%). Core evidence: 1 public exploit reference(s) are indexed (Exploit-DB). Mandatory action: Public exploits are available—assess exposure, apply mitigations, and prioritize patching.
Risk is dynamic; we continuously reassess and refresh what is shown on this page as upstream context changes.
| EDB-ID | Source | Kind | Published | Link |
|---|---|---|---|---|
| — | nvd_ref | exploit_tag | Exploit-DB ↗ |
EPSS lead: Daily EPSS estimates relative likelihood of exploitation; percentile ranks this CVE among scored vulnerabilities (higher = more severe relative rank).
| # | Date | Old EPSS score | New EPSS score | Delta (New - Old) |
|---|---|---|---|---|
| 1 | 2026-02-03 | — | 0.01% | — |
Full EPSS history (1 record total)
CVSS metrics for this CVE.
| Base score | Version | Severity | Vector | Exploitability | Impact | Score source |
|---|---|---|---|---|---|---|
| 5.4 | 3.1 | MEDIUM |
|
2.8 | 2.5 | [email protected] |
| 7.1 | 3.1 | HIGH |
|
2.8 | 4.2 | [email protected] |
GHSA-6whj-7qmg-86qj · Severity: medium · Ecosystem: pip — Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning
| Vendor | Product | Version | Raw CPE |
|---|---|---|---|
| khoj | khoj | < 2.0.0 | cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta1:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta10:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta11:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta12:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta13:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta14:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta15:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta16:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta17:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta18:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta19:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta2:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta20:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta21:*:*:*:*:*:* |
| khoj | khoj | 2.0.0 | cpe:2.3:a:khoj:khoj:2.0.0:beta22:*:*:*:*:*:* |
| URL | Tags |
|---|---|
| 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 | Exploit Vendor Advisory |