5.3medium
MindsDB File Upload security.py clear_filename server-side request forgery
- Severity
- 5.3medium CVSS:4.0 by VulDB
- Exploit likelihood
- 0.27% (higher than 20% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- VulDB
- Also known as
- GHSA-6xw9-2p64-7622PYSEC-2026-91
Description
A security vulnerability has been detected in MindsDB up to 25.14.1. This vulnerability affects the function clear_filename of the file mindsdb/utilities/security.py of the component File Upload. Such manipulation leads to server-side request forgery. The attack may be performed from remote. The exploit has been disclosed publicly and may be used. The name of the patch is 74d6f0fd4b630218519a700fbee1c05c7fd4b1ed. It is best practice to apply a patch to resolve this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| MindsDB | 25.14.0, 25.14.1 | CVE List |
| mindsdb (PyPI) | up to 25.14.1, before 26.0.0rc1 | GitHub Advisory Database, PyPA Advisory Database |
| mindsdb mindsdb | up to 25.14.1 | NVD |
All scores
| VulDB | 5.3medium CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| VulDB | 6.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.3medium CVSS:3.0 | CVSS:3.0/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L/E:P/RL:O/RC:C |
| VulDB | 6.5medium CVSS:2.0 | AV:N/AC:L/Au:S/C:P/I:P/A:P/E:POC/RL:OF/RC:C |
| GitHub | 6.3low CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L |
| GitHub | low CVSS:4.0 | CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:P |
| NVD | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
| PyPA Advisory Database | 7.3high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:L |
Classification
SSVC (CISA-ADP): exploitation poc, automatable no, technical impact partial.
What each source says
CVE List
A security vulnerability has been detected in MindsDB up to 25.14.1. This vulnerability affects the function clear_filename of the file mindsdb/utilities/security.py of the component File Upload. Such manipulation leads to server-side request forgery. The attack may be performed from remote. The exploit has been disclosed publicly and may be used. The name of the patch is 74d6f0fd4b630218519a700fbee1c05c7fd4b1ed. It is best practice to apply a patch to resolve this issue.
GitHub Advisory Database
A security vulnerability has been detected in MindsDB up to 25.14.1. This vulnerability affects the function clear_filename of the file mindsdb/utilities/security.py of the component File Upload. Such manipulation leads to server-side request forgery. The attack may be performed from remote. The exploit has been disclosed publicly and may be used.
NVD (es)
Se ha detectado una vulnerabilidad de seguridad en MindsDB hasta la versión 25.14.1. Esta vulnerabilidad afecta a la función clear_filename del archivo mindsdb/utilities/security.py del componente Carga de Archivos. Dicha manipulación conduce a una falsificación de petición del lado del servidor. El ataque puede realizarse de forma remota. El exploit ha sido divulgado públicamente y puede ser utilizado. El nombre del parche es 74d6f0fd4b630218519a700fbee1c05c7fd4b1ed. Es una buena práctica aplicar un parche para resolver este problema.
References
| https://vuldb.com/?id.346119 | advisory, technical-description, third-party-advisory, vdb-entry, web | |
| https://vuldb.com/?ctiid.346119 | permissions-required, report, signature, vdb-entry, web | |
| https://vuldb.com/?submit.748219 | advisory, third-party-advisory, vdb-entry, web | |
| https://github.com/mindsdb/mindsdb/issues/12163 | exploit, issue-tracking, report, third-party-advisory, web | |
| https://github.com/mindsdb/mindsdb/pull/12213 | fix, issue-tracking, patch, web | |
| https://github.com/themavik/mindsdb/commit/74d6f0fd4b630218519a700fbee1c05c7fd4b1ed | fix, patch, web | |
| https://github.com/mindsdb/mindsdb/ | product, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-2531 | advisory | |
| https://github.com/mindsdb/mindsdb | package | |
| https://github.com/pypa/advisory-database/tree/main/vulns/mindsdb/PYSEC-2026-91.yaml | web | |
| https://github.com/advisories/GHSA-6xw9-2p64-7622 | advisory | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-2531 changed 2026-02-23 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-6xw9-2p64-7622 changed 2026-06-06 | CC-BY-4.0 |
| NVD | CVE-2026-2531 changed 2026-06-17 | Public domain |
| PyPA Advisory Database | PYSEC-2026-91 changed 2026-06-10 | CC-BY-4.0 |