MindsDB File Upload security.py clear_filename server-side request forgery
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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-2531
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 5 Nov 2026, 05:58 UTC · Revision 1
Source evidence
MindsDB File Upload security.py clear_filename server-side request forgery
core-osv · Original sourcePublished 16 Feb 2026, 02:32 UTC
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.
osv:CVE-2026-2531
Complete source record
{
"id": "a889bda414629a3eacf948eedf7eee73db9fa2f53741117bb08c98659346b1d0",
"url": "https://osv.dev/vulnerability/CVE-2026-2531",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "MindsDB File Upload security.py clear_filename server-side request forgery",
"summary": "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.",
"evidence": "osv:CVE-2026-2531",
"products": [],
"severity": "low",
"structured": {
"id": "CVE-2026-2531",
"aliases": [
"CVE-2026-2531",
"GHSA-6xw9-2p64-7622",
"PYSEC-2026-91"
],
"metrics": [
{
"type": "CVSS_V4",
"score": "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"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/mindsdb/mindshub",
"type": "GIT",
"events": [
{
"introduced": "f19bc10861572d705b483656a0b215dea1188868"
},
{
"last_affected": "8c12fc4bdad26da889276036a7a03649e0a68ef8"
}
],
"database_specific": {
"extracted_events": [
{
"range": [
{
"introduced": "25.14.0"
},
{
"last_affected": "25.14.0"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"range": [
{
"introduced": "25.14.1"
},
{
"last_affected": "25.14.1"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandaloneSingleVersion"
},
{
"cpe": "cpe:2.3:a:mindsdb:mindsdb:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"last_affected": "25.14.1"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"25.14.0",
"25.14.1",
"v25.14.1",
"v25.14.0"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-2531.json"
}
}
],
"modified": "2026-10-28T02:30:43.181392580Z",
"provider": "osv",
"references": [
"https://github.com/mindsdb/mindsdb/",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2531.json",
"https://nvd.nist.gov/vuln/detail/CVE-2026-2531",
"https://vuldb.com/?id.346119",
"https://vuldb.com/?submit.748219",
"https://github.com/mindsdb/mindsdb/issues/12163",
"https://github.com/mindsdb/mindsdb/pull/12213",
"https://vuldb.com/?ctiid.346119",
"https://github.com/themavik/mindsdb/commit/74d6f0fd4b630218519a700fbee1c05c7fd4b1ed"
],
"provider_metadata": {
"cwe_ids": [
"CWE-918"
],
"cna_assigner": "VulDB",
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/2xxx/CVE-2026-2531.json"
}
},
"related_cves": [
{
"value": "CVE-2026-2531",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 510896,
"published_at": "2026-02-16T02:32:10.743+00:00"
}