Baomidou · Dynamic-Datasource · CVE-2026-7045
**Name of the Vulnerable Software and Affected Versions**
baomidou dynamic-datasource version 2.5.0
**Description**
An injection issue exists in the `doDetermineDatasource()` function within the `DsSpelExpressionProcessor` class. This flaw, located in the `StandardEvaluationContext`/`SpelExpressionParser` component, allows for remote manipulation.
**Recommendations**
Apply patch 273fcedaee984c08197c0890f14190b86ab7e0b8 to version 2.5.0.
As a temporary workaround, restrict access to the `doDetermineDatasource()` function to minimize the risk of exploitation.