Mend.io Vulnerability Database
The largest open source vulnerability database
What is a Vulnerability ID?
New vulnerability? Tell us about it!
CVE-2026-7045
Published:April 26, 2026
Updated:April 27, 2026
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 Packages
https://github.com/baomidou/dynamic-datasource.git (GITHUB):
Affected version(s) >=V1.0.0 <v4.50
Fix Suggestion:
Update to version v4.50
com.baomidou:dynamic-datasource-spring (JAVA):
Affected version(s) >=4.0.0.B1 <4.3.1
Fix Suggestion:
Update to version 4.3.1
com.baomidou:dynamic-datasource-spring-boot-starter (JAVA):
Affected version(s) >=1.0.0 <4.3.1
Fix Suggestion:
Update to version 4.3.1
Do you need more information?
Contact Us
CVSS v4
Base Score:
5.3
Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
LOW
User Interaction
NONE
Vulnerable System Confidentiality
LOW
Vulnerable System Integrity
LOW
Vulnerable System Availability
LOW
Subsequent System Confidentiality
NONE
Subsequent System Integrity
NONE
Subsequent System Availability
NONE
Exploit Maturity
NOT DEFINED
CVSS v3
Base Score:
6.3
Attack Vector
NETWORK
Attack Complexity
LOW
Privileges Required
LOW
User Interaction
NONE
Scope
UNCHANGED
Confidentiality
LOW
Integrity
LOW
Availability
LOW
Exploit Maturity
NOT DEFINED
CVSS v2
Base Score:
6.5
Access Vector
NETWORK
Access Complexity
LOW
Authentication
SINGLE
Confidentiality Impact
PARTIAL
Integrity Impact
PARTIAL
Availability Impact
PARTIAL
Exploitability
NOT DEFINED
Weakness Type (CWE)
Improper Neutralization
Improper Neutralization of Special Elements in Output Used by a Downstream Component ('Injection')