CVE-2025-69207Khoj
High 7.1 No auth needed
Follow: this CVE · Khoj · Khoj We alert you by email or Slack (account required).
- 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.
What to do
- Apply the vendor's security update for Khoj.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How 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)
| Vendor | Product | Versions |
|---|---|---|
| khoj | khoj | < 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
| khoj | khoj | 2.0.0 |
Official sources
References
Links published by the sources. Open them with care.
- github.com Patch
- github.com Product Release Notes
- github.com Exploit Vendor Advisory