CVE-2026-7045 — A vulnerability was determined in baomidou
CVE-2026-7045 — 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.
What This Means For You
- If your environment is affected by CWE-74, CWE-707, review your exposure and prioritize patching based on your environment. Monitor vendor advisories for CVE-2026-7045 updates and patches.
Related ATT&CK Techniques
🛡️ Detection Rules
3 rules · 6 SIEM formats3 detection rules auto-generated for this incident, mapped to MITRE ATT&CK. Sigma YAML is free — export to any SIEM format via the Intel Bot.
Java SpEL Expression Injection via baomidou DynamicDatasource — CVE-2026-7045
title: Java SpEL Expression Injection via baomidou DynamicDatasource — CVE-2026-7045
id: scw-2026-04-26-ai-1
status: experimental
level: critical
description: |
Detects attempts to exploit CVE-2026-7045 in baomidou dynamic-datasource. This rule looks for SpEL (Spring Expression Language) injection patterns within the query string that indicate an attempt to execute arbitrary Java code, such as invoking `java.lang.Runtime` or `java.lang.ProcessBuilder`.
author: SCW Feed Engine (AI-generated)
date: 2026-04-26
references:
- https://shimiscyberworld.com/posts/nvd-CVE-2026-7045/
tags:
- attack.initial_access
- attack.t1190
logsource:
category: webserver
detection:
selection:
cs-uri-query|contains:
- 'T(java.lang.Runtime)'
- 'T(java.lang.ProcessBuilder)'
condition: selection
falsepositives:
- Legitimate administrative activity
Source: Shimi's Cyber World · License & reuse
Indicators of Compromise
| ID | Type | Indicator |
|---|---|---|
| CVE-2026-7045 | vulnerability | CVE-2026-7045 |
| CWE-74 | weakness | CWE-74 |
| CWE-707 | weakness | CWE-707 |
Source & Attribution
| Source Platform | NVD |
| Channel | National Vulnerability Database |
| Published | April 27, 2026 at 01:17 UTC |
This content was curated and summarized by Shimi's Cyber World for informational purposes. It is not copied or republished in full. All intellectual property rights remain with the original author and source.
Believe this infringes your rights? Submit a takedown request.