Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessPrompt-inject LLM holding Dynatrace MCP tool access
-
DeliverySupply crafted entityName/timeframe/clusterId value
-
ExploitClose DQL string literal, append pipeline stage
-
ExecutionComment out intended query with //
-
ImpactBypass 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
Affected Packages
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
AV:N/AC:L/PR:N/UI:R/S:U/C:L/I:N/A:N
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.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
1DescriptionCVE.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
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.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
SQL injection exploits the way applications construct database queries by mixing user input directly into SQL statements.
More in Dynatrace Mcp
View allUnauthenticated invocation of MCP tools in Dynatrace MCP Server (npm @dynatrace-oss/dynatrace-mcp-server) through versio
Jinja2 server-side template injection in the create_workflow_for_notification tool of @dynatrace-oss/dynatrace-mcp-serve
Unauthenticated callers who can reach a Dynatrace MCP Server instance (npm @dynatrace-oss/dynatrace-mcp-server) before 1
EUVD-2026-120444
NVD
CVE.org
EPSS
Vulnrichment
GitHub
Exploit-DB