Injectionin the com.baomidou:dynamic-datasource-spring package.
No public exploit found; not on exploited lists.
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.
- No source names a fix yet. Watch this page or the product for updates; we never guess a fixed version.
Not confirmed by any source yet: fixed version not confirmed. We show these as not confirmed instead of guessing.
Affected and fixed versions
From the CVE record, NVD and package advisories. When no source has versions yet, this table says "not confirmed" instead of guessing.
From first report to first attacks
- 25 Apr 2026CVE ID reserved by VulDB.
- 26 Apr 2026Published in the CVE List.
- 27 Apr 2026CVE record last updated.
Attack code anyone can find
Exploit maturity: No public exploit found. CISA assessment (SSVC): exploitation none.
Listed so defenders can judge how urgent this is and test systems they are authorised to test. Patchminder does not host exploit code; links open the source page. Labels for GitHub repositories come from their public details and are never a promise about the code. Run anything only in an isolated lab.
Report a link
Nothing on this page links to exploit code right now. To report anything else, write to the contact point in the legal notice.
Same weakness: Injection
- vuldb.com vdb-entry, technical-description
- vuldb.com signature, permissions-required
- vuldb.com third-party-advisory
- github.com issue-tracking
- github.com issue-tracking, patch
- github.com patch
- github.com product
Patchminder. CVE-2026-7045: Injection in the com.baomidou:dynamic-datasource-spring package. https://patchminder.com/cve/cve-2026-7045/ (accessed 5 December 2026).