Server Side Request Forgery (SSRF) in imartinez/privategpt
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2024-5186
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 4 Nov 2026, 16:39 UTC · Revision 1
Source evidence
Server Side Request Forgery (SSRF) in imartinez/privategpt
core-osv · Original sourcePublished 6 Jun 2024, 18:19 UTC
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.
osv:CVE-2024-5186
Complete source record
{
"id": "c1122d92a5d1c4c279c21a16aea74c8db4fa63cf9de310719a34de0b90356fa4",
"url": "https://osv.dev/vulnerability/CVE-2024-5186",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Server Side Request Forgery (SSRF) in imartinez/privategpt",
"summary": "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.",
"evidence": "osv:CVE-2024-5186",
"products": [],
"severity": "high",
"structured": {
"id": "CVE-2024-5186",
"aliases": [
"CVE-2024-5186"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:N/S:C/C:L/I:L/A:L"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/zylon-ai/private-gpt",
"type": "GIT",
"events": [
{
"introduced": "94ef38cbba8fe5e406eb192efafe774b9aadb564"
},
{
"last_affected": "94ef38cbba8fe5e406eb192efafe774b9aadb564"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:pribai:privategpt:0.5.0:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0.5.0"
},
{
"last_affected": "0.5.0"
}
],
"source": "CPE_STRING"
}
]
}
}
],
"versions": [
"0.5.0",
"v0.5.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2024-5186.json"
}
}
],
"modified": "2026-10-28T02:30:37.230139841Z",
"provider": "osv",
"references": [
"https://huntr.com/bounties/5f421645-3546-4a67-a421-ee1bc4b6e3a3",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5186.json",
"https://nvd.nist.gov/vuln/detail/CVE-2024-5186"
],
"provider_metadata": {
"cwe_ids": [
"CWE-918"
],
"cna_assigner": "@huntr_ai",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5186.json"
}
},
"related_cves": [
{
"value": "CVE-2024-5186",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 504814,
"published_at": "2024-06-06T18:19:57.023+00:00"
}