CVE-2026-121585

Source
https://cve.org/CVERecord?id=CVE-2026-121585
Import Source
https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121585.json
JSON Data
https://api.osv.dev/v1/vulns/CVE-2026-121585
Published
2026-11-03T23:30:17Z
Modified
2026-11-08T02:30:34Z
Severity
  • 2.1 (Low) CVSS_V4 - 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 CVSS Calculator
Summary
InfiniFlow RAGFlow Text To SQL Retrieval sql.go RunSQL authorization
Details

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.

Database specific
{
    "cna_assigner":  "VulDB",
    "cwe_ids":  [
        "CWE-285",
        "CWE-639"
    ],
    "osv_generated_from":  "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/121xxx/CVE-2026-121585.json"
}
References

Affected packages

Git / github.com/infiniflow/ragflow

Affected ranges

Type
GIT
Repo
https://github.com/infiniflow/ragflow
Events
Database specific
Show details
{
    "extracted_events":  [
        {
            "range":  [
                {
                    "introduced":  "0.27.0"
                },
                {
                    "last_affected":  "0.27.0"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.27.1"
                },
                {
                    "last_affected":  "0.27.1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0.27.2"
                },
                {
                    "last_affected":  "0.27.2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "1.0.0-rc1"
                },
                {
                    "last_affected":  "1.0.0-rc1"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "1.0.0-rc2"
                },
                {
                    "last_affected":  "1.0.0-rc2"
                }
            ],
            "source":  "AFFECTED_FIELD",
            "strategy":  "StandaloneSingleVersion"
        },
        {
            "range":  [
                {
                    "introduced":  "0"
                },
                {
                    "last_affected":  "0.27.2"
                }
            ],
            "source":  "DESCRIPTION"
        }
    ]
}

Affected versions

0.*
0.27.0
0.27.1
0.27.2
1.*
1.0.0-rc1
1.0.0-rc2
dev-1.*
dev-1.0.0
Other
dev-20260820
dev-20260821
dev-20260824
dev-20260825
dev-20260826
dev-20260827
dev-20260831
dev-20260901
dev-20260902
dev-20260903
dev-20260904
dev-20260908
dev-20260914
dev-20260916
dev-20260917
dev-20260918
dev-20260921
dev-20260924
dev-20260928
dev-20261010
dev-20261013
dev-20261014
dev-20261015
dev-20261016
v0.*
v0.27.0
v0.27.1
v0.27.2
v1.*
v1.0.0-rc1
v1.0.0-rc2

Database specific

source
"https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-121585.json"