Incorrect Authorization in khoj-ai Khoj API Chat Feature
CVE-2026-13508

5.1MEDIUM

Key Information:

Vendor

Khoj-ai

Status
Vendor
CVE Published:
28 June 2026

Badges

๐Ÿ‘พ Exploit Exists๐ŸŸก Public PoC

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

Score:
5.1
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
Low
Attack Required:
None
Privileges Required:
Undefined
User Interaction:
Unknown

Timeline

  • ๐ŸŸก

    Public PoC available

  • ๐Ÿ‘พ

    Exploit known to exist

  • Vulnerability published

  • Vulnerability Reserved

Credit

Dem000000 (VulDB User)
VulDB CNA Team
.