p PatchFirst

PatchFirst · Aktuelle Sicherheitslücken

Sicherheitslücken in khoj

In den letzten 30 Tagen veröffentlichte Sicherheitslücken für khoj: 0. Davon im KEV-Katalog: 0.

Sicherheitslücken filtern
Filter zurücksetzen

Sicherheitslücken: 4

  1. GHSA-62mm-xwmv-crhg

    Hoch · CVSS 8.7Korrektur verfügbar

    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

    • Auf 2.0.0-beta.25 aktualisieren
    Veröffentlicht Aktualisiert
  2. CVE-2025-69207

    Mittel · CVSS 5.4EPSS 0,42%Keine Korrektur veröffentlicht

    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-

    Veröffentlicht Aktualisiert
  3. CVE-2024-52294

    Mittel · CVSS 4.3EPSS 0,39%Korrektur verfügbar

    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

    • Auf 1.29.0 aktualisieren
    Veröffentlicht Aktualisiert
  4. CVE-2024-43396

    Mittel · CVSS 5.4EPSS 0,55%Korrektur verfügbar

    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.

    • Auf 1.15.0 aktualisieren
    Veröffentlicht Aktualisiert

Prüfen Sie Ihren Server

Gleichen Sie Ihren installierten Stack und seine Versionen mit den aktuellen Sicherheitsmeldungen ab.

Prüfen Sie Ihren Server →