CVE-2025-69207 json
Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning
published 9mo ago modified 4mo ago also EUVD-2025-206746 , GHSA-6whj-7qmg-86qj , PYSEC-2026-1491
- cvss
- 5.4
- version 3.1, CNA
- cisa kev
- Not listed
- not in CISA's catalog
- epss
- 0.4%
- EPSS 0.4% chance of exploitation in 30 days, percentile 36%
- public exploits
- 0
- none known
Summary
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.
Patch / fix
- khoj khoj 2.0.0-beta.23
Is CVE-2025-69207 in your dependencies? Fencer shows which of your repositories are affected as soon as an advisory lands, and opens the fix as a pull request.
Check with FencerCISA SSVC
- Exploitation
- Proof of concept is public
- Automatable
- no
- Technical impact
- partial
- Assessed
- 9mo ago
Exploit prediction
0.41% chance of exploitation in the next 30 days, higher than 36% of all scored CVEs (FIRST EPSS, 2026-11-09).
Exploits and checks
- github.com https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj referenced PoC, tagged "exploit" by a source, unverified
CVSS scores
| assigned by | version | score | vector |
|---|---|---|---|
| CNA | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| GitHub | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
| NVD | 3.1 | 7.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N |
| OSV | 3.1 | 5.4 | CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L |
Affected packages
| ecosystem | package | affected | fixed in |
|---|---|---|---|
| pypi | khoj | <=2.0.0b25.dev3 |
no fix listed |
Affected products
- khoj-ai khoj
Classification
References
-
github.com
/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b
web, patch
-
github.com
/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj
web, exploit, vendor-advisory
-
github.com
/khoj-ai/khoj/releases/tag/2.0.0-beta.23
web, product, release-notes
-
nvd.nist.gov
/vuln/detail/CVE-2025-69207
advisory
-
github.com
/khoj-ai/khoj
package
-
pypi.org
/project/khoj
package
-
github.com
/advisories/GHSA-6whj-7qmg-86qj
advisory
Sources
- CVE List CVE-2025-69207
- GitHub Advisory GHSA-6whj-7qmg-86qj
- NVD CVE-2025-69207
- OSV PYSEC-2026-1491
Fencer Intel keeps one entry per vulnerability: the CVE id wins, then GHSA, and records that alias each other are merged, except that two CVEs always keep separate entries. The same data is available as JSON.
CPEs and fixed versions use Anchore's correction of NVD's data: Added CPE configurations because not yet analyzed by NVD.