---
id: CVE-2026-93013
title: >-
  RAGFlow through 0.27.2 contains a path traversal vulnerability in the
  dev_insert_chunks_from_file and dev_insert_metadata_from_file endpoints that
  allows authenticated attackers to read arbitrary files by supplying absolute
  file paths in…
summary: >-
  RAGFlow through 0.27.2 contains a path traversal vulnerability in the
  dev_insert_chunks_from_file and dev_insert_metadata_from_file endpoints that
  allows authenticated attackers to read arbitrary files by supplying absolute
  file paths in…
severity: medium
cvss: 4.3
cvssVector: 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N'
cwe:
  - CWE-22
vendor: infiniflow
product: ragflow
affected:
  - ragflow <= 0.27.2
published: '2026-09-17'
updated: '2026-09-21'
sourceUpdated: '2026-09-21T21:17:17.423'
source: NVD
sourceUrl: 'https://nvd.nist.gov/vuln/detail/CVE-2026-93013'
references:
  - url: 'https://github.com/infiniflow/ragflow'
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/infiniflow/ragflow/blob/v0.27.2/internal/handler/tenant.go#L360
    label: disclosure@vulncheck.com
  - url: >-
      https://github.com/infiniflow/ragflow/commit/aa78e8d224e0eab818d9fcd46f8791ebd73831bd
    label: disclosure@vulncheck.com
  - url: 'https://github.com/infiniflow/ragflow/issues/19122'
    label: disclosure@vulncheck.com
  - url: 'https://github.com/infiniflow/ragflow/pull/19591'
    label: disclosure@vulncheck.com
  - url: >-
      https://www.vulncheck.com/advisories/ragflow-through-0.27.2-tenant-import-endpoints-path-traversal
    label: disclosure@vulncheck.com
tags:
  - nvd
  - cve.org
ssvc:
  exploitation: none
  automatable: 'no'
  technicalImpact: partial
  timestamp: '2026-09-21T20:47:26.866578Z'
epss: 0.00511
epssPercentile: 0.41132
ingestedAt: '2026-09-17T16:21:47.718Z'
---

## Overview

RAGFlow through 0.27.2 contains a path traversal vulnerability in the dev_insert_chunks_from_file and dev_insert_metadata_from_file endpoints that allows authenticated attackers to read arbitrary files by supplying absolute file paths in the file_path parameter. Attackers with valid access tokens can exploit missing path validation to read any file accessible to the service, with disclosure limited to files matching expected JSON structures that are then written to datasets.

## Remediation

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