CVE-2025-69207
published medium CVSS 3.1 · 5.4Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| khoj-ai | — | khoj< 2.0.0-beta.23 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 5.4 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| khoj-ai | khoj | < 2.0.0-beta.23 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
3Provider assertions
2GitHub_M · cna
Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.2
- Searchable
- yes
- Content hash
- 2bab5b26ed56691d0760398a1330b0e161a558c107f51d17835d9a27b12fac8e
- Ingested
- 23 Sep 2026, 08:57:29 UTC
- Source record
- Official CVE record