CVE-2026-13508: Incorrect Authorization in khoj-ai khoj
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.
AI Analysis
Technical Summary
This vulnerability affects the khoj-ai khoj product in versions up to 2.0.0-beta.28. The issue is located in the src/khoj/routers/api_chat.py file within the Conversation Sharing Handler component. An attacker can manipulate the conversation.agent argument, leading to incorrect authorization checks. This flaw allows remote attackers to potentially bypass intended access controls. Although an exploit has been published, no official patch or remediation has yet been released; a pull request containing a fix is awaiting acceptance.
Potential Impact
The vulnerability allows remote attackers with limited privileges to manipulate authorization controls, potentially gaining unauthorized access or actions within the conversation sharing functionality. The CVSS 4.0 base score of 5.1 reflects a medium severity impact with network attack vector, low attack complexity, and partial confidentiality, integrity, and availability impacts.
Mitigation Recommendations
No official fix or patch is currently available. A pull request with a fix exists but is not yet accepted. Users should monitor the vendor's repository or advisory channels for the acceptance and release of the fix. Until then, consider restricting access to the affected component or applying temporary access controls if feasible.
CVE-2026-13508: Incorrect Authorization in khoj-ai khoj
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.
CVSS v4.0
Score 5.1medium
Affected software
pkg:github/khoj-ai/khojcpe:2.3:a:khoj-ai:khoj:*:*:*:*:*:*:*:*Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability affects the khoj-ai khoj product in versions up to 2.0.0-beta.28. The issue is located in the src/khoj/routers/api_chat.py file within the Conversation Sharing Handler component. An attacker can manipulate the conversation.agent argument, leading to incorrect authorization checks. This flaw allows remote attackers to potentially bypass intended access controls. Although an exploit has been published, no official patch or remediation has yet been released; a pull request containing a fix is awaiting acceptance.
Potential Impact
The vulnerability allows remote attackers with limited privileges to manipulate authorization controls, potentially gaining unauthorized access or actions within the conversation sharing functionality. The CVSS 4.0 base score of 5.1 reflects a medium severity impact with network attack vector, low attack complexity, and partial confidentiality, integrity, and availability impacts.
Mitigation Recommendations
No official fix or patch is currently available. A pull request with a fix exists but is not yet accepted. Users should monitor the vendor's repository or advisory channels for the acceptance and release of the fix. Until then, consider restricting access to the affected component or applying temporary access controls if feasible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-06-28T06:21:13.647Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a419e6c27e9c79719b34973
Added to database: 06/28/2026, 22:21:32 UTC
Last enriched: 07/05/2026, 23:24:50 UTC
Last updated: 08/12/2026, 12:41:08 UTC
Views: 70
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.