khoj-ai khoj Conversation Sharing api_chat.py authorization
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-13508
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 19:53 UTC · Revision 1
Source evidence
khoj-ai khoj Conversation Sharing api_chat.py authorization
core-osv · Original sourcePublished 28 Jun 2026, 21:45 UTC
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.
osv:CVE-2026-13508
Complete source record
{
"id": "e75740433fd39b999a5aed2a98e061eacf79e0e4706a461c2b5ad2e7586395f4",
"url": "https://osv.dev/vulnerability/CVE-2026-13508",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "khoj-ai khoj Conversation Sharing api_chat.py authorization",
"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.",
"evidence": "osv:CVE-2026-13508",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-13508",
"aliases": [
"CVE-2026-13508"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/khoj-ai/khoj",
"type": "GIT",
"events": [
{
"introduced": "8cd2a1a96174c171e0080be4234b2b6147c3517c"
},
{
"last_affected": "9258f57dceab19d52a1a0bdac54eb38576c29187"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0-beta.1"
},
{
"last_affected": "2.0.0-beta.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.2"
},
{
"last_affected": "2.0.0-beta.2"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.3"
},
{
"last_affected": "2.0.0-beta.3"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.4"
},
{
"last_affected": "2.0.0-beta.4"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.5"
},
{
"last_affected": "2.0.0-beta.5"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.6"
},
{
"last_affected": "2.0.0-beta.6"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.7"
},
{
"last_affected": "2.0.0-beta.7"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.8"
},
{
"last_affected": "2.0.0-beta.8"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.9"
},
{
"last_affected": "2.0.0-beta.9"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.10"
},
{
"last_affected": "2.0.0-beta.10"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.11"
},
{
"last_affected": "2.0.0-beta.11"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.12"
},
{
"last_affected": "2.0.0-beta.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.13"
},
{
"last_affected": "2.0.0-beta.13"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.14"
},
{
"last_affected": "2.0.0-beta.14"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.15"
},
{
"last_affected": "2.0.0-beta.15"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.16"
},
{
"last_affected": "2.0.0-beta.16"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.17"
},
{
"last_affected": "2.0.0-beta.17"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.18"
},
{
"last_affected": "2.0.0-beta.18"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.19"
},
{
"last_affected": "2.0.0-beta.19"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.20"
},
{
"last_affected": "2.0.0-beta.20"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.21"
},
{
"last_affected": "2.0.0-beta.21"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.22"
},
{
"last_affected": "2.0.0-beta.22"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.23"
},
{
"last_affected": "2.0.0-beta.23"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.24"
},
{
"last_affected": "2.0.0-beta.24"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.25"
},
{
"last_affected": "2.0.0-beta.25"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.26"
},
{
"last_affected": "2.0.0-beta.26"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.27"
},
{
"last_affected": "2.0.0-beta.27"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "2.0.0-beta.28"
},
{
"last_affected": "2.0.0-beta.28"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "0"
},
{
"last_affected": "2.0.0-beta.28"
}
],
"source": "DESCRIPTION"
}
]
}
}
],
"versions": [
"2.0.0-beta.1",
"2.0.0-beta.10",
"2.0.0-beta.11",
"2.0.0-beta.12",
"2.0.0-beta.13",
"2.0.0-beta.14",
"2.0.0-beta.15",
"2.0.0-beta.16",
"2.0.0-beta.17",
"2.0.0-beta.18",
"2.0.0-beta.19",
"2.0.0-beta.2",
"2.0.0-beta.20",
"2.0.0-beta.21",
"2.0.0-beta.22",
"2.0.0-beta.23",
"2.0.0-beta.24",
"2.0.0-beta.25",
"2.0.0-beta.26",
"2.0.0-beta.27",
"2.0.0-beta.28",
"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"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-13508.json"
}
}
],
"modified": "2026-10-28T02:30:38.896850166Z",
"provider": "osv",
"references": [
"https://github.com/khoj-ai/khoj/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13508.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-13508",
"https://vuldb.com/cve/CVE-2026-13508",
"https://vuldb.com/submit/838812",
"https://vuldb.com/vuln/374516",
"https://github.com/khoj-ai/khoj/issues/1327",
"https://vuldb.com/vuln/374516/cti",
"https://github.com/khoj-ai/khoj/pull/1328"
],
"provider_metadata": {
"cwe_ids": [
"CWE-285",
"CWE-863"
],
"cna_assigner": "VulDB",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "2.0.0-beta.0"
},
{
"last_affected": "2.0.0-beta.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/13xxx/CVE-2026-13508.json"
}
},
"related_cves": [
{
"value": "CVE-2026-13508",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 506383,
"published_at": "2026-06-28T21:45:10.327+00:00"
}