Skip to main content

Dynatrace MCP Server CVE-2026-123810

| EUVDEUVD-2026-120444 MEDIUM
SQL Injection (CWE-89)
2026-11-09 GitHub_M
4.3
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Prompt-inject LLM holding Dynatrace MCP tool access
  2. Delivery
    Supply crafted entityName/timeframe/clusterId value
  3. Exploit
    Close DQL string literal, append pipeline stage
  4. Execution
    Comment out intended query with //
  5. Impact
    Bypass readOnlyHint auto-approval, field and time-window caps

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization Parameterized queries, prepared statements
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Persistence

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

Exploitation requires a caller able to pass parameter values into the affected read capabilities (find-monitored-entity-by-name entityNames; list-problems, list-vulnerabilities, list-exceptions, and get-events-for-cluster timeframe; get-events-for-cluster clusterId and kubernetesEntityId), all typed in Zod as z.string()/z.array(z.string()) with no pattern validation in versions prior to 2.1.1. The realistic trigger (UI:R) is prompt injection of an LLM that has these MCP tools wired up and whose client auto-approves readOnlyHint:true tools. Key LIMITING factors: the configured Dynatrace token must already hold execute_dql, and the injection grants NO data access beyond what that token already permits - the marginal effect is bypassing the auto-approval tool contract (field-scope, time-window, maxEntities/maxProblems/maxVulnerabilities display caps), not privilege escalation. A deployment that does not auto-approve readOnlyHint tools, or does not expose these tools to untrusted/LLM-mediated input, materially reduces real-world risk.

Impact

This is a low-severity, contract-integrity issue rather than a high-impact breach, and the signals are internally consistent. The CVSS 3.1 base is 4.3 (Medium) with AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N - network-reachable and low-complexity, but gated by required user interaction (UI:R) and limited to low confidentiality impact with no integrity or availability impact. The vuln.today priority is 'this_month' (not act_now/emergency), which aligns with the low CVSS. No CISA KEV listing and no EPSS score were provided in the input, so there is no signal of active or probable widespread exploitation. However, the GHSA advisory itself publishes concrete proof-of-concept payloads for the clusterId, entityNames, and timeframe parameters, so working injection examples are public even though the input carries no explicit 'POC confirmed' flag. The most important nuance, stated plainly in both the NVD description and the vendor advisory, is that this injection does NOT grant data access beyond what the operator token's existing execute_dql capability already allows - the real impact is narrower: it defeats the readOnlyHint auto-approval contract and the per-tool field/time-window/display caps. So this is a genuine but bounded issue: a defensible priority for teams that auto-approve readOnlyHint MCP tools or chain this server behind an LLM exposed to untrusted input, but not a drop-everything emergency. The C:L in the CVSS slightly overstates marginal risk given the advisory's explicit 'no new data access' statement; the practical exposure is the auto-approval bypass pathway.

Exploit ScenarioDerived

An attacker delivers a prompt injection through content an LLM is processing (a monitored log, ticket, or page), and the LLM invokes a Dynatrace MCP read tool - annotated readOnlyHint:true and therefore possibly auto-approved - with an attacker-crafted value such as clusterId='x" or 1==1 //' or a timeframe that appends a new DQL pipeline stage. The crafted value closes the intended string literal, injects arbitrary DQL stages, and uses a // line comment to discard the tool's intended field-selection, time-window, and display-cap clauses. The GHSA advisory publishes working PoC payloads for each affected parameter; given AC:L the construction is trivial once a caller can reach the tools, though UI:R means a human or LLM action must trigger the call.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.2% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Nov 09, 2026

DQL injection in the Dynatrace MCP Server's read capabilities (npm @dynatrace-oss/dynatrace-mcp-server versions prior to 2.1.1) lets a caller break out of string literals in the entityNames, timeframe, clusterId and kubernetesEntityId parameters and append arbitrary Dynatrace Query Language pipeline stages, comment out the remainder of the intended query, and thereby bypass the tools' field selection, time-window bounds, and maxEntities/maxProblems/maxVulnerabilities display caps. Impact is deliberately narrow: the configured Dynatrace token must already carry execute_dql, so the injection grants no data access beyond what that token already permits - what is broken is the readOnlyHint:true auto-approval contract, which matters most where an LLM client auto-approves those read tools and can be driven by prompt injection (reflected in the CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N score of 4.3 and the associated CWE-89 / CWE-943 classification). The project advisory publishes example injection payloads, so a public PoC reference exists; it is not verified as working exploit code, and there is no confirmed active exploitation (not in CISA KEV).

RemediationAI

Upgrade @dynatrace-oss/dynatrace-mcp-server to 2.1.1, which is the vendor-released fix; the change is in commit 15d3546c0618ffbaeaeca477337e08e92f2151bc (PR https://github.com/dynatrace-oss/dynatrace-mcp/pull/562) and the v2.1.1 release notes are at https://github.com/dynatrace-oss/dynatrace-mcp/releases/tag/v2.1.1 - the patch adds escapeDqlStringValue for entity names, cluster and Kubernetes entity IDs and event types, adds validateTimeframe/validateAdditionalFilter to the timeframe and filter parameters, and only appends cluster filters when IDs are actually supplied. Until the upgrade is scheduled (this is a normal monthly-maintenance priority item, not an emergency), the practical risk reducers are deployment-level: stop MCP clients from auto-approving tools annotated readOnlyHint:true so that each read-tool invocation requires explicit user confirmation, accepting the added interaction friction for every legitimate read; keep these capabilities out of LLM flows that can be influenced by untrusted content, since the assessment identifies prompt injection of an LLM wired to these tools as the realistic trigger; and scope the configured Dynatrace token to least privilege, noting that because the token already needs execute_dql for these tools to work, the injection itself yields no broader data access - the residual exposure is bypass of field scope, time windows and display caps, not privilege escalation.

Affected VersionsENISA

dynatrace-mcp < 2.1.1

Affected Packages

npm @dynatrace-oss/dynatrace-mcp-server fix: 2.1.1
euvd dynatrace_mcp fix: 2.1.1

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in npm, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Dynatrace MCP Server is a TypeScript Model Context Protocol server that exposes Dynatrace Observability capabilities to MCP clients; several of its read tools build Dynatrace Query Language (DQL) statements as template strings and pass them to execute_dql against the Grail platform. DQL borrows SQL-like syntax - quoted string literals, pipe-delimited pipeline stages such as | fields and | filter, and // line comments (documented in the Dynatrace DQL language reference) - so failure to neutralize quotes and comment markers inside interpolated values is a classic CWE-89 improper-neutralization issue (the advisory also tags CWE-943, improper neutralization within a data query language layer). The vulnerable interpolations are concrete: find-monitored-entity-by-name.ts joins entityNames into a search "*…*" clause for both fetch … | search and smartscapeNodes "*" | search, while list-problems.ts, list-vulnerabilities.ts, list-exceptions.ts and get-events-for-cluster.ts interpolate timeframe into from: now()-${timeframe}, to: now(), and get-events-for-cluster.ts interpolates clusterId and kubernetesEntityId into | filter k8s.cluster.uid "…" or dt.entity.kubernetes_cluster "…". All of these parameters are declared in Zod as plain z.string() / z.array(z.string()) with no pattern validation, even though their documentation describes them as identifiers or constrained shorthand such as "24h" or Kubernetes UIDs. A crafted value can close the literal, add pipeline stages, or use // to discard the rest of the intended query; the trigger is caller-controlled parameter values reaching these string-building functions, and the realistic delivery path per the assessment is prompt injection into an LLM whose MCP client auto-approves readOnlyHint tools. Version 2.1.1 introduces an escapeDqlStringValue helper plus a validateTimeframe / validateAdditionalFilter path, escapes entity names, cluster IDs, Kubernetes entity IDs and event types, and makes these parameters optional so filters are only appended when supplied.

Know when Dynatrace Mcp gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (GitHub_M) PRIMARY 4.3 MEDIUM
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
vuln.today AI 4.3 MEDIUM

Network-reachable tool call, trivial construction (AC:L), no attacker auth needed (PR:N) but an LLM/user action triggers it (UI:R); only a minor confidentiality/contract break (C:L), no integrity or availability impact.

3.1 AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:P/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
None
Availability
None

Lifecycle Timeline

1
Patch available
Nov 09, 2026 - 22:03 EUVD

DescriptionCVE.org

Dynatrace MCP Server is an MCP server for Dynatrace Observability. Prior to 2.1.1, several read capabilities interpolate caller-controlled values into DQL without sufficient validation or escaping. The src/capabilities/find-monitored-entity-by-name.ts capability embeds entityNames in string searches, src/capabilities/list-problems.ts, src/capabilities/list-vulnerabilities.ts, and src/capabilities/list-exceptions.ts embed timeframe values, and src/capabilities/get-events-for-cluster.ts embeds timeframe, clusterId, and kubernetesEntityId. Crafted values can close string literals, append pipeline stages, or comment out the remaining intended query, allowing callers to bypass field selection, time-window, and result-display limits in tools marked readOnlyHint. The issue does not grant data access beyond the configured token's existing execute_dql capability, but it breaks the narrower auto-approved tool contract. This issue is fixed in version 2.1.1.

Threat Intelligence Overview

EPSS Score
0.2%
Top 86% exploitable
Prevalence
Low
niche npm MCP server for Dynatrace, emerging-tech, limited production footprint
Data Quality
6 sources
Confidence: High

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.2%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
Poc
System Exposure· derived
Open
Automatable
No
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

22
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +22
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy