PT-2024-37251 · Imartinez · Privategpt
Published
2024-06-27
·
Updated
2025-07-17
·
CVE-2024-5936
CVSS v3.1
6.1
Medium
| Vector | AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N |
Name of the Vulnerable Software and Affected Versions:
imartinez/privategpt version 0.5.0
Description:
An issue exists due to improper handling of the
file parameter, allowing attackers to redirect users to a URL specified by user-controlled input without proper validation or sanitization. This can lead to potential phishing attacks, malware distribution, and credential theft.Recommendations:
For version 0.5.0, consider restricting the use of the
file parameter until a patch is available to prevent unauthorized redirects. As a temporary workaround, validate and sanitize all user-controlled input to minimize the risk of exploitation.Exploit
Fix
Open Redirect
Found an issue in the description? Have something to add? Feel free to write us 👾
Weakness Enumeration
Related Identifiers
Affected Products
Privategpt