---
id: CVE-2026-51895
title: >-
  Ragflow 0.24.0 and prior contains improper access control in
  update_metadata_setting (api/apps/kb_app.py)
summary: >-
  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.
severity: medium
cvss: 6.5
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:N/I:H/A:N'
cwe:
  - CWE-284
published: '2026-10-01'
updated: '2026-10-02'
sourceUpdated: '2026-10-02T19:16:41.747'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-51895'
references:
  - url: 'https://gist.github.com/Ro1ME/0d1fbed64fa0d73d159a195a827cdb93'
    label: cve@mitre.org
  - url: 'https://github.com/infiniflow/ragflow/issues/15268'
    label: cve@mitre.org
  - url: 'https://github.com/infiniflow/ragflow/issues/15268'
    label: 134c704f-9b21-4f2e-91b3-4a467353bcc0
tags:
  - nvd
  - cve.org
  - exploit-available
exploitAvailable: true
ssvc:
  exploitation: poc
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-10-02T18:55:40.178208Z'
epss: 0.00219
epssPercentile: 0.12319
ingestedAt: '2026-10-01T23:03:32.778Z'
---

## Overview

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.

## Remediation

Refer to the linked advisories for vendor-supplied fixes and affected version ranges.
