Skip to content
Heist/ feed
Back to feed
Medium

Open Redirect in imartinez/privategpt

Type: advisorySources: OSV

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.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-5936
Confirmed fixed CVEs
Not specified
Updated in this feed
4 Nov 2026, 14:13 UTC · Revision 1

Source evidence

Open Redirect in imartinez/privategpt

core-osv · Original source

Published 27 Jun 2024, 18:45 UTC

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.

osv:CVE-2024-5936
Complete source record
{
  "id": "28aaff052534d0b025e3888b22471c6368db3215f0bfc43d117431065d6b8779",
  "url": "https://osv.dev/vulnerability/CVE-2024-5936",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "Open Redirect in imartinez/privategpt",
    "summary": "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.",
    "evidence": "osv:CVE-2024-5936",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-5936",
      "aliases": [
        "CVE-2024-5936"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/I:L/A:N"
        }
      ],
      "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-5936.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:36.177478885Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/43f05c1e-d7b8-45e2-b1fe-48faf1e3a48d",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5936.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-5936"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-601"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5936.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-5936",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 503527,
  "published_at": "2024-06-27T18:45:31.598+00:00"
}