{"id":"CVE-2026-121585","published":"2026-11-03T23:30:17Z","modified":"2026-11-07T03:39:25Z","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","vendor":"InfiniFlow","product":"RAGFlow","tier":"tail","description":{"text":"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.","provenance":"source","from":"CVE.org"},"cvss":{"score":4.3,"severity":"MEDIUM","version":"3.1","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","provenance":"source","from":"CVE.org CNA"},"epss":{"score":0.00244,"percentile":0.15892,"provenance":"source"},"cwes":[{"id":"CWE-639","name":"Authorization Bypass Through User-Controlled Key"},{"id":"CWE-285","name":"Improper Authorization"}],"references":[{"url":"https://vuldb.com/vuln/430429","tags":["vdb-entry","technical-description"]},{"url":"https://vuldb.com/vuln/430429/cti","tags":["signature","permissions-required"]},{"url":"https://vuldb.com/cve/CVE-2026-121585","tags":["third-party-advisory"]},{"url":"https://vuldb.com/submit/1020561","tags":["third-party-advisory"]},{"url":"https://github.com/infiniflow/ragflow/issues/15123","tags":["broken-link","issue-tracking"]},{"url":"https://github.com/infiniflow/ragflow/pull/15124","tags":["issue-tracking","patch"]},{"url":"https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read","tags":["exploit"]},{"url":"https://github.com/infiniflow/ragflow/","tags":["product"]}],"priority":{"score":11.2,"factors":[{"name":"EPSS percentile","points":3.18},{"name":"Public exploit code","points":5.0},{"name":"CVSS severity","points":3.01}]},"vendorSlug":"infiniflow","affectedVersions":[{"vendor":"InfiniFlow","product":"RAGFlow","versions":["0.27.0","0.27.1","0.27.2","1.0.0-rc1","1.0.0-rc2"]}],"ssvc":{"exploitation":"poc","automatable":"no","technicalImpact":"partial","timestamp":"2026-11-07T03:39:11.146517Z","from":"CISA ADP","provenance":"source"},"euvd":{"id":"EUVD-2026-116597","exploited":false,"provenance":"source"},"exploitRefs":["https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read"]}