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).
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)
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
- VDB-374516 | khoj-ai khoj Conversation Sharing api_chat.py authorization vdb-entry, technical-description
- VDB-374516 | CTI Indicators (IOB, IOC, IOA) signature, permissions-required
- CVE-2026-13508 | CVE Analysis and Report third-party-advisory
- Submit #838812 | Khoj AI Khoj Source commit e8631261400e0a04c5063e91e498b549976ffc53; affected released versions are unknown. CWE-863: Incorrect Authorization third-party-advisory
- https://github.com/khoj-ai/khoj/issues/1327 exploit, issue-tracking
- https://github.com/khoj-ai/khoj/pull/1328 issue-tracking, patch
- https://github.com/khoj-ai/khoj/ product