CVE-2026-13508
khoj-ai khoj Conversation Sharing api_chat.py authorization
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.
INFO
Published Date :
June 28, 2026, 10:16 p.m.
Last Modified :
June 29, 2026, 6:46 p.m.
Remotely Exploit :
Yes !
Source :
[email protected]
CVSS Scores
| Score | Version | Severity | Vector | Exploitability Score | Impact Score | Source |
|---|---|---|---|---|---|---|
| CVSS | 134c704f-9b21-4f2e-91b3-4a467353bcc0 | |||||
| CVSS 2.0 | MEDIUM | [email protected] | ||||
| CVSS 3.1 | MEDIUM | [email protected] | ||||
| CVSS 4.0 | LOW | [email protected] |
Solution
- Update khoj-ai to the patched version.
- Apply the pull request fix.
- Review conversation sharing access controls.
References to Advisories, Solutions, and Tools
Here, you will find a curated list of external links that provide in-depth
information, practical solutions, and valuable tools related to
CVE-2026-13508.
CWE - Common Weakness Enumeration
While CVE identifies
specific instances of vulnerabilities, CWE categorizes the common flaws or
weaknesses that can lead to vulnerabilities. CVE-2026-13508 is
associated with the following CWEs:
Common Attack Pattern Enumeration and Classification (CAPEC)
Common Attack Pattern Enumeration and Classification
(CAPEC)
stores attack patterns, which are descriptions of the common attributes and
approaches employed by adversaries to exploit the CVE-2026-13508
weaknesses.
We scan GitHub repositories to detect new proof-of-concept exploits. Following list is a collection of public exploits and proof-of-concepts, which have been published on GitHub (sorted by the most recently updated).
Results are limited to the first 15 repositories due to potential performance issues.
The following list is the news that have been mention
CVE-2026-13508 vulnerability anywhere in the article.
The following table lists the changes that have been made to the
CVE-2026-13508 vulnerability over time.
Vulnerability history details can be useful for understanding the evolution of a vulnerability, and for identifying the most recent changes that may impact the vulnerability's severity, exploitability, or other characteristics.
-
CVE Modified by 134c704f-9b21-4f2e-91b3-4a467353bcc0
Jun. 29, 2026
Action Type Old Value New Value Added SSVC {'id': 'CVE-2026-13508', 'role': 'CISA Coordinator', 'options': [{'exploitation': 'poc'}, {'automatable': 'no'}, {'technicalImpact': 'partial'}], 'version': '2.0.3', 'timestamp': '2026-06-29T13:39:09.379215Z'} -
New CVE Received by [email protected]
Jun. 28, 2026
Action Type Old Value New Value Added Affected [{'cpes': ['cpe:2.3:a:khoj-ai:khoj:*:*:*:*:*:*:*:*'], 'vendor': 'khoj-ai', 'modules': ['Conversation Sharing Handler'], 'product': 'khoj', 'versions': [{'status': 'affected', 'version': '2.0.0-beta.0'}, {'status': 'affected', 'version': '2.0.0-beta.1'}, {'status': 'affected', 'version': '2.0.0-beta.2'}, {'status': 'affected', 'version': '2.0.0-beta.3'}, {'status': 'affected', 'version': '2.0.0-beta.4'}, {'status': 'affected', 'version': '2.0.0-beta.5'}, {'status': 'affected', 'version': '2.0.0-beta.6'}, {'status': 'affected', 'version': '2.0.0-beta.7'}, {'status': 'affected', 'version': '2.0.0-beta.8'}, {'status': 'affected', 'version': '2.0.0-beta.9'}, {'status': 'affected', 'version': '2.0.0-beta.10'}, {'status': 'affected', 'version': '2.0.0-beta.11'}, {'status': 'affected', 'version': '2.0.0-beta.12'}, {'status': 'affected', 'version': '2.0.0-beta.13'}, {'status': 'affected', 'version': '2.0.0-beta.14'}, {'status': 'affected', 'version': '2.0.0-beta.15'}, {'status': 'affected', 'version': '2.0.0-beta.16'}, {'status': 'affected', 'version': '2.0.0-beta.17'}, {'status': 'affected', 'version': '2.0.0-beta.18'}, {'status': 'affected', 'version': '2.0.0-beta.19'}, {'status': 'affected', 'version': '2.0.0-beta.20'}, {'status': 'affected', 'version': '2.0.0-beta.21'}, {'status': 'affected', 'version': '2.0.0-beta.22'}, {'status': 'affected', 'version': '2.0.0-beta.23'}, {'status': 'affected', 'version': '2.0.0-beta.24'}, {'status': 'affected', 'version': '2.0.0-beta.25'}, {'status': 'affected', 'version': '2.0.0-beta.26'}, {'status': 'affected', 'version': '2.0.0-beta.27'}, {'status': 'affected', 'version': '2.0.0-beta.28'}]}] Added 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. Added CVSS V4.0 AV:N/AC:L/AT:N/PR:L/UI:P/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X Added CVSS V3.1 AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L Added CVSS V2 (AV:N/AC:L/Au:S/C:P/I:P/A:P) Added CWE CWE-285 Added CWE CWE-863 Added Reference https://github.com/khoj-ai/khoj/ Added Reference https://github.com/khoj-ai/khoj/issues/1327 Added Reference https://github.com/khoj-ai/khoj/pull/1328 Added Reference https://vuldb.com/cve/CVE-2026-13508 Added Reference https://vuldb.com/submit/838812 Added Reference https://vuldb.com/vuln/374516 Added Reference https://vuldb.com/vuln/374516/cti