A vulnerability was found in baomidou dynamic-datasource 2.5.0. It has been classified as critical. Affected by this vulnerability is the function
DsSpelExpressionProcessor#doDetermineDatasource of the file dynamic-datasource-spring/src/main/java/com/baomidou/dynamic/datasource/processor/DsSpelExpressionProcessor.java of the component StandardEvaluationContext/SpelExpressionParser. This manipulation causes injection.
This vulnerability appears as CVE-2026-7045. The attack may be initiated remotely. There is no available exploit.
It is recommended to apply a patch to fix this issue.