Vulnerability DatabaseGHSA-564j-v29w-rqr6

GHSA-564j-v29w-rqr6
Python vulnerability analysis and mitigation

Overview

A moderate severity open redirect vulnerability (GHSA-564j-v29w-rqr6) was discovered in Khoj's login page affecting versions prior to 1.14.0. The vulnerability was disclosed on July 8, 2024, and allows attackers to use the 'next' parameter on the login page to redirect victims to malicious pages while masking them with legitimate-looking app.khoj.dev URLs (GitHub Advisory).

Technical details

The vulnerability exists in the authentication module (auth.py) where the 'next' parameter in the login URL is not properly validated. When a URL like https://app.khoj.dev/login?next=//example.com is accessed in Gecko-based browsers like Firefox, it redirects users to https://example.com. The issue was identified in the auth method at line 95 of the source code. The vulnerability has been assigned a CVSS v4.0 score of 6.3, indicating moderate severity, with attack vector being Network, attack complexity Low, and requiring no privileges (GitHub Advisory).

Impact

The vulnerability's impact is considered low and primarily poses a risk through potential phishing attempts. Attackers could exploit this vulnerability to redirect users to malicious websites while appearing to come from a legitimate Khoj domain (GitHub Advisory).

Mitigation and workarounds

The vulnerability has been patched in version 1.14.0 of Khoj. The fix involves implementing proper validation of the next URL parameter to ensure it only redirects to relative paths within the current domain (GitHub Commit).

Additional resources


SourceThis report was generated using AI

Related Python vulnerabilities:

CVE ID

Severity

Score

Technologies

Component name

CISA KEV exploit

Has fix

Published date

CVE-2025-67511CRITICAL9.6
  • PythonPython
  • cai-framework
NoNoDec 11, 2025
CVE-2025-13780CRITICAL9.1
  • PythonPython
  • pgadmin4
NoYesDec 11, 2025
CVE-2025-67644HIGH7.3
  • PythonPython
  • langgraph-checkpoint-sqlite
NoYesDec 11, 2025
CVE-2025-67720MEDIUM6.5
  • PythonPython
  • pyrofork
NoYesDec 11, 2025
CVE-2025-67485MEDIUM5.3
  • PythonPython
  • mad-proxy
NoNoDec 10, 2025

Free Vulnerability Assessment

Benchmark your Cloud Security Posture

Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.

Request assessment

Get a personalized demo

Ready to see Wiz in action?

"Best User Experience I have ever seen, provides full visibility to cloud workloads."
David EstlickCISO
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
Adam FletcherChief Security Officer
"We know that if Wiz identifies something as critical, it actually is."
Greg PoniatowskiHead of Threat and Vulnerability Management