{"cve":"CVE-2025-69207","nvd":{"published":"2026-02-02T23:16:01.030","modified":"2026-06-17T10:00:17.293","status":"Analyzed","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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N","score":7.1},"cwes":["CWE-639"],"references":["https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b","https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23","https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj"],"products":["khoj:khoj"],"source":"nvd","synced_at":"2026-10-19T22:22:27.261130201+00:00"},"epss":{"cve":"CVE-2025-69207","score":0.00414,"percentile":0.35773,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-6whj-7qmg-86qj","url":"https://osv.dev/vulnerability/GHSA-6whj-7qmg-86qj","summary":"Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning","modified":"2026-07-07T17:57:14.355009212Z","packages":[{"ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":["<=2.0.0b25.dev3"],"fixed":[]}]},{"id":"PYSEC-2026-1491","url":"https://osv.dev/vulnerability/PYSEC-2026-1491","summary":"Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning","modified":"2026-07-07T17:46:35.276235416Z","packages":[{"ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":["<=2.0.0b25.dev3"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}