CVE-2024-5936 Open Redirect in imartinez/privategpt

Medium 4.3 Published Updated

Attackers can redirect users to malicious URLs via the file parameter, enabling phishing and credential theft in PrivateGPT.

Exploited in the wild
Not known
Login needed
Not needed
Attackable
Over the internet
Victim action needed
A user has to click or open something
Fix
None listed

What is CVE-2024-5936?

CVE-2024-5936 is a medium-severity vulnerability in imartinez/privategpt, published on 27 Jun 2024. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.

Official description

An open redirect vulnerability exists in imartinez/privategpt version 0.5.0 due to improper handling of the 'file' parameter. This vulnerability allows attackers to redirect users to a URL specified by user-controlled input without proper validation or sanitization. The impact of this vulnerability includes potential phishing attacks, malware distribution, and credential theft.

Weakness: CWE-601

Which versions are affected by CVE-2024-5936?

It affects 1 product.

Products include Pribai Privategpt.

How do I fix CVE-2024-5936?

No fix has been published for CVE-2024-5936 yet. Limit exposure of the affected software until one is available.

Is CVE-2024-5936 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2024-5936 exists.

Public exploit code: 1 Nuclei template.

Sources

Also known as GHSA-gxxw-7m39-6fjm.

Is CVE-2024-5936 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free