Skip to content
Heist/ feed
Back to feed
Medium

CSRF Vulnerability in imartinez/privategpt

Type: advisorySources: OSV

A Cross-Site Request Forgery (CSRF) vulnerability in version 0.5.0 of imartinez/privategpt allows an attacker to delete all uploaded files on the server. This can lead to data loss and service disruption for the application's users.

Products
Not specified
Affected versions
Not specified
Fixed versions
Not specified
CVEs
CVE-2024-5935
Confirmed fixed CVEs
Not specified
Updated in this feed
2 Nov 2026, 21:28 UTC · Revision 1

Source evidence

CSRF Vulnerability in imartinez/privategpt

core-osv · Original source

Published 27 Jun 2024, 18:45 UTC

A Cross-Site Request Forgery (CSRF) vulnerability in version 0.5.0 of imartinez/privategpt allows an attacker to delete all uploaded files on the server. This can lead to data loss and service disruption for the application's users.

osv:CVE-2024-5935
Complete source record
{
  "id": "5cd5969a0bf517ccf487803a2cc0cb60900d503c190220a814e795b791b90e08",
  "url": "https://osv.dev/vulnerability/CVE-2024-5935",
  "method": "structured",
  "payload": {
    "kind": "advisory",
    "title": "CSRF Vulnerability in imartinez/privategpt",
    "summary": "A Cross-Site Request Forgery (CSRF) vulnerability in version 0.5.0 of imartinez/privategpt allows an attacker to delete all uploaded files on the server. This can lead to data loss and service disruption for the application's users.",
    "evidence": "osv:CVE-2024-5935",
    "products": [],
    "severity": "medium",
    "structured": {
      "id": "CVE-2024-5935",
      "aliases": [
        "CVE-2024-5935"
      ],
      "metrics": [
        {
          "type": "CVSS_V3",
          "score": "CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:U/C:N/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-5935.json"
          }
        }
      ],
      "modified": "2026-10-28T02:30:23.712606372Z",
      "provider": "osv",
      "references": [
        "https://huntr.com/bounties/b374f1c9-fa25-4b52-a34d-5153afd5a295",
        "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5935.json",
        "https://nvd.nist.gov/vuln/detail/CVE-2024-5935"
      ],
      "provider_metadata": {
        "cwe_ids": [
          "CWE-352"
        ],
        "cna_assigner": "@huntr_ai",
        "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2024/5xxx/CVE-2024-5935.json"
      }
    },
    "related_cves": [
      {
        "value": "CVE-2024-5935",
        "evidence": "/id"
      }
    ],
    "security_relevant": true,
    "severity_evidence": "/severity/0/score"
  },
  "source_id": "core-osv",
  "document_id": 490239,
  "published_at": "2024-06-27T18:45:51.085+00:00"
}