{
  "affected": [
    {
      "ranges": [
        {
          "database_specific": {
            "extracted_events": [
              {
                "range": [
                  {
                    "introduced": "0"
                  },
                  {
                    "last_affected": "0.24.0"
                  }
                ],
                "source": "DESCRIPTION"
              }
            ]
          },
          "events": [
            {
              "introduced": "0"
            },
            {
              "last_affected": "392ec99651da78f6a8e1a2f60fe4818a95a8651d"
            }
          ],
          "repo": "https://github.com/infiniflow/ragflow",
          "type": "GIT"
        }
      ]
    }
  ],
  "database_specific": {
    "cna_assigner": "mitre",
    "osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51895.json"
  },
  "details": "Ragflow 0.24.0 and prior contains improper access control in update_metadata_setting (api/apps/kb_app.py). Depending on the exposed entry, an attacker can perform unauthorized cross-session or privilege-crossing operations.",
  "id": "CVE-2026-51895",
  "modified": "2026-10-28T02:30:45.260014969Z",
  "published": "2026-10-01T00:00:00Z",
  "references": [
    {
      "type": "WEB",
      "url": "https://gist.github.com/Ro1ME/0d1fbed64fa0d73d159a195a827cdb93"
    },
    {
      "type": "ADVISORY",
      "url": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/51xxx/CVE-2026-51895.json"
    },
    {
      "type": "ADVISORY",
      "url": "https://nvd.nist.gov/vuln/detail/CVE-2026-51895"
    },
    {
      "type": "REPORT",
      "url": "https://github.com/infiniflow/ragflow/issues/15268"
    }
  ],
  "schema_version": "1.9.2",
  "severity": [
    {
      "score": "CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N",
      "type": "CVSS_V3"
    }
  ]
}