PyPI (Python)Worst: High4 advisories

khoj: known vulnerabilities

khoj has 4 reviewed security advisories in the GitHub Advisory Database — 1 high, 3 moderate. The most recent was published 2026-09-25. Each one below lists the affected version range, the release that fixes it, its CVE and severity. SkyShield matches these against the khoj versions running across your servers, containers and images, and ranks what to patch first.

How to fix khoj

Upgrade khoj to a release at or above the fixed version shown for each advisory below. For PyPI (Python):

pip install --upgrade khoj (pin khoj>=2.0.0-beta.25)

SkyShield checks the installed version on every machine and container, so you can see which hosts are still on an affected release after you roll the fix out.

Advisories (4)

khoj has an unauthenticated path traversal in /home/ endpoint that allows file read from server filesystem High CWE-22 — Affected: from 2.0.0-beta.23 up to 2.0.0-beta.25. Fixed in 2.0.0-beta.25. Published 2026-09-25. GHSA-62mm-xwmv-crhg
Khoj has an IDOR in Notion OAuth Flow that Enables Index Poisoning Moderate 5.4 CWE-639 CWE-862 — Affected: up to and including 2.0.0b25.dev3. No fixed release is listed. Published 2026-02-02. GHSA-6whj-7qmg-86qj · CVE-2025-69207
khoj has an IDOR in subscription management allows unauthorized subscription modifications Moderate 4.3 CWE-639 — Affected: before 1.29.0. Fixed in 1.29.0. Published 2024-12-30. GHSA-hq4h-w933-jm6c · CVE-2024-52294
Khoj Vulnerable to Stored Cross-site Scripting In Automate (Preview feature) Moderate 5.4 CWE-79 — Affected: before 1.15.0. Fixed in 1.15.0. Published 2024-08-20. GHSA-cf72-vg59-4j4h · CVE-2024-43396

Find khoj across your fleet

Install one agent per server and connect your cloud. SkyShield matches your packages and images against GHSA, CISA KEV and EPSS and shows the fix per machine. Free for one server, then from $49 per server a month. Start free.