NewApp Monitoring is liveSign up free
AgentbeamBeta
Open-source package vulnerability · Maven

CVE-2026-7045: Dynamic-Datasource has an Injection vulnerability

mediumCVSS 4.0 5.3 · 3.1 6.3GHSA-6rmm-pg23-5f8q

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.

Published Apr 27, 2026 · Updated May 5, 2026

Affected packages

com.baomidou:dynamic-datasource-spring

Ecosystem
Maven
Affected
<= 4.5.0
Fixed in
No patched version yet
Check
mvn dependency:tree -Dincludes=com.baomidou:dynamic-datasource-spring

Advisory details

From the GitHub Advisory Database (CC BY 4.0).

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.

References

How this page is made: the data panel comes from the GitHub Advisory Database, CISA’s KEV catalog, the NVD and FIRST EPSS, and updates twice a day. No analysis has been written for this entry yet. Methodology