Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
Default status is the baseline for the product, each version can override it (e.g. patched versions marked unaffected).
| Vendor | Product | Default status | Versions | ||||||
|---|---|---|---|---|---|---|---|---|---|
| khoj-ai | khoj | affected |
|
Configuration 1 [-]
|
No data.
| Vendor | Product | Versions |
|---|---|---|
| Khoj | Khoj | — |
| Source | ID | Title |
|---|---|---|
Github GHSA |
GHSA-6whj-7qmg-86qj | Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning |
No CVSS v4.0
No CVSS v3.0
No CVSS v2
This CVE is not in the KEV list.
Exploit prediction score: < 1% (0.414% probability within 30 days)
| Type | Values Removed | Values Added |
|---|---|---|
| CPEs | cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta10:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta11:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta12:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta13:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta14:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta15:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta16:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta17:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta18:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta19:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta1:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta20:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta21:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta22:*:*:*:*:*:* cpe:2.3:a:khoj:khoj:2.0.0:beta2:*:*:*:*:*:* |
| Type | Values Removed | Values Added |
|---|---|---|
| First Time appeared |
Khoj
Khoj khoj |
|
| Vendors & Products |
Khoj
Khoj khoj |
| Type | Values Removed | Values Added |
|---|---|---|
| Metrics |
ssvc
|
| Type | Values Removed | Values Added |
|---|---|---|
| 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. | |
| Title | Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning | |
| Weaknesses | CWE-639 | |
| References |
| |
| Metrics |
cvssV3_1
|