All reports
Medium

Dynamic-Datasource has an Injection vulnerability

Affected versions

Affected versions
<= 4.5.0
Fixed version
Not reported

Exploitation

CVE-2026-7045

Probability of exploitation in the next 30 days: 0.25%

FIRST EPSS · 2026-11-24

Description

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.

Links