Medium severity6.3NVD Advisory· Published Apr 26, 2026· Updated Apr 27, 2026
CVE-2026-7045
CVE-2026-7045
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.
AI Insight
LLM-synthesized narrative grounded in this CVE's description and references.
Affected packages
Versions sourced from the GitHub Security Advisory.
| Package | Affected versions | Patched versions |
|---|---|---|
com.baomidou:dynamic-datasource-springMaven | <= 4.5.0 | — |
Affected products
2Patches
Vulnerability mechanics
References
8- github.com/advisories/GHSA-6rmm-pg23-5f8qghsaADVISORY
- nvd.nist.gov/vuln/detail/CVE-2026-7045ghsaADVISORY
- github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8nvdWEB
- github.com/baomidou/dynamic-datasource/issues/766nvdWEB
- github.com/baomidou/dynamic-datasource/pull/767nvdWEB
- vuldb.com/submit/798600nvdWEB
- vuldb.com/vuln/359624nvdWEB
- vuldb.com/vuln/359624/ctinvdWEB
News mentions
0No linked articles in our index yet.