CVE Catalog

CVE-2026-7045

MediumCVSS 6.3
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Low risk
0.24%

15th percentile - higher than 15% of all known CVEs

Summary

In baomidou dynamic-datasource 2.5.0, the DsSpelExpressionProcessor#doDetermineDatasource function in DsSpelExpressionProcessor.java (StandardEvaluationContext/SpelExpressionParser component) allows injection through manipulation. The attack may be initiated remotely, and a patch named 273fcedaee984c08197c0890f14190b86ab7e0b8 is available.

Risk Assessment

A remote attacker could exploit SpEL expression injection to perform unauthorized operations within the application context.

Recommendation

Apply the available patch (commit 273fcedaee984c08197c0890f14190b86ab7e0b8) and limit user influence over SpEL expressions.

Related vulnerabilities

Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS