Auth bypass in Khoj-Ai Khoj
CVE-2026-13508
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.
EPSS exploit prediction
EPSS: 0.003 (19.1th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 19th percentile — 19.1% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: 0.000
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)
- vuldb.com/cve/CVE-2026-13508 (third-party-advisory)
- vuldb.com/submit/838812 (third-party-advisory)
- vuldb.com/vuln/374516 (technical-description, vdb-entry)
- vuldb.com/vuln/374516/cti (signature, permissions-required)
Frequently asked questions
- What is CVE-2026-13508?
- CVE-2026-13508 is a medium-severity vulnerability in Khoj-Ai Khoj, classified under Improper Authorization. CVSS score: 5.5/10. Published 2026-06-28.
- How severe is CVE-2026-13508?
- Medium severity. CVSS v3 base score is 5.5 out of 10.