Auth bypass in Khoj-Ai Khoj
CVE-2026-13508
- CVSS v3
- 5.5 Medium
- Public exploits
- None known
- EPSS
- 0.003 · 21.4th percentile
- Published
- 2026-06-28
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.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 5.5 (Medium). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L.
- Attack Vector
- Network
AV:N - Attack Complexity
- Low
AC:L - Privileges Required
- Low
PR:L - User Interaction
- Required
UI:R - Scope
- Unchanged
S:U - Confidentiality
- Low
C:L - Integrity
- Low
I:L - Availability
- Low
A:L
EPSS exploit prediction
EPSS 0.003, 21.4th percentile (last changed ); unchanged over 30 days. About EPSS.
Affected products
- Khoj-Ai Khoj — versions 2.0.0-beta.0, 2.0.0-beta.1, 2.0.0-beta.2
Weakness classification (CWE)
References
- github.com/khoj-ai/khoj/ (product)
- github.com/khoj-ai/khoj/issues/1327 (issue-tracking, exploit)
- github.com/khoj-ai/khoj/pull/1328 (issue-tracking, patch)
- CVE-2026-13508 | CVE Analysis and Report (third-party-advisory)
- Submit #838812 | Khoj AI Khoj Source commit e8631261400e0a04c5063e91e498b549976ffc53; affected released versions are unknown. CWE-863: Incorrect Authorization (third-party-advisory)
- VDB-374516 | khoj-ai khoj Conversation Sharing api_chat.py authorization (technical-description, vdb-entry)
- VDB-374516 | CTI Indicators (IOB, IOC, IOA) (signature, permissions-required)