CVE-2026-7045: Injection in baomidou dynamic-datasource
CVE-2026-7045 is a medium severity injection vulnerability in baomidou dynamic-datasource version 2. 5. 0. It affects the DsSpelExpressionProcessor#doDetermineDatasource function, allowing remote injection attacks via manipulation of Spring Expression Language (SpEL) evaluation. The vulnerability arises from improper handling in the StandardEvaluationContext/SpelExpressionParser component. No official patch or remediation level is currently confirmed, but a patch commit identifier is referenced. There are no known exploits in the wild at this time.
AI Analysis
Technical Summary
The vulnerability CVE-2026-7045 affects baomidou dynamic-datasource 2.5.0 in the DsSpelExpressionProcessor#doDetermineDatasource method. This method uses Spring's StandardEvaluationContext and SpelExpressionParser to evaluate expressions for datasource determination. Improper input validation or sanitization leads to injection, classified under CWE-74 (Injection) and CWE-707 (Improper Neutralization). The attack can be initiated remotely without user interaction and requires low privileges. The CVSS 4.0 base score is 5.3, indicating medium severity. A patch commit (273fcedaee984c08197c0890f14190b86ab7e0b8) is referenced but no official vendor advisory or patch release is confirmed.
Potential Impact
Successful exploitation allows an attacker to perform injection attacks remotely, potentially manipulating datasource selection or behavior within the application. This could lead to unauthorized data access or modification depending on the context of use. The vulnerability requires low privileges and no user interaction, increasing its risk. However, the impact is rated medium due to limited scope and complexity.
Mitigation Recommendations
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.
CVE-2026-7045: Injection in baomidou dynamic-datasource
Description
CVE-2026-7045 is a medium severity injection vulnerability in baomidou dynamic-datasource version 2. 5. 0. It affects the DsSpelExpressionProcessor#doDetermineDatasource function, allowing remote injection attacks via manipulation of Spring Expression Language (SpEL) evaluation. The vulnerability arises from improper handling in the StandardEvaluationContext/SpelExpressionParser component. No official patch or remediation level is currently confirmed, but a patch commit identifier is referenced. There are no known exploits in the wild at this time.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
The vulnerability CVE-2026-7045 affects baomidou dynamic-datasource 2.5.0 in the DsSpelExpressionProcessor#doDetermineDatasource method. This method uses Spring's StandardEvaluationContext and SpelExpressionParser to evaluate expressions for datasource determination. Improper input validation or sanitization leads to injection, classified under CWE-74 (Injection) and CWE-707 (Improper Neutralization). The attack can be initiated remotely without user interaction and requires low privileges. The CVSS 4.0 base score is 5.3, indicating medium severity. A patch commit (273fcedaee984c08197c0890f14190b86ab7e0b8) is referenced but no official vendor advisory or patch release is confirmed.
Potential Impact
Successful exploitation allows an attacker to perform injection attacks remotely, potentially manipulating datasource selection or behavior within the application. This could lead to unauthorized data access or modification depending on the context of use. The vulnerability requires low privileges and no user interaction, increasing its risk. However, the impact is rated medium due to limited scope and complexity.
Mitigation Recommendations
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.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- VulDB
- Date Reserved
- 2026-04-25T16:10:12.081Z
- Cvss Version
- 4.0
- State
- PUBLISHED
- Remediation Level
- null
- Gcve Source
- db.gcve.eu
Threat ID: 69ee6bb668edb0b8f2495f30
Added to database: 4/26/2026, 7:47:02 PM
Last enriched: 4/26/2026, 8:01:36 PM
Last updated: 4/26/2026, 9:59:55 PM
Views: 7
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.