Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-7045: Injection in baomidou dynamic-datasource

0
Medium
VulnerabilityCVE-2026-7045gcvecve-2026-7045cwe-74cwe-707
Published: Sun Apr 26 2026 (04/26/2026, 13:45:15 UTC)
Source: GCVE Database
Vendor/Project: baomidou
Product: 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

AILast updated: 04/26/2026, 20:01:36 UTC

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.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

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 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

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

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses