Template Injection Affecting mindsdb package, versions [,25.7.3.0)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

Exploit Maturity
Proof of Concept

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-PYTHON-MINDSDB-12671220
  • published15 Sept 2025
  • disclosed1 Aug 2025
  • creditSayantan Pal

Introduced: 1 Aug 2025

CVE NOT AVAILABLE CWE-1336  (opens in a new tab)

How to fix?

Upgrade MindsDB to version 25.7.3.0 or higher.

Overview

MindsDB is a MindsDB server, provides server capabilities to mindsdb native python library

Affected versions of this package are vulnerable to Template Injection in the _prepare_prompts() function, which allows the ContextualPreprocessor template to be corrupted.

Note: Code injection is not enabled by this vulnerability.

CVSS Base Scores

version 4.0
version 3.1