{"id":"CVE-2025-27135","aliases":["EUVD-2025-5395","GHSA-3gqj-66qm-25jq"],"status":"published","title":"RAGFlow SQL Injection vulnerability","description":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.","severity":{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-11","score":0.00621,"percentile":0.50252,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-89"],"published":"2025-02-25T18:16:58Z","modified":"2026-10-28T02:30:44Z","products":[{"vendor":"infiniflow","product":"ragflow"}],"references":[{"url":"https://github.com/infiniflow/ragflow/security/advisories/GHSA-3gqj-66qm-25jq","tags":["x_refsource_CONFIRM","Vendor Advisory","advisory"]},{"url":"https://github.com/infiniflow/ragflow/blob/v0.15.1/agent/component/exesql.py","tags":["x_refsource_MISC","Product","web"]},{"url":"https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42?pvs=4","tags":["x_refsource_MISC","Exploit","web"]},{"url":"https://swizzky.notion.site/ragflow-exesql-150ca6df7c03806989cefde915cf8e42","tags":["exploit","Exploit","evidence"]},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2025/27xxx/CVE-2025-27135.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2025-27135","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2025-27135","title":"RAGFlow SQL Injection vulnerability","description":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.","status":"published","published":"2025-02-25T18:16:58.667Z","modified":"2025-02-25T18:57:33.672Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high","assessor":"cna"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:32:42.751171Z"}],"euvd":[{"id":"EUVD-2025-5395","description":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.","status":"published","published":"2025-02-25T18:16:58Z","modified":"2025-02-25T18:57:33Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"updated_at":"2026-11-02T20:53:24.103419Z"}],"nvd":[{"id":"CVE-2025-27135","description":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.","status":"published","published":"2025-02-25T19:15:15.677Z","modified":"2026-06-17T09:03:04.65Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X","level":"high","assessor":"secondary"},{"version":"3.1","score":9.8,"vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","level":"critical","assessor":"primary"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T14:10:51.871789Z"}],"osv":[{"id":"CVE-2025-27135","title":"RAGFlow SQL Injection vulnerability","description":"RAGFlow is an open-source RAG (Retrieval-Augmented Generation) engine. Versions 0.15.1 and prior are vulnerable to SQL injection. The ExeSQL component extracts the SQL statement from the input and sends it directly to the database query. As of time of publication, no patched version is available.","status":"published","published":"2025-02-25T18:16:58.667Z","modified":"2026-10-28T02:30:44.29024017Z","cvss":[{"version":"4.0","score":8.9,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N/E:P","level":"high"}],"cwes":["CWE-89"],"updated_at":"2026-11-02T15:44:47.386092Z"}]}}
