CVE-2025-69207 | Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning

Exp

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.

Published: 2026-02-02 Last update: 2026-02-27 Assigner: [email protected] Source: [email protected]

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.

Public exploit references (Exploit-DB) for CVE-2025-69207

EDB-ID Source Kind Published Link
nvd_ref exploit_tag Exploit-DB ↗

Exploit prediction scoring system (EPSS) score for CVE-2025-69207

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)

Common vulnerability scoring system (CVSS) metrics for CVE-2025-69207

CVSS metrics for this CVE.

Base score Version Severity Vector Exploitability Impact Score source
5.4 3.1 MEDIUM
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:N)
Doesn’t really leak secrets in a meaningful way.
Integrity (I:L)
Attackers could change some data, but it’s limited—not everything goes.
Availability (A:L)
Might cause slowdowns, glitches, or partial disruption—not a full brick.
2.8 2.5 [email protected]
7.1 3.1 HIGH
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N Click to expand
Attack vector (AV:N)
Could be attacked over the internet or any normal routed network—not just someone sitting at the machine.
Attack complexity (AC:L)
Once they can reach the bug, pulling it off is straightforward—no weird race conditions or rare setup.
Privileges required (PR:N)
No account or special rights needed—anonymous or random user is enough.
User interaction (UI:R)
A real person has to do something—click, install, enable—otherwise it doesn’t land.
Scope (S:U)
Damage stays in the same “trust bubble” as the broken component—no big spill into unrelated systems.
Confidentiality (C:L)
Some sensitive info could get out, but not a total data dump.
Integrity (I:H)
They could widely tamper with or forge data—trust in the data is badly hurt.
Availability (A:N)
Service keeps running; no real outage angle.
2.8 4.2 [email protected]

Weakness enumeration for CVE-2025-69207

GitHub Security Advisory for CVE-2025-69207

GHSA-6whj-7qmg-86qj · Severity: medium · Ecosystem: pip — Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning

Affected software / configurations for CVE-2025-69207

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:*:*:*:*:*:*

References for CVE-2025-69207

cvelogic Threat Intelligence