# CVE-2026-13508: khoj-ai khoj Conversation Sharing api_chat.py authorization

- Severity: Medium 5.1 (CVSS:4.0, scored by VulDB) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 5% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-06-28T21:45:10.327Z
- Modified: 2026-10-25T17:10:00.197Z
- Weaknesses: CWE-285, CWE-863
- SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial
- Assigned by: VulDB

## 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.

(As written by CVE List.)

## Affected

- khoj-ai khoj: 2.0.0-beta.0; 2.0.0-beta.1; 2.0.0-beta.2; 2.0.0-beta.3; 2.0.0-beta.4; 2.0.0-beta.5; 2.0.0-beta.6; 2.0.0-beta.7; 2.0.0-beta.8; 2.0.0-beta.9; 2.0.0-beta.10; 2.0.0-beta.11; and 17 more

## Every score

- VulDB: CVSS:4.0 5.1 Medium `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`
- VulDB: CVSS:3.1 5.5 Medium `CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:3.0 5.5 Medium `CVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R`
- VulDB: CVSS:2.0 6.5 Medium `AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR`

## References

- <https://github.com/khoj-ai/khoj/issues/1327> (exploit, issue-tracking)
- <https://vuldb.com/vuln/374516> (technical-description, vdb-entry)
- <https://vuldb.com/vuln/374516/cti> (permissions-required, signature)
- <https://vuldb.com/cve/CVE-2026-13508> (third-party-advisory)
- <https://vuldb.com/submit/838812> (third-party-advisory)
- <https://github.com/khoj-ai/khoj/pull/1328> (issue-tracking, patch)
- <https://github.com/khoj-ai/khoj/> (product)

## Sources

- CVE List: [CVE-2026-13508](https://www.cve.org/CVERecord?id=CVE-2026-13508), CVE Terms of Use, modified 2026-06-29
- NVD: [CVE-2026-13508](https://nvd.nist.gov/vuln/detail/CVE-2026-13508), Public domain, modified 2026-10-25

---

Page: https://cve.day/CVE-2026-13508 · Whole record: https://cve.day/CVE-2026-13508.json · Rebuilt by cve.day 2026-11-25T22:59:26.579Z
