CVE-2024-52294
published medium CVSS 3.1 · 4.3khoj has an IDOR in subscription management that allows unauthorized subscription modifications
Package status and fixes
| Distro / vendor | Release | Package / product | Publisher status | Fixed build | Source |
|---|---|---|---|---|---|
| khoj-ai | — | khoj< 1.29.0 | Affected | Not stated | GitHub_M |
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.
Related advisories
Vendor advisories explicitly linked to this CVE.
No linked advisories were found for this CVE.
Assessment
CVSS risk assessment and additional context for this vulnerability.
- CVSS version
- 3.1
- Base score
- 4.3 / 10
- Severity
- medium
- Provider
- GitHub_M · cna
- Vector string
- CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:L/A:N
Publisher product statements
Version ranges and default statuses as reported by each provider.
| Vendor | Product | Version status | Source |
|---|---|---|---|
| khoj-ai | khoj | < 1.29.0 (affected) | GitHub_M · cna |
Weaknesses
1- CWE-639 CWE-639: Authorization Bypass Through User-Controlled Key
References
2Provider assertions
2GitHub_M · cna
khoj has an IDOR in subscription management that allows unauthorized subscription modifications
CISA-ADP · adp
CISA ADP Vulnrichment
Provenance
- Schema
- 5.1
- Searchable
- yes
- Content hash
- 90110d483e3468e48d6cd465248a983b8cef58e515d28dc3fa20908b51af6aea
- Ingested
- 23 Sep 2026, 08:30:39 UTC
- Source record
- Official CVE record