Incorrect Authorization in khoj-ai Khoj API Chat Feature
CVE-2026-13508
Key Information:
Badges
What is CVE-2026-13508?
A security flaw exists in the khoj-ai Khoj product affecting its conversation sharing handler. An issue has been identified in the file src/khoj/routers/api_chat.py, specifically within the handling of the argument conversation.agent. This vulnerability may allow unauthorized access and manipulation, enabling remote attackers to gain privileges that should not be granted. An exploit has been published, highlighting the urgency for users of affected versions to address this issue. A pull request to remediate the vulnerability is currently pending acceptance.
Affected Version(s)
khoj 2.0.0-beta.0
khoj 2.0.0-beta.1
khoj 2.0.0-beta.2
Exploit Proof of Concept (PoC)
PoC code is written by security researchers to demonstrate the vulnerability can be exploited. PoC code is also a key component for weaponization which could lead to ransomware.
References
CVSS V4
Timeline
- ๐ก
Public PoC available
- ๐พ
Exploit known to exist
Vulnerability published
Vulnerability Reserved
