CVE-2026-7045: baomidou dynamic-datasource · Injection
Affects baomidou dynamic-datasourceSource GCVE Database
Not known to be exploited · CVSS 5.3 Medium.
Data as of 27 Oct 2026, 05:11 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 14% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N/E:XExploitation evidence
Disclosed: evidence found.
CVE published 26 Apr 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Mavencom.baomidou/dynamic-datasourcepkg:maven/com.baomidou/dynamic-datasourceOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
AI-suggested
A patch commit identifier is referenced, indicating that a fix exists in the code repository. However, no official vendor advisory or patch release is confirmed. It is recommended to apply the referenced patch (commit 273fcedaee984c08197c0890f14190b86ab7e0b8) or upgrade to a version that includes this fix once available. Until then, monitor vendor channels for official updates. No other specific mitigations are documented.
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.
References
- vuldb.com/vuln/359624 (opens in a new tab)
- vuldb.com/vuln/359624/cti (opens in a new tab)
- vuldb.com/submit/798600 (opens in a new tab)
- github.com/baomidou/dynamic-datasource/issues/766 (opens in a new tab)
- github.com/baomidou/dynamic-datasource/pull/767 (opens in a new tab)
- github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8 (opens in a new tab)
- github.com/baomidou/dynamic-datasource/ (opens in a new tab)