CVE-2026-121585 InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization

Medium 5.3 Published Updated
Exploited in the wild
Not known
Fix
None listed

What is CVE-2026-121585?

CVE-2026-121585 is a medium-severity vulnerability in InfiniFlow RAGFlow, published on 3 Nov 2026.

Official 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.

Weakness: CWE-639, CWE-285

Which versions are affected by CVE-2026-121585?

How do I fix CVE-2026-121585?

No fix has been published for CVE-2026-121585 yet. Limit exposure of the affected software until one is available.

Is CVE-2026-121585 being exploited?

It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-121585 exists.

Sources

Also known as GHSA-qhwq-2pgm-vq8j.

Is CVE-2026-121585 in your software?

Upload an SBOM and sbomify checks it against every vulnerability here, every day.

Check your SBOMs for free