Injection in baomidou dynamic-datasource
Key facts
- Attack vector
- Network
- Privileges required
- Low
- User interaction
- None
- Attack complexity
- Low
- Attack requirements
- None
- Impact type
- —
- Confidentiality · integrity · availability
- Low · Low · Low
- Fix status
- No fix listed
Attack profile from CVSS 4.0 · CNA. Fix status from CNA and GitHub.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| baomidou | dynamic-datasource | 2.5.0 | — | No fix listed | CNA |
| — | com.baomidou:dynamic-datasource-spring (Maven) | up to 4.5.0 | — | No fix listed | GHSA-6rmm-pg23-5f8q |
- dynamic-datasource Vendorbaomidou Affected 2.5.0 Fixed in — No fix listed CNA
- com.baomidou:dynamic-datasource-spring (Maven) Vendor— Affected up to 4.5.0 Fixed in — No fix listed GHSA-6rmm-pg23-5f8q
Remediation
No fixed version listed by the sources yet.
Timeline
- 2026-10-02 Threatist record created from CVE-2026-7045
- 2026-10-03 Alias added: GHSA-6rmm-pg23-5f8q
References
Patch 2
More baomidou vulnerabilities
- TI-2022-09149 MyBatis plus v3.4.3 was discovered to contain a SQL injection vulnerability via the… CVSS 3.1CRITICAL 9.8
Sources
- CVE-2026-7045 · CVE Program
- CVE-2026-7045 · NVD
- FIRST EPSS
- GHSA-6rmm-pg23-5f8q · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences