Vulnerability 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.
CVSS Score
MEDIUM
Related Weaknesses (CWE)
References
- https://github.com/baomidou/dynamic-datasource/
- https://github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f1
- https://github.com/baomidou/dynamic-datasource/issues/766
- https://github.com/baomidou/dynamic-datasource/pull/767
- https://vuldb.com/submit/798600
- https://vuldb.com/vuln/359624
- https://vuldb.com/vuln/359624/cti
FAQ
What is CVE-2026-7045?
CVE-2026-7045 is a vulnerability with a CVSS score of 6.3 (MEDIUM). 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-sprin...
How severe is CVE-2026-7045?
CVE-2026-7045 has been rated MEDIUM with a CVSS base score of 6.3/10. Review the CVSS metrics above for detailed severity breakdown.
Is there a patch for CVE-2026-7045?
Check the references section above for vendor advisories and patch information. Review vendor security bulletins for remediation guidance.