CVE-2026-7045
Received Received - Intake

Remote Injection Vulnerability in baomidou Dynamic-Datasource

Vulnerability report for CVE-2026-7045, including description, CVSS score, EPSS score, affected products, exploitability, helpful resources, and attack-flow context.

Publication date: 2026-04-26

Last updated on: 2026-04-26

Assigner: VulDB

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.

CVSS Scores

EPSS Scores

Probability:
Percentile:

Meta Information

Published
2026-04-26
Last Modified
2026-04-26
Generated
2026-07-07
AI Q&A
2026-04-27
EPSS Evaluated
2026-07-05
NVD
EUVD

Affected Vendors & Products

Showing 1 associated CPE
Vendor Product Version / Range
baomidou dynamic-datasource to 2.5.0 (inc)

Helpful Resources

Exploitability

CWE
CWE Icon
KEV
KEV Icon
CWE ID Description
CWE-74 The product constructs all or part of a command, data structure, or record using externally-influenced input from an upstream component, but it does not neutralize or incorrectly neutralizes special elements that could modify how it is parsed or interpreted when it is sent to a downstream component.
CWE-707 The product does not ensure or incorrectly ensures that structured messages or data are well-formed and that certain security properties are met before being read from an upstream component or sent to a downstream component.

Attack-Flow Graph

AI Quick Actions

Instant insights powered by AI
Executive Summary

This vulnerability exists in the baomidou dynamic-datasource version 2.5.0, specifically in the function DsSpelExpressionProcessor#doDetermineDatasource. The issue is related to the manipulation of the StandardEvaluationContext and SpelExpressionParser components, which leads to an injection vulnerability. This means that an attacker can remotely exploit this flaw to inject malicious expressions or code.

Impact Analysis

The vulnerability allows remote attackers to perform injection attacks through the affected function. This can lead to unauthorized access or manipulation of data sources, potentially compromising the confidentiality, integrity, and availability of the system. The CVSS scores indicate a moderate to high impact, with possible partial loss of confidentiality, integrity, and availability.

Mitigation Strategies

It is recommended to apply the patch identified by commit 273fcedaee984c08197c0890f14190b86ab7e0b8 to fix this issue.

Chat Assistant

Ask questions about this CVE
Hi! I’m here to help you understand CVE-2026-7045. Ask me anything about the vulnerability, its impact, or mitigation strategies.
0/70

EPSS Chart