{"id":"CVE-2026-121585","aliases":["EUVD-2026-116597","GHSA-qhwq-2pgm-vq8j"],"status":"published","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","severity":{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna","from":"cve"},"epss":{"day":"2026-11-12","score":0.00244,"percentile":0.1572,"model":"v2026.06.15"},"facts":{"in_kev":false,"known_exploited":false,"public_exploit":false,"fix_available":false},"cwes":["CWE-285","CWE-639"],"published":"2026-11-03T23:30:17Z","modified":"2026-11-07T03:39:25Z","products":[{"vendor":"infiniflow","product":"ragflow"}],"references":[{"url":"https://vuldb.com/vuln/430429","tags":["vdb-entry","technical-description","advisory"]},{"url":"https://vuldb.com/vuln/430429/cti","tags":["signature","permissions-required","report"]},{"url":"https://vuldb.com/cve/CVE-2026-121585","tags":["third-party-advisory","advisory"]},{"url":"https://vuldb.com/submit/1020561","tags":["third-party-advisory","advisory"]},{"url":"https://github.com/infiniflow/ragflow/issues/15123","tags":["broken-link","issue-tracking","report"]},{"url":"https://github.com/infiniflow/ragflow/pull/15124","tags":["issue-tracking","patch","fix"]},{"url":"https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read","tags":["exploit","evidence"]},{"url":"https://github.com/infiniflow/ragflow/","tags":["product","web"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121585","tags":["advisory"]},{"url":"https://github.com/infiniflow/ragflow"},{"url":"https://github.com/advisories/GHSA-qhwq-2pgm-vq8j"},{"url":"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121585.json","tags":["advisory"]}],"sources":{"cve":[{"id":"CVE-2026-121585","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","status":"published","published":"2026-11-03T23:30:17.239Z","modified":"2026-11-07T03:39:25.578Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","level":"medium","assessor":"cna"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C","level":"medium","assessor":"cna"},{"version":"3.0","score":4.3,"vector":"CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N/E:P/RL:X/RC:C","level":"medium","assessor":"cna"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C","assessor":"cna"}],"cwes":["CWE-639","CWE-285"],"updated_at":"2026-11-07T04:32:31.343254Z"}],"euvd":[{"id":"EUVD-2026-116597","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","status":"published","published":"2026-11-03T23:30:17Z","modified":"2026-11-07T03:39:25Z","cvss":[{"version":"4.0","score":5.3,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","level":"medium"}],"updated_at":"2026-11-07T05:08:24.125118Z"}],"ghsa":[{"id":"GHSA-qhwq-2pgm-vq8j","title":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts...","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","status":"published","published":"2026-11-04T00:32:22Z","modified":"2026-11-04T00:32:30Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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":"low"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium"}],"cwes":["CWE-285"],"updated_at":"2026-11-04T00:48:26.298057Z"}],"nvd":[{"id":"CVE-2026-121585","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","status":"published","published":"2026-11-04T00:17:26.967Z","modified":"2026-11-07T04:17:24.42Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/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":"low","assessor":"secondary"},{"version":"3.1","score":4.3,"vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:N/A:N","level":"medium","assessor":"secondary"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","level":"medium","assessor":"secondary"}],"cwes":["CWE-285","CWE-639"],"updated_at":"2026-11-07T07:04:25.694788Z"}],"osv":[{"id":"CVE-2026-121585","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","description":"A security flaw has been discovered in InfiniFlow RAGFlow up to 0.27.2/1.0.0-rc2. This impacts the function RunSQL of the file internal/engine/infinity/sql.go of the component Text To SQL Retrieval. The manipulation of the argument tableName/kbIDs results in authorization bypass. The attack may be performed from remote. The exploit has been released to the public and may be used for attacks.","status":"published","published":"2026-11-03T23:30:17.239Z","modified":"2026-11-08T02:30:34.966106819Z","cvss":[{"version":"4.0","score":2.1,"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N/E:P","level":"low"}],"cwes":["CWE-285","CWE-639"],"updated_at":"2026-11-08T02:58:46.302628Z"}]}}
