{"affected":[{"product":"RAGFlow","source":"CNA: VulDB","vendor":"InfiniFlow","versions":[{"status":"affected","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"}]}],"cveId":"CVE-2026-121585","cwes":["CWE-639","CWE-285"],"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.","epss":null,"exploits":[{"kind":"exploit","source":"CNA: VulDB","url":"https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read"}],"kev":null,"metrics":[{"score":5.3,"severity":"medium","source":"CNA: VulDB","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","version":"4.0"},{"score":4.3,"severity":"medium","source":"CNA: VulDB","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","version":"3.1"},{"score":4.3,"severity":"medium","source":"CNA: VulDB","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","version":"3.0"},{"score":4,"severity":"medium","source":"CNA: VulDB","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C","version":"2.0"}],"modifiedAt":1793748617239,"publishedAt":1793748617239,"references":[{"source":"CNA: VulDB","tags":["vdb-entry","technical-description"],"url":"https://vuldb.com/vuln/430429"},{"source":"CNA: VulDB","tags":["signature","permissions-required"],"url":"https://vuldb.com/vuln/430429/cti"},{"source":"CNA: VulDB","tags":["third-party-advisory"],"url":"https://vuldb.com/cve/CVE-2026-121585"},{"source":"CNA: VulDB","tags":["third-party-advisory"],"url":"https://vuldb.com/submit/1020561"},{"source":"CNA: VulDB","tags":["broken-link","issue-tracking"],"url":"https://github.com/infiniflow/ragflow/issues/15123"},{"source":"CNA: VulDB","tags":["issue-tracking","patch"],"url":"https://github.com/infiniflow/ragflow/pull/15124"},{"source":"CNA: VulDB","tags":["exploit"],"url":"https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read"},{"source":"CNA: VulDB","tags":["product"],"url":"https://github.com/infiniflow/ragflow/"}],"remediation":[{"kind":"fix","source":"CNA: VulDB","text":"The reporting source identifies this reference as a patch. Check the advisory for affected versions and supported release branches.","url":"https://github.com/infiniflow/ragflow/pull/15124"}],"revision":"e53f00aa9e6660c8fb4588e759b80f52ef371b319ebe859efa75d7ff1aab9954","sources":[{"modifiedAt":1793748617239,"name":"CNA: VulDB","retrievedAt":1793751000125,"url":"https://www.cve.org/CVERecord?id=CVE-2026-121585"}],"ssvc":null,"status":"published","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","updatedAt":1793751000125}