Cyber Resilience

CVE-2024-5936

Open Redirect in Pribai Privategpt 0.5.0

Public PoCOpen Redirect
Published
27 June 2024
Modified
17 July 2025
CVSS Score v3.1 6.1
Click a component to see what it means
Raw vectorCVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N
EPSS Score 0.29 98th percentile
Risk Priority 62 floored blend · peak EPSS

Summary

CVE-2024-5936 is a medium-severity Open Redirect (CWE-601) vulnerability in Pribai Privategpt. Its CVSS base score is 6.1 (Medium).

Operationally, exploitation aligns with the MITRE ATT&CK technique Phishing (T1566); ranked in the top 2% of CVEs by exploit likelihood; it is not currently listed in the CISA KEV catalog; a public proof-of-concept is referenced.

This vulnerability is AI-related — categorised as LLM Application Platforms; in the Other ATLAS/OWASP Terms risk domain.

The strongest mitigations our analysis identified map to SI-10 (Information Input Validation) and AC-4 (Information Flow Enforcement) — see the control section below for these in your framework.

OWASP Top 10 for Web (2025)

EU & UK References

Vulnerability Data

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…

more

vulnerability includes potential phishing attacks, malware distribution, and credential theft.

CWE(s)

AI Security AnalysisAI

AI Category
LLM Application Platforms
Risk Domain
Other ATLAS/OWASP Terms
OWASP Top 10 for LLMs 2025
None mapped
Classification Reason
PrivateGPT (imartinez/privategpt) is an open-source platform for running local/private AI assistants using LLMs for tasks like document Q&A, aligning with Enterprise AI Assistants as it provides assistant-like functionality with LLMs.

Related Threats

MITRE ATT&CK Enterprise Techniques

T1566 Phishing Initial Access
Adversaries may send phishing messages to gain access to victim systems.
Derived from this CVE’s CWE(s) via the direct CWE→ATT&CK cross-walk.

CVEs Like This One

CVE-2024-12063Same product: Pribai Privategpt
CVE-2024-3403Same product: Pribai Privategpt
CVE-2024-8018Same product: Pribai Privategpt
CVE-2024-4343Same product: Pribai Privategpt
CVE-2024-8029Same product: Pribai Privategpt
CVE-2024-5935Same product: Pribai Privategpt
CVE-2025-4515Same product: Pribai Privategpt
CVE-2024-3851Same product: Pribai Privategpt
CVE-2024-5186Same product: Pribai Privategpt
CVE-2026-26003Shared CWE-601

Affected Assets

pribai
privategpt
0.5.0

Mitigating Controls

Control response

Prevent
Stop it (NIST 800-53)

Detect
Catch it (NIST detect / respond)

Harden
Shrink the surface (DISA STIG)

Validate
Prove the fix (OWASP ASVS)
  • V3.7.2

Mitigating Controls (NIST 800-53 r5) AI

Input validation directly checks and rejects untrusted redirect targets before they are used in a response.

Information flow enforcement can restrict redirects to only approved/trusted destinations, stopping untrusted user-supplied URLs from being followed.

Mitigating Controls (NIST CSF 2.0) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→CSF cross-walk (authority under review) — links open the control.

PR.PS-06 mostly match
prevents

Secure SDLC practices directly require input validation and untrusted-redirect controls that prevent CWE-601.

Mitigating Controls (ISO/IEC 27001:2022 Annex A) AI

Derived directly from the weakness types (CWEs) cited in the NVD entry via our AI-authored CWE→ISO cross-walk (authority under review) — links open the control.

mitigates

Preventing access to attacker-controlled or malicious sites stops users from being redirected to untrusted locations via open-redirect or phishing links.

References