CVE-2026-7045: Baomidou Dynamic-Datasource
Medium severity, CVSS 6.3. EPSS: 0.4% chance of exploitation in the next 30 days.
A vulnerability was determined in baomidou dynamic-datasource 2.5.0. 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. The attack may be initiated remotely. Patch name: 273fcedaee984c08197c0890f14190b86ab7e0b8. It is recommended to apply a patch to fix this issue.
Affected products
- Baomidou Dynamic-Datasource: version 2.5.0 only
Published 2026-04-26. Last modified 2026-06-17.