{"cve":"CVE-2024-52294","nvd":{"published":"2024-12-30T17:15:09.467","modified":"2026-06-17T08:06:57.457","status":"Deferred","description":"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.","cvss_v4":null,"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N","score":4.3},"cwes":["CWE-639"],"references":["https://github.com/khoj-ai/khoj/commit/47d3c8c23597900af708bdc60aced3ae5d2064c1","https://github.com/khoj-ai/khoj/security/advisories/GHSA-hq4h-w933-jm6c","https://github.com/khoj-ai/khoj/security/advisories/GHSA-hq4h-w933-jm6c"],"products":[],"source":"nvd","synced_at":"2026-10-19T21:57:56.913276502+00:00"},"epss":{"cve":"CVE-2024-52294","score":0.00391,"percentile":0.33277,"date":"2026-10-31"},"kev":null,"osv":[{"id":"GHSA-hq4h-w933-jm6c","url":"https://osv.dev/vulnerability/GHSA-hq4h-w933-jm6c","summary":"khoj has an IDOR in subscription management allows unauthorized subscription modifications","modified":"2026-09-10T03:50:21.586447902Z","packages":[{"ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":["<1.29.0"],"fixed":["1.29.0"]}]},{"id":"PYSEC-2026-1493","url":"https://osv.dev/vulnerability/PYSEC-2026-1493","summary":"khoj has an IDOR in subscription management allows unauthorized subscription modifications","modified":"2026-07-07T17:46:46.025027863Z","packages":[{"ecosystem":"PyPI","name":"khoj","purl":"pkg:pypi/khoj","ranges":["<1.29.0"],"fixed":["1.29.0"]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}