Security mailing lists by PureSourceCode

CVE-2025-69207

HIGH 7.1CVSS 3.1

Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning

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
2 Feb 2026
Last modified
7 Jul 2026
Assigned by
security-advisories@github.com
NVD status
Analyzed
Weakness
CWE-639CWE-862
Also known as
GHSA-6whj-7qmg-86qjPYSEC-2026-1491
Sources
NVDJSONOSV GHSA-6whj-7qmg-86qjJSONOSV PYSEC-2026-1491JSON

Scores

SourceScored byVersionScoreVector / decision
NVD nvd@nist.gov (Primary) CVSS 3.1 HIGH 7.1 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N
NVD security-advisories@github.com (Secondary) CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV GitHub CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L
OSV PyPA CVSS 3.1 MEDIUM 5.4 CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD khoj khoj
cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*
< 2.0.0 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta1:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta10:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta11:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta12:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta13:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta14:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta15:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta16:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta17:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta18:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta19:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta2:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta20:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta21:*:*:*:*:*:*
= 2.0.0
NVD khoj khoj
cpe:2.3:a:khoj:khoj:2.0.0:beta22:*:*:*:*:*:*
= 2.0.0
OSV PyPI khoj <= 2.0.0b25.dev3

References

History

  • 25 Nov 2026 21:01 UTC · NVD: first stored (published 2 Feb 2026)
  • 25 Nov 2026 20:12 UTC · OSV: first stored (published 7 Jul 2026)
  • 25 Nov 2026 20:11 UTC · OSV: first stored (published 2 Feb 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.