{"cve":"CVE-2026-7045","nvd":{"published":"2026-04-26T22:17:32.233","modified":"2026-10-26T22:10:00.163","status":"Deferred","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_v4":{"vector":"CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:L/VI:L/VA:L/SC:N/SI:N/SA:N","score":5.3},"cvss_v3":{"version":"3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L","score":6.3},"cwes":["CWE-74","CWE-707"],"references":["https://github.com/baomidou/dynamic-datasource/","https://github.com/baomidou/dynamic-datasource/commit/273fcedaee984c08197c0890f14190b86ab7e0b8","https://github.com/baomidou/dynamic-datasource/issues/766","https://github.com/baomidou/dynamic-datasource/pull/767","https://vuldb.com/submit/798600"],"products":[],"source":"nvd","synced_at":"2026-10-26T22:26:44.656832877+00:00"},"epss":{"cve":"CVE-2026-7045","score":0.00237,"percentile":0.14567,"date":"2026-10-26"},"kev":null,"osv":[{"id":"GHSA-6rmm-pg23-5f8q","url":"https://osv.dev/vulnerability/GHSA-6rmm-pg23-5f8q","summary":"Dynamic-Datasource has an Injection vulnerability","modified":"2026-05-05T21:41:26.411812Z","packages":[{"ecosystem":"Maven","name":"com.baomidou:dynamic-datasource-spring","purl":"pkg:maven/com.baomidou/dynamic-datasource-spring","ranges":["<=4.5.0"],"fixed":[]}]}],"attribution":["This product uses the NVD API but is not endorsed or certified by the NVD.","EPSS scores: FIRST Exploit Prediction Scoring System, https://www.first.org/epss","Known exploited vulnerabilities: CISA Known Exploited Vulnerabilities Catalog, https://www.cisa.gov/known-exploited-vulnerabilities-catalog","Package advisories: OSV (https://osv.dev), from the GitHub Advisory Database, PyPA, Go, RustSec and other ecosystem databases, under CC-BY 4.0 or CC0","CVE records: the CVE Program's CVE List (https://www.cve.org), under its terms of use (https://www.cve.org/Legal/TermsOfUse). CVE is a registered trademark of The MITRE Corporation; this product is not affiliated with the CVE Program."]}