{"schema":"/api/v1/schema/cve.json","api_version":"1","id":"CVE-2024-52294","published":"2024-12-30T17:15:09.467000Z","last_modified":"2026-06-17T08:06:57.457000Z","status":"Deferred","cvss":{"version":"3.1","score":4.3,"severity":"MEDIUM","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","source":"security-advisories@github.com","primary":false},"auth":true,"cwes":["CWE-639"],"cpes":[],"cpes_truncated":false,"vendors":["khoj-ai"],"products":["khoj-ai/khoj"],"ssvc":{"exploitation":"poc","automatable":"no","technical_impact":"partial"},"epss":{"score":0.00541,"percentile":0.39103,"date":"2026-11-30","model_version":"v2026.06.15"},"cat":"app","platform":"multi","eol":false,"packages":[{"advisory":"GHSA-hq4h-w933-jm6c","ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":[{"introduced":"0","fixed":"1.29.0"}],"versions":["1.20.1.dev11","1.20.1.dev2","1.20.1.dev3","1.20.1.dev4","1.20.1.dev5","1.20.1.dev6","1.20.2","1.20.2.dev1","1.20.2.dev5","1.20.2.dev6","1.20.2.dev8","1.20.3","1.20.3.dev1","1.20.3.dev10","1.20.3.dev11","1.20.3.dev13","1.20.3.dev14","1.20.3.dev15","1.20.3.dev2","1.20.4","1.20.4.dev1","1.20.4.dev13","1.20.4.dev2","1.20.4.dev5","1.20.4.dev6","1.20.4.dev8","1.20.4.dev9","1.20.5.dev1","1.20.5.dev10","1.20.5.dev15","1.20.5.dev16","1.20.5.dev17","1.20.5.dev18","1.20.5.dev22","1.20.5.dev8","1.21.0","1.21.1","1.21.1.dev1","1.21.1.dev2","1.21.2","1.21.2.dev2","1.21.3","1.21.3.dev5","1.21.3.dev6","1.21.4","1.21.4.dev1","1.21.4.dev4","1.21.4.dev8","1.21.4.dev9","1.21.5","1.21.5.dev1","1.21.5.dev5","1.21.6","1.21.6.dev13","1.21.6.dev14","1.21.6.dev6","1.21.7.dev1","1.21.7.dev4","1.21.7.dev6","1.21.7.dev7","1.21.7.dev9","1.22.0","1.22.1","1.22.1.dev1","1.22.2","1.22.2.dev10","1.22.2.dev11","1.22.2.dev12","1.22.2.dev9","1.22.3","1.22.3.dev5","1.22.3.dev6","1.22.4.dev1","1.22.4.dev12","1.22.4.dev13","1.22.4.dev2","1.22.4.dev6","1.22.4.dev7","1.23.0","1.23.1","1.23.1.dev1","1.23.2","1.23.2.dev1","1.23.2.dev2","1.23.3","1.23.3.dev1","1.23.3.dev18","1.23.3.dev2","1.23.3.dev3","1.23.3.dev4","1.23.3.dev5","1.23.3.dev7","1.23.4.dev1","1.23.4.dev11","1.23.4.dev12","1.23.4.dev2","1.23.4.dev3","1.23.4.dev4","1.23.4.dev7","1.24.0","1.24.1","1.24.1.dev14","1.24.1.dev3","1.24.1.dev4","1.24.1.dev5","1.24.1.dev7","1.24.1.dev8","1.24.1.dev9","1.24.2.dev10","1.24.2.dev14","1.24.2.dev15","1.24.2.dev16","1.24.2.dev19","1.24.2.dev2","1.24.2.dev28","1.24.2.dev3","1.24.2.dev31","1.24.2.dev33","1.24.2.dev34","1.24.2.dev4","1.24.2.dev6","1.24.2.dev7","1.24.2.dev8","1.24.2.dev9","1.25.0","1.25.1.dev1","1.25.1.dev12","1.25.1.dev14","1.25.1.dev19","1.25.1.dev2","1.25.1.dev33","1.25.1.dev34","1.25.1.dev7","1.25.1.dev9","1.26.0","1.26.1","1.26.1.dev1","1.26.1.dev3","1.26.2","1.26.2.dev1","1.26.3","1.26.3.dev1","1.26.3.dev3","1.26.4","1.26.4.dev1","1.26.4.dev2","1.26.5.dev1","1.26.5.dev15","1.26.5.dev16","1.26.5.dev27","1.26.5.dev29","1.26.5.dev32","1.26.5.dev34","1.26.5.dev35","1.26.5.dev37","1.26.5.dev43","1.26.5.dev44","1.27.0","1.27.1","1.27.1.dev1","1.27.2.dev1","1.27.2.dev12","1.27.2.dev13","1.27.2.dev130","1.27.2.dev14","1.27.2.dev15","1.27.2.dev16","1.27.2.dev167","1.27.2.dev18","1.27.2.dev2","1.27.2.dev29","1.28.0","1.28.1","1.28.1.dev1","1.28.2","1.28.2.dev1","1.28.3","1.28.3.dev1","1.28.4.dev1","1.28.4.dev11","1.28.4.dev12","1.28.4.dev13","1.28.4.dev2","1.28.4.dev22","1.28.4.dev23","1.28.4.dev24","1.28.4.dev3","1.28.4.dev7","1.28.4.dev71","1.28.4.dev72","1.28.4.dev76","1.28.4.dev77","1.28.4.dev78","1.28.4.dev79","1.28.4.dev81","1.28.4.dev89","1.28.4.dev90","1.28.4.dev92","1.28.4.dev93","1.28.4.dev94"],"versions_truncated":false},{"advisory":"PYSEC-2026-1493","ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":[{"introduced":"0","fixed":"1.29.0"}],"versions":["1.20.1.dev11","1.20.1.dev2","1.20.1.dev3","1.20.1.dev4","1.20.1.dev5","1.20.1.dev6","1.20.2","1.20.2.dev1","1.20.2.dev5","1.20.2.dev6","1.20.2.dev8","1.20.3","1.20.3.dev1","1.20.3.dev10","1.20.3.dev11","1.20.3.dev13","1.20.3.dev14","1.20.3.dev15","1.20.3.dev2","1.20.4","1.20.4.dev1","1.20.4.dev13","1.20.4.dev2","1.20.4.dev5","1.20.4.dev6","1.20.4.dev8","1.20.4.dev9","1.20.5.dev1","1.20.5.dev10","1.20.5.dev15","1.20.5.dev16","1.20.5.dev17","1.20.5.dev18","1.20.5.dev22","1.20.5.dev8","1.21.0","1.21.1","1.21.1.dev1","1.21.1.dev2","1.21.2","1.21.2.dev2","1.21.3","1.21.3.dev5","1.21.3.dev6","1.21.4","1.21.4.dev1","1.21.4.dev4","1.21.4.dev8","1.21.4.dev9","1.21.5","1.21.5.dev1","1.21.5.dev5","1.21.6","1.21.6.dev13","1.21.6.dev14","1.21.6.dev6","1.21.7.dev1","1.21.7.dev4","1.21.7.dev6","1.21.7.dev7","1.21.7.dev9","1.22.0","1.22.1","1.22.1.dev1","1.22.2","1.22.2.dev10","1.22.2.dev11","1.22.2.dev12","1.22.2.dev9","1.22.3","1.22.3.dev5","1.22.3.dev6","1.22.4.dev1","1.22.4.dev12","1.22.4.dev13","1.22.4.dev2","1.22.4.dev6","1.22.4.dev7","1.23.0","1.23.1","1.23.1.dev1","1.23.2","1.23.2.dev1","1.23.2.dev2","1.23.3","1.23.3.dev1","1.23.3.dev18","1.23.3.dev2","1.23.3.dev3","1.23.3.dev4","1.23.3.dev5","1.23.3.dev7","1.23.4.dev1","1.23.4.dev11","1.23.4.dev12","1.23.4.dev2","1.23.4.dev3","1.23.4.dev4","1.23.4.dev7","1.24.0","1.24.1","1.24.1.dev14","1.24.1.dev3","1.24.1.dev4","1.24.1.dev5","1.24.1.dev7","1.24.1.dev8","1.24.1.dev9","1.24.2.dev10","1.24.2.dev14","1.24.2.dev15","1.24.2.dev16","1.24.2.dev19","1.24.2.dev2","1.24.2.dev28","1.24.2.dev3","1.24.2.dev31","1.24.2.dev33","1.24.2.dev34","1.24.2.dev4","1.24.2.dev6","1.24.2.dev7","1.24.2.dev8","1.24.2.dev9","1.25.0","1.25.1.dev1","1.25.1.dev12","1.25.1.dev14","1.25.1.dev19","1.25.1.dev2","1.25.1.dev33","1.25.1.dev34","1.25.1.dev7","1.25.1.dev9","1.26.0","1.26.1","1.26.1.dev1","1.26.1.dev3","1.26.2","1.26.2.dev1","1.26.3","1.26.3.dev1","1.26.3.dev3","1.26.4","1.26.4.dev1","1.26.4.dev2","1.26.5.dev1","1.26.5.dev15","1.26.5.dev16","1.26.5.dev27","1.26.5.dev29","1.26.5.dev32","1.26.5.dev34","1.26.5.dev35","1.26.5.dev37","1.26.5.dev43","1.26.5.dev44","1.27.0","1.27.1","1.27.1.dev1","1.27.2.dev1","1.27.2.dev12","1.27.2.dev13","1.27.2.dev130","1.27.2.dev14","1.27.2.dev15","1.27.2.dev16","1.27.2.dev167","1.27.2.dev18","1.27.2.dev2","1.27.2.dev29","1.28.0","1.28.1","1.28.1.dev1","1.28.2","1.28.2.dev1","1.28.3","1.28.3.dev1","1.28.4.dev1","1.28.4.dev11","1.28.4.dev12","1.28.4.dev13","1.28.4.dev2","1.28.4.dev22","1.28.4.dev23","1.28.4.dev24","1.28.4.dev3","1.28.4.dev7","1.28.4.dev71","1.28.4.dev72","1.28.4.dev76","1.28.4.dev77","1.28.4.dev78","1.28.4.dev79","1.28.4.dev81","1.28.4.dev89","1.28.4.dev90","1.28.4.dev92","1.28.4.dev93","1.28.4.dev94"],"versions_truncated":false}],"severity":"medium","priority_score":26,"links":{"html_es":"/es/cve/CVE-2024-52294/","html_en":"/en/cve/CVE-2024-52294/","nvd":"https://nvd.nist.gov/vuln/detail/CVE-2024-52294","cve_org":"https://www.cve.org/CVERecord?id=CVE-2024-52294"},"untrusted":{"vendor_name":"khoj-ai","product_name":"khoj","desc_en":"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 fixed in version 1.29.10. Support for arbitrarily presenting an email for update has been deprecated.","affected":[{"untrusted_vendor":"khoj-ai","untrusted_product":"khoj","versions":[]}],"references":[{"url":"https://github.com/khoj-ai/khoj/commit/47d3c8c23597900af708bdc60aced3ae5d2064c1","tags":[]},{"url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-hq4h-w933-jm6c","tags":[]}]}}