---
id: CVE-2026-119337
title: >-
  RAGFlow: OpenAI-compatible agent completion bypasses private canvas
  authorization
summary: >-
  RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. From
  0.25.2 until 0.27.3, POST /api/v1/agents/chat/completions invokes
  completion_openai and returns through the openai-compatible branch before
  UserCanvasService.acc…
severity: high
cvss: 7.1
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N'
cvssSource: cna
cwe:
  - CWE-862
vendor: infiniflow
product: ragflow
affected:
  - 'ragflow >= 0.25.2, < 0.27.3'
published: '2026-10-30'
updated: '2026-10-30'
sourceUpdated: '2026-10-30T20:10:27.373Z'
source: CVEORG
sourceUrl: 'https://www.cve.org/CVERecord?id=CVE-2026-119337'
references:
  - url: >-
      https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv
    label: >-
      https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv
  - url: 'https://github.com/infiniflow/ragflow/pull/19817'
    label: 'https://github.com/infiniflow/ragflow/pull/19817'
  - url: >-
      https://github.com/infiniflow/ragflow/commit/20180790e1a8c55553a2f3e75718f3d65178ae6d
    label: >-
      https://github.com/infiniflow/ragflow/commit/20180790e1a8c55553a2f3e75718f3d65178ae6d
  - url: 'https://github.com/infiniflow/ragflow/releases/tag/v0.27.3'
    label: 'https://github.com/infiniflow/ragflow/releases/tag/v0.27.3'
tags:
  - cve.org
epss: 0.00335
epssPercentile: 0.27037
ingestedAt: '2026-11-05T16:24:31.455Z'
---

## Overview

RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. From 0.25.2 until 0.27.3, POST /api/v1/agents/chat/completions invokes completion_openai and returns through the openai-compatible branch before UserCanvasService.accessible() checks whether the caller may access the requested agent. An authenticated user who knows another user's private agent UUID can execute that Only me workflow and read its output across the user or tenant boundary; configured tools may also cause side effects, but stronger impacts were not demonstrated. This issue is fixed in version 0.27.3.

## Affected

- `ragflow >= 0.25.2, < 0.27.3`

## Remediation

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