{"data":{"id":"f6096356-9199-4124-b4ca-cb13ceb7e7b3","title":"GHSA-6whj-7qmg-86qj: Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning","summary":"An IDOR in the Khoj Notion OAuth callback (`/auth/callback` in `src/khoj/routers/notion.py`) accepts any user UUID passed as the `state` parameter without verifying that the user started the flow. An attacker who learns a victim's UUID, which can leak through shared conversations containing AI-generated images, can replace the victim's Notion configuration with their own and gain access to the victim's Khoj search index.","solution":"N/A -- no mitigation discussed in source.","labels":["security","privacy"],"sourceUrl":"https://github.com/advisories/GHSA-6whj-7qmg-86qj","publishedAt":"2026-02-02T17:31:33.000Z","cveId":"CVE-2025-69207","cweIds":["CWE-639","CWE-862"],"cvssScore":"5.4","cvssSeverity":"medium","severity":"medium","attackType":["other","rag_poisoning"],"issueType":"vulnerability","affectedPackages":["khoj@<= 2.0.0b25.dev3"],"affectedPackageNames":["khoj"],"affectedPackageRefs":["pypi:khoj"],"affectedVendors":[],"affectedVendorsRaw":["Khoj","Notion"],"classifierModel":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2","headline":null,"headlinePromptVersion":null,"cvssVector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L","attackVector":"network","attackComplexity":"low","privilegesRequired":"none","userInteraction":"required","exploitMaturity":"unknown","epssScore":0.00414,"epssPercentile":0.37806,"epssCheckedAt":"2026-12-03T19:40:59.971Z","epssHistory":null,"epss30dChange":null,"exploitUrls":["https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj"],"patchCommitUrls":["https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b"],"ssvcExploitation":"poc","nvdStatus":"Analyzed","referencesCheckedAt":"2026-12-03T19:54:04.556Z","kevDateAdded":null,"advisoryAliases":["GHSA-6whj-7qmg-86qj"],"affectedPackagesSource":null,"affectedPackagesCheckedAt":null,"patchAvailable":null,"disclosureDate":"2026-02-02T17:31:33.000Z","fixReleasedAt":null,"daysToFix":null,"fixCheckedAt":null,"capecIds":["CAPEC-122"],"crossRefCount":0,"attackSophistication":"moderate","impactType":["confidentiality","integrity"],"aiComponentTargeted":"rag","llmSpecific":false,"classifierConfidence":0.8,"researchCategory":null,"atlasIds":["AML.T0070"],"openalexId":null,"openalexMatch":null,"openalexCheckedAt":null,"paperAuthors":null,"paperVenue":null,"paperVenueType":null,"paperYear":null,"paperDoi":null,"paperPublished":null,"paperOaUrl":null,"citedByCount":null,"codeUrls":null,"nvdFilled":null,"fixedVersions":null,"affectedPurls":["pkg:pypi/khoj"],"owaspLlmIds":["LLM04:2025","LLM08:2025"],"doi":null,"arxivId":null,"hasPublicExploit":true,"timeline":[{"event":"published","date":"2026-02-02","source":"record_source"}],"provenance":{"fields":{"id":"pipeline","title":"source","summary":"model","solution":"model","labels":"model","sourceUrl":"source","publishedAt":"source","cveId":"source","cweIds":"source","cvssScore":"source","cvssSeverity":"source","severity":"source","attackType":"model","issueType":"source","affectedPackages":"source","affectedPackageNames":"source","affectedPackageRefs":"source","affectedVendors":"model","affectedVendorsRaw":"model","classifierModel":"pipeline","classifierPromptVersion":"pipeline","summaryPromptVersion":"pipeline","headline":"model","headlinePromptVersion":"pipeline","cvssVector":"source","attackVector":"source","attackComplexity":"source","privilegesRequired":"source","userInteraction":"source","exploitMaturity":"source","epssScore":"source","epssPercentile":"source","epssCheckedAt":"pipeline","epssHistory":"source","epss30dChange":"source","exploitUrls":"source","patchCommitUrls":"source","ssvcExploitation":"source","nvdStatus":"source","referencesCheckedAt":"pipeline","kevDateAdded":"source","advisoryAliases":"source","affectedPackagesSource":"pipeline","affectedPackagesCheckedAt":"pipeline","patchAvailable":"source","disclosureDate":"source","fixReleasedAt":"source","daysToFix":"source","fixCheckedAt":"pipeline","capecIds":"source","crossRefCount":"source","attackSophistication":"model","impactType":"model","aiComponentTargeted":"model","llmSpecific":"model","classifierConfidence":"model","atlasIds":"model","openalexId":"source","openalexMatch":"pipeline","openalexCheckedAt":"pipeline","paperAuthors":"source","paperVenue":"source","paperVenueType":"source","paperYear":"source","paperDoi":"source","paperPublished":"source","paperOaUrl":"source","citedByCount":"source","codeUrls":"source","nvdFilled":"pipeline","fixedVersions":"source","affectedPurls":"source","owaspLlmIds":"model","doi":"source","arxivId":"source","hasPublicExploit":"source","timeline":"source"},"model":{"classifier":"claude-haiku-5-5","classifierPromptVersion":"v4","summaryPromptVersion":"v2"}},"fixes":[]}}