{"schemaVersion":1,"url":"https://cve.openhack.com/cve/CVE-2026-121585","id":"CVE-2026-121585","title":"RAGFlow authorization bypass in Text to SQL retrieval","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.","descriptionLong":"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.","published":"2026-11-03T23:30:17.239Z","updated":"2026-11-08T02:30:34.966106819Z","reserved":"2026-11-03T15:57:18.140Z","status":"Deferred","rejected":false,"assigner":"VulDB","metric":{"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","rating":"medium","source":"VulDB"},"metrics":[{"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","rating":"medium","source":"VulDB"},{"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","rating":"low","source":"vuldb.com"},{"version":"4.0","score":null,"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","rating":"unrated","source":"OSV"},{"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","rating":"medium","source":"VulDB"},{"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","rating":"medium","source":"vuldb.com"},{"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","rating":"medium","source":"VulDB"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C","rating":"medium","source":"VulDB"},{"version":"2.0","score":4,"vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N","rating":"medium","source":"vuldb.com"}],"rating":"medium","products":["InfiniFlow RAGFlow"],"affectedProducts":[{"vendor":"InfiniFlow","product":"RAGFlow","defaultStatus":null,"versions":[{"version":"0.27.0","status":"affected"},{"version":"0.27.1","status":"affected"},{"version":"0.27.2","status":"affected"},{"version":"1.0.0-rc1","status":"affected"},{"version":"1.0.0-rc2","status":"affected"}],"platforms":[]}],"packages":[],"cwes":["CWE-639","CWE-285"],"aliases":[],"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://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121585.json","tags":["advisory"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121585","tags":["advisory"]}],"patchReferenced":true,"fixAvailable":true,"exploitReferenced":true,"kev":false,"kevAdded":null,"kevDue":null,"kevEntry":null,"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial"},"epss":0.00244,"epssPercentile":0.15776,"sources":[{"name":"CVE List","url":"https://www.cve.org/CVERecord?id=CVE-2026-121585","ok":true},{"name":"NVD","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121585","ok":true,"note":"Deferred"},{"name":"OSV","url":"https://osv.dev/vulnerability/CVE-2026-121585","ok":true,"note":"0 packages"},{"name":"CISA KEV","url":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","ok":true,"note":"not listed"},{"name":"EPSS","url":"https://api.first.org/data/v1/epss?cve=CVE-2026-121585","ok":true,"note":"scored 2026-11-19"}],"aiTitle":true,"tech":[],"critical":[],"attention":null}