Live threats

All CVEs / Khoj

CVE-2025-69207Khoj

High 7.1 No auth needed

Priority
58
CVSS 3.1
7.1
EPSS
—
Auth required
No
Published
Feb 2, 2026
Updated
Jun 17, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-639
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: partial
Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:H/A:N

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Khoj.
  2. It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.

Affected packages

EcosystemPackageAffected versionsFixed inHow to upgrade
PyPI khoj ≤ 2.0.0b25.dev3 no fixed version —
PyPI khoj ≤ 2.0.0b25.dev3 no fixed version —

Per OSV / GitHub Advisories (GHSA-6whj-7qmg-86qj, PYSEC-2026-1491). Check the version in your lockfile before upgrading.

Affected products (CPE)

VendorProductVersions
khojkhoj< 2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0
khojkhoj2.0.0

Official sources

References

Links published by the sources. Open them with care.