CVE-2026-13508

MEDIUM

khoj-ai khoj Conversation Sharing api_chat.py authorization

Title source: cna
STIX 2.1

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.

References (7)

Core 7
Core References
Vdb Entry, Technical Description vdb-entry technical-description
VDB-374516 | khoj-ai khoj Conversation Sharing api_chat.py authorization
https://vuldb.com/vuln/374516
Signature, Permissions Required signature permissions-required
VDB-374516 | CTI Indicators (IOB, IOC, IOA)
https://vuldb.com/vuln/374516/cti
Third Party Advisory third-party-advisory
CVE-2026-13508 | CVE Analysis and Report
https://vuldb.com/cve/CVE-2026-13508
Third Party Advisory third-party-advisory
Submit #838812 | Khoj AI Khoj Source commit e8631261400e0a04c5063e91e498b549976ffc53; affected released versions are unknown. CWE-863: Incorrect Authorization
https://vuldb.com/submit/838812
Exploit exploit issue-tracking
https://github.com/khoj-ai/khoj/issues/1327
Patch issue-tracking patch
https://github.com/khoj-ai/khoj/pull/1328

Scores

CVSS v3 5.5
EPSS 0.0016
EPSS Percentile 6.0%
Attack Vector NETWORK
CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L

CISA SSVC

Vulnrichment
Exploitation poc
Automatable no
Technical Impact partial

Details

CWE
CWE-285 CWE-863
Status published
Products (29)
khoj-ai/khoj 2.0.0-beta.0
khoj-ai/khoj 2.0.0-beta.1
khoj-ai/khoj 2.0.0-beta.10
khoj-ai/khoj 2.0.0-beta.11
khoj-ai/khoj 2.0.0-beta.12
khoj-ai/khoj 2.0.0-beta.13
khoj-ai/khoj 2.0.0-beta.14
khoj-ai/khoj 2.0.0-beta.15
khoj-ai/khoj 2.0.0-beta.16
khoj-ai/khoj 2.0.0-beta.17
... and 19 more
Published Jun 28, 2026
Tracked Since Jun 29, 2026