khoj-ai khoj Conversation Sharing api_chat.py authorization
Summary
| CVE | CVE-2026-13508 |
|---|---|
| State | PUBLISHED |
| Assigner | VulDB |
| Source Priority | CVE Program / NVD first with legacy fallback |
| Published | 2026-06-28 22:16:48 UTC |
| Updated | 2026-06-29 18:46:31 UTC |
| 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. |
Risk And Classification
Primary CVSS: v4.0 2 LOW from [email protected]
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/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
EPSS: 0.001650000 probability, percentile 0.060420000 (date 2026-06-30)
Problem Types: CWE-285 | CWE-863 | CWE-863 Incorrect Authorization | CWE-285 Improper Authorization
| Version | Source | Type | Score | Severity | Vector |
|---|---|---|---|---|---|
| 4.0 | [email protected] | Secondary | 2 | LOW | 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/C... |
| 4.0 | CNA | DECLARED | 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 |
| 3.1 | [email protected] | Secondary | 5.5 | MEDIUM | CVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L |
| 3.1 | CNA | DECLARED | 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 |
| 3.0 | CNA | DECLARED | 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 |
| 2.0 | [email protected] | Secondary | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P | |
| 2.0 | CNA | DECLARED | 6.5 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:ND/RC:UR |
CVSS v4.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowAttack Requirements
NonePrivileges Required
LowUser Interaction
PassiveConfidentiality
LowIntegrity
LowAvailability
LowSub Conf.
NoneSub Integrity
NoneSub Availability
NoneCVSS: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/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
CVSS v3.1 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.1/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L
CVSS v3.0 Breakdown
Attack Vector
NetworkAttack Complexity
LowPrivileges Required
LowUser Interaction
RequiredScope
UnchangedConfidentiality
LowIntegrity
LowAvailability
LowCVSS:3.0/AV:N/AC:L/PR:L/UI:R/S:U/C:L/I:L/A:L/E:P/RL:X/RC:R
Vendor Declared Affected Products
| Source | Vendor | Product | Version | Platforms |
|---|---|---|---|---|
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.0 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.1 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.2 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.3 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.4 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.5 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.6 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.7 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.8 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.9 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.10 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.11 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.12 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.13 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.14 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.15 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.16 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.17 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.18 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.19 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.20 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.21 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.22 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.23 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.24 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.25 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.26 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.27 | Not specified |
| CNA | Khoj-ai | Khoj | affected 2.0.0-beta.28 | Not specified |
References
| Reference | Source | Link | Tags |
|---|---|---|---|
| vuldb.com/vuln/374516 | [email protected] | vuldb.com | |
| github.com/khoj-ai/khoj | [email protected] | github.com | |
| vuldb.com/vuln/374516/cti | [email protected] | vuldb.com | |
| github.com/khoj-ai/khoj/issues/1327 | [email protected] | github.com | |
| vuldb.com/submit/838812 | [email protected] | vuldb.com | |
| vuldb.com/cve/CVE-2026-13508 | [email protected] | vuldb.com | |
| github.com/khoj-ai/khoj/pull/1328 | [email protected] | github.com | |
| CVE Program record | CVE.ORG | www.cve.org | canonical |
| NVD vulnerability detail | NVD | nvd.nist.gov | canonical, analysis |
Vendor Comments And Credit
Discovery Credit
CNA: Dem000000 (VulDB User) (en)
CNA: VulDB CNA Team (en)
Additional Advisory Data
| Source | Time | Event |
|---|---|---|
| CNA | 2026-06-28T00:00:00.000Z | Advisory disclosed |
| CNA | 2026-06-28T02:00:00.000Z | VulDB entry created |
| CNA | 2026-06-28T08:26:17.000Z | VulDB entry last update |
There are currently no legacy QID mappings associated with this CVE.