Vulnerability · Published Jun 28, 2026 · Assigned by VulDB

CVE-2026-13508khoj-ai khoj Conversation Sharing api_chat.py authorization

Medium 5.5

In plain English

A medium-severity incorrect authorization in khoj from khoj-ai. Proof-of-concept exploit code is public. The chance it is exploited in the next 30 days is estimated at 0.3% (higher than 21% of all known vulnerabilities).

Severity (CVSS 3.1)5.5Medium
Exploit odds (30 days)0.3%top 78.7% of all CVEs
Exploited in the wildNo reportsCISA SSVC: poc
Attack toolingNoneno public tooling known

Official description

A flaw has been found in khoj-ai khoj up to 2.0.0-beta.28. This impacts an unknown function of the file src/khoj/routers/api_chat.py of the component Conversation Sharing Handler. This manipulation of the argument conversation.agent causes incorrect authorization. Remote exploitation of the attack is possible. The exploit has been published and may be used. The pull request to fix this issue awaits acceptance.

Affected products (as reported)

VendorProductVersions
khoj-ai khoj 2.0.0-beta.02.0.0-beta.12.0.0-beta.22.0.0-beta.32.0.0-beta.42.0.0-beta.52.0.0-beta.62.0.0-beta.7

Weakness: CWE-863, CWE-285 · Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R

References