Skip to content
OpenAdvisories

Package · PyPI

khoj

4 known vulnerabilities.

4 results · Feed

  • High —

    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 auth…

  • Medium 5.4

    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 witho…

  • Medium 4.3

    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…

  • Medium 5.4

    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 wh…