CVE-2026-7045
A vulnerability was determined in baomidou dynamic-datasource …
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.
What to do now
- Check your exposureFind out whether the affected software runs anywhere in your environment, including systems of suppliers.
- UpdateInstall the version in which the vendor fixed the vulnerability. The references lead to the advisory.
- Set the orderSystems that can be reached from the internet come first, then the rest.
References
- github.com/baomidou/dynamic-datasource/
- github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8
- github.com/baomidou/dynamic-datasource/issues/766
- github.com/baomidou/dynamic-datasource/pull/767
- vuldb.com/submit/798600
- vuldb.com/vuln/359624
- vuldb.com/vuln/359624/cti
- nvd.nist.gov/vuln/detail/CVE-2026-7045
- nvd.nist.gov/vuln/detail/CVE-2026-7045
- cve.org/CVERecord?id=CVE-2026-7045
Data: CVE list and the NVD. This product uses data from the NVD API but is not endorsed or certified by the NVD.