GHSA-6rmm-pg23-5f8q

Suggest an improvement
Source
https://github.com/advisories/GHSA-6rmm-pg23-5f8q
Import Source
https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-6rmm-pg23-5f8q/GHSA-6rmm-pg23-5f8q.json
JSON Data
https://api.osv.dev/v1/vulns/GHSA-6rmm-pg23-5f8q
Aliases
Published
2026-04-27T00:30:27Z
Modified
2026-05-05T21:41:26Z
Severity
  • 6.3 (Medium) CVSS_V3 - CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:L/I:L/A:L CVSS Calculator
  • 5.3 (Medium) CVSS_V4 - 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 CVSS Calculator
Summary
Dynamic-Datasource has an Injection vulnerability
Details

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.

Database specific
{
    "cwe_ids":  [
        "CWE-74"
    ],
    "github_reviewed":  true,
    "github_reviewed_at":  "2026-05-05T21:13:27Z",
    "nvd_published_at":  "2026-04-26T22:17:32Z",
    "severity":  "MODERATE"
}
References

Affected packages

Maven / com.baomidou:dynamic-datasource-spring

Package

Name
com.baomidou:dynamic-datasource-spring
View open source insights on deps.dev
Purl
pkg:maven/com.baomidou/dynamic-datasource-spring

Affected ranges

Type
ECOSYSTEM
Events
Introduced
0 Unknown introduced version / All previous versions are affected
Last Affected
4.5.0

Affected versions

4.*
4.0.0-B1
4.0.0.B1
4.0.0
4.1.0
4.1.1
4.1.2
4.1.3
4.2.0
4.3.0
4.3.1
4.5.0

Database specific

source
"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-6rmm-pg23-5f8q/GHSA-6rmm-pg23-5f8q.json"