p PatchFirst

PatchFirst · Свежие уязвимости

Уязвимости khoj

За последние 30 дней в khoj опубликовано уязвимостей: 0; в каталоге KEV: 0.

Фильтры уязвимостей
Сбросить фильтры

Уязвимостей: 4

  1. GHSA-62mm-xwmv-crhg

    Высокий · CVSS 8.7Есть исправление

    khoj has an unauthenticated path traversal in /home/ endpoint that allows file read from server filesystem

    ### Summary The `/home/{file_path:path}` endpoint in `web_client.py` serves static files by directly concatenating the user-supplied `file_path` with the `home_directory` constant. There is no path traversal filtering, no path normalization check, and no authentication required. An attacker can use `../` sequences to read arbitrary files from the server filesystem. ### Details **Vulnerable code** — `src/khoj/routers/web_client.py` lines 46-49: ```python @web_client.get("/home/{file_path:path}", response_class=FileResponse) def home_static_files(file_path: str): """Serve static files from the home landing page directory""" return Fil

    • Обновитесь до 2.0.0-beta.25
    Опубликовано Обновлено
  2. CVE-2025-69207

    Средний · CVSS 5.4EPSS 0,42%Нет опубликованного исправления

    Khoj has an IDOR in Notion OAuth Flow Enables Index Poisoning

    Khoj is a self-hostable artificial intelligence app. Prior to 2.0.0-beta.23, an IDOR in the Notion OAuth callback allows an attacker to hijack any user's Notion integration by manipulating the state parameter. The callback endpoint accepts any user UUID without verifying the OAuth flow was initiated by that user, allowing attackers to replace victims' Notion configurations with their own, resulting in data poisoning and unauthorized access to the victim's Khoj search index. This attack requires knowing the user's UUID which can be leaked through shared conversations where an AI generated image is present. This vulnerability is fixed in 2.0.0-

    Опубликовано Обновлено
  3. CVE-2024-52294

    Средний · CVSS 4.3EPSS 0,39%Есть исправление

    khoj has an IDOR in subscription management that allows unauthorized subscription modifications

    Khoj is a self-hostable artificial intelligence app. Prior to version 1.29.10, an Insecure Direct Object Reference (IDOR) vulnerability in the update_subscription endpoint allows any authenticated user to manipulate other users' Stripe subscriptions by simply modifying the email parameter in the request. The vulnerability exists in the subscription endpoint at `/api/subscription`. The endpoint uses an email parameter as a direct reference to user subscriptions without verifying object ownership. While authentication is required, there is no authorization check to verify if the authenticated user owns the referenced subscription. The issue was

    • Обновитесь до 1.29.0
    Опубликовано Обновлено
  4. CVE-2024-43396

    Средний · CVSS 5.4EPSS 0,55%Есть исправление

    Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature)

    Khoj is an application that creates personal AI agents. The Automation feature allows a user to insert arbitrary HTML inside the task instructions, resulting in a Stored XSS. The q parameter for the /api/automation endpoint does not get correctly sanitized when rendered on the page, resulting in the ability of users to inject arbitrary HTML/JS. This vulnerability is fixed in 1.15.0.

    • Обновитесь до 1.15.0
    Опубликовано Обновлено

Проверьте свой сервер

Сопоставьте установленный стек и версии со свежими базами уязвимостей.

Проверьте свой сервер →