Description
RAGFlow 0.24.0 contains improper access control in get_dataset (api/apps/evaluation_app). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution
Published: 2026-10-01
Score: 9.8 Critical
EPSS: < 1% Very Low
KEV: No
Impact: Remote Code Execution
Action: Immediate Patch
AI Analysis

Impact

RAGFlow version 0.24.0 contains an improper access control flaw in its get_dataset function of the evaluation API. The defect allows an unauthenticated user who can reach the /api/apps/evaluation_app endpoint to trigger attacker‑controlled code or command execution. This results in full code execution on the host running the service, compromising confidentiality, integrity, and availability. The flaw is described by CWE‑284 (Improper Access Control).

Affected Systems

The vulnerable component is the RAGFlow 0.24.0 evaluation API. No vendor or product name is specified beyond the generic RAGFlow identifier, and the only version provided is the 0.24.0 release. The weakness exists in the get_dataset endpoint of the evaluation app, meaning systems that expose this service are affected.

Risk and Exploitability

The CVSS score of 9.8 indicates a critical vulnerability, while the EPSS score of less than 1% suggests limited current exploitation activity. The flaw is not listed in the CISA KEV catalog. The likely attack vector is an unauthenticated HTTP request to the get_dataset endpoint, provided the attacker has network access to the RAGFlow instance. Exploitation would allow execution of arbitrary code on the host running the service, compromising all security properties.

Generated by OpenCVE AI on October 5, 2026 at 23:30 UTC.

Remediation

No solution or workaround provided in the CVE record.

OpenCVE Recommended Actions

  • Check for and install official patches from the RAGFlow developers as soon as they become available
  • Restrict access to the /api/apps/evaluation_app endpoint so that only trusted users or internal services can invoke get_dataset
  • Sanitize all inputs to the get_dataset function and eliminate any ability to inject commands or arbitrary code
  • Apply network segmentation and firewall rules to limit external exposure of the RAGFlow service
  • Continuously monitor API logs for anomalous requests that may indicate exploitation attempts

Generated by OpenCVE AI on October 5, 2026 at 23:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Tue, 06 Oct 2026 00:00:00 +0000

Type Values Removed Values Added
Title Improper Access Control in RAGFlow Evaluation API Allows Arbitrary Code Execution

Mon, 05 Oct 2026 22:30:00 +0000

Type Values Removed Values Added
Title Unrestricted Code Execution via Improper Access Control in RAGFlow Evaluation API
Weaknesses CWE-732
CWE-94

Mon, 05 Oct 2026 19:30:00 +0000

Type Values Removed Values Added
Weaknesses CWE-284
Metrics cvssV3_1

{'score': 9.8, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'poc', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 01 Oct 2026 23:15:00 +0000

Type Values Removed Values Added
Title Unrestricted Code Execution via Improper Access Control in RAGFlow Evaluation API
Weaknesses CWE-732
CWE-94

Thu, 01 Oct 2026 21:45:00 +0000

Type Values Removed Values Added
Description RAGFlow 0.24.0 contains improper access control in get_dataset (api/apps/evaluation_app). Depending on the exposed entry, an attacker can trigger attacker-controlled code or command execution
References

Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: mitre

Published:

Updated: 2026-10-05T18:57:34.196Z

Reserved: 2026-06-08T00:00:00.000Z

Link: CVE-2026-51897

cve-icon Vulnrichment

Updated: 2026-10-05T18:57:29.828Z

cve-icon NVD

Status : Deferred

Published: 2026-10-01T22:17:04.267

Modified: 2026-10-05T19:17:22.527

Link: CVE-2026-51897

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-10-05T23:45:18Z

Weaknesses