VYPR
Medium severity5.4OSV Advisory· Published Feb 2, 2026· Updated Jun 17, 2026

CVE-2025-69207

CVE-2025-69207

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.

AI Insight

LLM-synthesized narrative grounded in this CVE's description and references.

Affected packages

Versions sourced from the GitHub Security Advisory.

PackageAffected versionsPatched versions
khojPyPI
<= 2.0.0b25.dev3

Affected products

18
  • Range: 0.10.0, 0.10.1, 0.11.0, …
  • Khoj/Khoj16 versions
    cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*+ 15 more
    • cpe:2.3:a:khoj:khoj:*:*:*:*:*:*:*:*range: <2.0.0
    • cpe:2.3:a:khoj:khoj:2.0.0:beta10:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta11:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta12:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta13:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta14:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta15:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta16:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta17:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta18:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta19:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta1:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta20:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta21:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta22:*:*:*:*:*:*
    • cpe:2.3:a:khoj:khoj:2.0.0:beta2:*:*:*:*:*:*
  • ghsa-coords
    Range: <= 2.0.0b25.dev3

Patches

Vulnerability mechanics

References

5

News mentions

0

No linked articles in our index yet.