Skip to main content
CVE-2025-69207VulnerabilityPublished

CVE-2025-69207: khoj · Insecure Direct Object Reference

Affects khojSource CVE Database V5

0

Not known to be exploited · CVSS 5.4 Medium : upgrade to 2.0.0-beta.23 when convenient.

Data as of 26 Oct 2026, 08:30 UTC

CVSS 3.1 base score
5.4Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.4% chance of exploitation in 30 days – higher than 36% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 2.0.0-beta.23
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 2 Feb 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade khoj to 2.0.0-beta.23.

Affected software

ProductAffectedFixed in
khoj-aikhojAffected
  • <2.0.0-beta.23
Fixed in
  • 2.0.0-beta.23
GitHubkhoj-ai/khojpkg:github/khoj-ai/khojOther threatsAffected
  • =2.0.0-beta.23
Fixed in–

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

AI-suggested

European organizations should immediately upgrade khoj to version 2.0.0-beta.23 or later where the vulnerability is fixed. Until upgrading, restrict access to the OAuth callback endpoint and monitor logs for suspicious manipulation of the state parameter. Implement strict controls on sharing AI-generated content that may leak user UUIDs, including sanitizing or anonymizing shared data. Employ network segmentation and access controls to limit exposure of the Khoj application to trusted users only. Conduct regular audits of OAuth integrations and verify that authorization flows properly validate user identity. Educate users about the risks of sharing AI-generated images or conversations that might reveal sensitive identifiers. Consider deploying Web Application Firewalls (WAFs) with custom rules to detect and block unusual OAuth callback requests. Finally, maintain an incident response plan to quickly address any signs of compromise related to this vulnerability.

Description

CVE-2025-69207 is an authorization bypass vulnerability in khoj-ai's self-hosted AI app prior to version 2.0.0-beta.23. The flaw is an Insecure Direct Object Reference (IDOR) in the Notion OAuth callback endpoint, allowing attackers to hijack any user's Notion integration by manipulating the state parameter. Exploitation requires knowledge of the victim's UUID, which can be leaked through shared conversations containing AI-generated images. Successful exploitation enables attackers to replace victims' Notion configurations with their own, causing data poisoning and unauthorized access to the victim's Khoj search index. The vulnerability has a CVSS score of 5.4 (medium severity) and does not require privileges but does require user interaction. No known exploits are currently in the wild.

References

Community reviews

Loading reviews…