What’s Vulnerable › Vulnerabilities
CVE-2024-5186: Server Side Request Forgery (SSRF) in imartinez/privategpt
- Severity: high (CVSS 7.2 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.3% probability of exploitation in the next 30 days
- Public exploit or detection template: yes
- Published: 2024-06-06 · updated 2026-06-17
- Weakness: CWE-918
Description
A Server-Side Request Forgery (SSRF) vulnerability exists in the file upload section of imartinez/privategpt version 0.5.0. This vulnerability allows attackers to send crafted requests that could result in unauthorized access to the local network and potentially sensitive information. Specifically, by manipulating the 'path' parameter in a file upload request, an attacker can cause the application to make arbitrary requests to internal services, including the AWS metadata endpoint. This issue could lead to the exposure of internal servers and sensitive data.
Affected products
- imartinez/privategpt: 0.5.0
References
- https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3
- https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3
Get alerted when CVE-2024-5186 or the next vulnerability affects your stack