{"url":"http://public2.vulnerablecode.io/api/packages/772119?format=json","purl":"pkg:pypi/khoj@1.17.1.dev233","type":"pypi","namespace":"","name":"khoj","version":"1.17.1.dev233","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":null,"latest_non_vulnerable_version":null,"affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/123795?format=json","vulnerability_id":"VCID-e33n-whey-23d9","summary":"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-beta.23.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2025-69207","reference_id":"","reference_type":"","scores":[{"value":"0.00013","scoring_system":"epss","scoring_elements":"0.01988","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2025-69207"},{"reference_url":"https://github.com/khoj-ai/khoj","reference_id":"","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/khoj-ai/khoj"},{"reference_url":"https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b","reference_id":"1b7ccd141d47f365edeccc57d7316cb0913d748b","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-03T15:44:16Z/"}],"url":"https://github.com/khoj-ai/khoj/commit/1b7ccd141d47f365edeccc57d7316cb0913d748b"},{"reference_url":"https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23","reference_id":"2.0.0-beta.23","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-03T15:44:16Z/"}],"url":"https://github.com/khoj-ai/khoj/releases/tag/2.0.0-beta.23"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69207","reference_id":"CVE-2025-69207","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-69207"},{"reference_url":"https://github.com/advisories/GHSA-6whj-7qmg-86qj","reference_id":"GHSA-6whj-7qmg-86qj","reference_type":"","scores":[{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""}],"url":"https://github.com/advisories/GHSA-6whj-7qmg-86qj"},{"reference_url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj","reference_id":"GHSA-6whj-7qmg-86qj","reference_type":"","scores":[{"value":"5.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:L"},{"value":"MODERATE","scoring_system":"cvssv3.1_qr","scoring_elements":""},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-02-03T15:44:16Z/"}],"url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-6whj-7qmg-86qj"}],"fixed_packages":[],"aliases":["CVE-2025-69207","GHSA-6whj-7qmg-86qj"],"risk_score":3.1,"exploitability":"0.5","weighted_severity":"6.2","resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-e33n-whey-23d9"},{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/43301?format=json","vulnerability_id":"VCID-uttt-6jnx-vygn","summary":"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.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52294","reference_id":"","reference_type":"","scores":[{"value":"0.00115","scoring_system":"epss","scoring_elements":"0.29854","published_at":"2026-06-11T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2024-52294"},{"reference_url":"https://github.com/khoj-ai/khoj","reference_id":"","reference_type":"","scores":[{"value":"4.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/khoj-ai/khoj"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52294","reference_id":"","reference_type":"","scores":[{"value":"4.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-52294"},{"reference_url":"https://github.com/khoj-ai/khoj/commit/47d3c8c23597900af708bdc60aced3ae5d2064c1","reference_id":"47d3c8c23597900af708bdc60aced3ae5d2064c1","reference_type":"","scores":[{"value":"4.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-12-30T16:52:16Z/"}],"url":"https://github.com/khoj-ai/khoj/commit/47d3c8c23597900af708bdc60aced3ae5d2064c1"},{"reference_url":"https://github.com/advisories/GHSA-hq4h-w933-jm6c","reference_id":"GHSA-hq4h-w933-jm6c","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-hq4h-w933-jm6c"},{"reference_url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-hq4h-w933-jm6c","reference_id":"GHSA-hq4h-w933-jm6c","reference_type":"","scores":[{"value":"4.3","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N"},{"value":"MODERATE","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2024-12-30T16:52:16Z/"}],"url":"https://github.com/khoj-ai/khoj/security/advisories/GHSA-hq4h-w933-jm6c"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/372526?format=json","purl":"pkg:pypi/khoj@1.29.0","is_vulnerable":true,"affected_by_vulnerabilities":[{"vulnerability":"VCID-e33n-whey-23d9"}],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/khoj@1.29.0"}],"aliases":["CVE-2024-52294","GHSA-hq4h-w933-jm6c"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-uttt-6jnx-vygn"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:pypi/khoj@1.17.1.dev233"}