Authorization Bypass Through User-Controlled Key Affecting khoj package, versions [,1.29.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment made by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of concept
EPSS
0.04% (12th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-KHOJ-8553972
  • published31 Dec 2024
  • disclosed30 Dec 2024
  • creditadventure8812, Raphael (r0path)

Introduced: 30 Dec 2024

NewCVE-2024-52294  (opens in a new tab)
CWE-639  (opens in a new tab)

How to fix?

Upgrade khoj to version 1.29.0 or higher.

Overview

khoj is a Your Second Brain

Affected versions of this package are vulnerable to Authorization Bypass Through User-Controlled Key through the update_subscription endpoint. An authenticated attacker can modify other users' Stripe subscriptions by manipulating the email parameter in the request.

References

CVSS Scores

version 4.0
version 3.1