Dynamic-Datasource has an Injection vulnerability
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.
Betroffene Software
Klicken Sie auf eine Technologie, um alle zugehörigen Schwachstellen anzuzeigen.
| Plattform | Paket | Anfällige Versionen | Behoben in |
|---|---|---|---|
| Java / Kotlin (Maven) | com.baomidou:dynamic-datasource-spring | <= 4.5.0 | keine Korrektur |
Verweise
- https://nvd.nist.gov/vuln/detail/CVE-2026-7045
- https://github.com/baomidou/dynamic-datasource/issues/766
- https://github.com/baomidou/dynamic-datasource/pull/767
- https://github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8
- https://github.com/baomidou/dynamic-datasource
- https://vuldb.com/submit/798600
- https://vuldb.com/vuln/359624
- https://vuldb.com/vuln/359624/cti
- CVSS-Vektor
CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L- Schwäche (CWE)
CWE-74- Plattform
- Java / Kotlin (Maven)
- Paket
com.baomidou:dynamic-datasource-spring- Veröffentlicht
- 27.04.2026
- Aktualisiert
- 11.10.2026 12:22
Quellen und Lizenzen
OSV / GitHub Advisory Database - GHSA-6rmm-pg23-5f8q - CC BY 4.0
Schwachstellenhistorie: com.baomidou:dynamic-datasource-spring
Alle veröffentlichten Schwachstellen dieses Pakets (Java / Kotlin (Maven)), neueste zuerst. Zeigt, ob es ein einmaliger Ausrutscher ist oder ein Paket, das man im Auge behalten muss.
Dies ist die einzige bekannte Schwachstelle dieses Pakets.
Erkennen Sie Schwachstellen in Ihrer Anwendung
Mit der DockRay-Integration und aktivierter Softwareinventarisierung prüft DockRay gemeldete Komponentenversionen auf bekannte Schwachstellen und benachrichtigt Sie über bestätigte Treffer. Die Abdeckung hängt von der unterstützten Technologie und den verfügbaren Meldungen ab.