{"id":"CVE-2026-121585","aliases":["CVE-2026-121585"],"related":[],"kind":"vulnerability","state":"published","title":"InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","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.","source":"cvelist"}],"published":"2026-11-03T23:30:17.239Z","modified":"2026-11-07T04:17:24.420Z","severity":{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},"severities":[{"scorer":"VulDB","scheme":"CVSS:4.0","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","score":5.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS: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","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:3.0","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","score":4.3,"rating":"MEDIUM"},{"scorer":"VulDB","scheme":"CVSS:2.0","vector":"AV:N/AC:L/Au:S/C:P/I:N/A:N/E:POC/RL:ND/RC:C","score":4,"rating":"MEDIUM"}],"cwes":["CWE-285","CWE-639"],"affected":[{"ranges":[{"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"}],"vendor":"InfiniFlow","product":"RAGFlow","cpe":"cpe:2.3:a:infiniflow:ragflow:*:*:*:*:*:*:*:*","source":"cvelist"}],"references":[{"url":"https://vuldb.com/vuln/430429","tags":["technical-description","vdb-entry"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/vuln/430429/cti","tags":["permissions-required","signature"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/cve/CVE-2026-121585","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://vuldb.com/submit/1020561","tags":["third-party-advisory"],"sources":["cvelist","nvd"]},{"url":"https://github.com/infiniflow/ragflow/issues/15123","tags":["broken-link","issue-tracking"],"sources":["cvelist","nvd"]},{"url":"https://github.com/infiniflow/ragflow/pull/15124","tags":["issue-tracking","patch"],"sources":["cvelist","nvd"]},{"url":"https://github.com/ZSH402/RAGFlow-Cross-Tenant-Read","tags":["exploit"],"sources":["cvelist","nvd"]},{"url":"https://github.com/infiniflow/ragflow/","tags":["product"],"sources":["cvelist","nvd"]}],"credits":["zsh07 (VulDB User)"],"assigner":"VulDB","ssvc":{"scorer":"CISA-ADP","exploitation":"poc","automatable":"no","technicalImpact":"partial","date":"2026-11-07T03:39:11.146Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-121585","url":"https://www.cve.org/CVERecord?id=CVE-2026-121585","licence":"CVE Terms of Use","modified":"2026-11-07T03:39:25.578Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-121585","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-121585","licence":"Public domain","modified":"2026-11-07T04:17:24.420Z"}],"updatedAt":"2026-11-25T22:59:48.948Z","epss":{"score":0.00321,"percentile":0.27069,"date":"2026-12-01T12:00:22.000Z"}}