{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "cpe": "cpe:2.3:a:pribai:privategpt:0.5.0:*:*:*:*:*:*:*",
            "extracted_events": [
              {
                "introduced": "0.5.0"
              },
              {
                "last_affected": "0.5.0"
              }
            ],
            "source": "CPE_STRING"
          },
          "events": [
            {
              "introduced": "94ef38cbba8fe5e406eb192efafe774b9aadb564"
            },
            {
              "last_affected": "94ef38cbba8fe5e406eb192efafe774b9aadb564"
            }
          ],
          "repo": "https://github.com/zylon-ai/private-gpt",
          "type": "GIT"
        }
      ],
      "versions": [
        "0.5.0"
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "@huntr_ai",
    "cwe_ids": [
      "CWE-601"
    ],
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5936.json"
  },
  "details": "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.",
  "id": "CVE-2024-5936",
  "modified": "2026-07-15T01:48:56.659532061Z",
  "published": "2024-06-27T18:45:31.598Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://huntr.com/bounties/43f05c1e-d7b8-45e2-b1fe-48faf1e3a48d"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5936.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2024-5936"
    }
  ],
  "schema_version": "1.8.0",
  "severity": [
    {
      "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N",
      "type": "CVSS_V3"
    }
  ],
  "summary": "Open Redirect in imartinez/privategpt"
}