CVE-2026-13508
5.1
CVSS:4.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
Summary
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 Software
| Vendor | Product | Version Range | Status |
|---|---|---|---|
| khoj-ai | khoj | 2.0.0-beta.0 | affected |
| khoj-ai | khoj | 2.0.0-beta.1 | affected |
| khoj-ai | khoj | 2.0.0-beta.2 | affected |
| khoj-ai | khoj | 2.0.0-beta.3 | affected |
| khoj-ai | khoj | 2.0.0-beta.4 | affected |
| khoj-ai | khoj | 2.0.0-beta.5 | affected |
| khoj-ai | khoj | 2.0.0-beta.6 | affected |
| khoj-ai | khoj | 2.0.0-beta.7 | affected |
| khoj-ai | khoj | 2.0.0-beta.8 | affected |
| khoj-ai | khoj | 2.0.0-beta.9 | affected |
| khoj-ai | khoj | 2.0.0-beta.10 | affected |
| khoj-ai | khoj | 2.0.0-beta.11 | affected |
| khoj-ai | khoj | 2.0.0-beta.12 | affected |
| khoj-ai | khoj | 2.0.0-beta.13 | affected |
| khoj-ai | khoj | 2.0.0-beta.14 | affected |
| khoj-ai | khoj | 2.0.0-beta.15 | affected |
| khoj-ai | khoj | 2.0.0-beta.16 | affected |
| khoj-ai | khoj | 2.0.0-beta.17 | affected |
| khoj-ai | khoj | 2.0.0-beta.18 | affected |
| khoj-ai | khoj | 2.0.0-beta.19 | affected |
| khoj-ai | khoj | 2.0.0-beta.20 | affected |
| khoj-ai | khoj | 2.0.0-beta.21 | affected |
| khoj-ai | khoj | 2.0.0-beta.22 | affected |
| khoj-ai | khoj | 2.0.0-beta.23 | affected |
| khoj-ai | khoj | 2.0.0-beta.24 | affected |
| khoj-ai | khoj | 2.0.0-beta.25 | affected |
| khoj-ai | khoj | 2.0.0-beta.26 | affected |
| khoj-ai | khoj | 2.0.0-beta.27 | affected |
| khoj-ai | khoj | 2.0.0-beta.28 | affected |
Weaknesses
- CWE-863: Incorrect Authorization
- CWE-285: Improper Authorization
ADP Enrichment
CISA ADP Vulnrichment
- SSVC:
- Exploitation: poc
- Automatable: no
- Technical Impact: partial
References
- https://vuldb.com/vuln/374516
- https://vuldb.com/vuln/374516/cti
- https://vuldb.com/cve/CVE-2026-13508
- https://vuldb.com/submit/838812
- https://github.com/khoj-ai/khoj/issues/1327
- https://github.com/khoj-ai/khoj/pull/1328
- https://github.com/khoj-ai/khoj/
Feedback
Was this page helpful?
Glad to hear it! Please tell us how we can improve.
Sorry to hear that. Please tell us how we can improve.