Skip to main content

Dynatrace MCP Server CVE-2026-123809

| EUVDEUVD-2026-120442 MEDIUM
Improper Neutralization of Special Elements Used in a Template Engine (CWE-1336)
2026-11-09 GitHub_M
4.2
CVSS 3.1 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach MCP tool via prompt-injection or operator
  2. Delivery
    Call create_workflow_for_notification with Jinja payload
  3. Exploit
    Operator approves literal-looking prompt
  4. Execution
    Persistent workflow stores {{ event() }} in Slack action
  5. Persist
    Workflow engine evaluates expression on each problem
  6. Impact
    Event/tenant metadata sent to attacker-chosen channel

Vulnerability Assessment

Weakness
CWE
ASVS 5.0
V1 - Encoding and Sanitization Template injection prevention
Exploitation Conditions

Exploitation requires invoking the create_workflow_for_notification tool (present only in @dynatrace-oss/dynatrace-mcp-server < 2.0.0) with Jinja2 expressions placed in the teamName, problemType, or channel parameters, which have no pattern validation. A valid MCP session with the operator's Dynatrace Platform Token (scopes automation:workflows:write/run) is needed to create the workflow. Reaching the tool depends on EITHER an MCP prompt-injection path (an LLM reading attacker-controlled data) OR an operator approving the human-approval prompt, which renders '{{ event() }}' literally with no indication it will be templated. Crucially, actual data delivery is LIMITED by requiring a validly configured Slack connector - the shipped workflow uses a hardcoded placeholder 'slack-connection-id' that delivers nothing on its own, so without a real connector the injected expression evaluates but is not exfiltrated. The channel field is the most dangerous injection point because it is interpolated inside an existing {{ "..." }} context. isPrivate defaults to false, making the created workflow tenant-visible. No condition removes the AC:H/UI:R gating.

Impact

This is a genuinely low-to-moderate priority issue despite being a confirmed, reproducible flaw. The supplied CVSS 3.1 vector (AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N, base 4.2) already encodes the key brakes: high attack complexity and required user interaction. The vuln.today decision label is 'this_month' (not act_now/emergency), it is NOT on CISA KEV, and no EPSS probability was provided in the input, so there is no signal of widespread or automated exploitation. The GHSA advisory does publish a detailed proof-of-concept that was tested end-to-end against a live Dynatrace tenant, confirming the Jinja2 evaluation chain - but that same PoC shows the Slack action failed to deliver because the shipped workflow hardcodes a placeholder 'slack-connection-id' that resolves to nothing; actual data exfiltration requires a separately, validly configured Slack connector in the tenant. Two signals therefore pull in opposite directions: the mechanism is proven and the created workflow is persistent (surviving credential revocation and server uninstall), which raises concern, while real-world impact is gated behind (a) an attacker reaching the tool via MCP prompt-injection or an inattentive operator approving a literal '{{ event() }}' prompt, and (b) a working Slack connector existing. Confidentiality/integrity impact is rated Low by the vendor and the data disclosed is event/tenant metadata, not credentials or bulk sensitive data. Net: a real, patch-worthy weakness in a niche product, not a high-urgency fleet-wide emergency.

Exploit ScenarioDerived

An attacker who can influence data read by an LLM-driven MCP client (prompt injection), or who relies on an operator approving a crafted prompt, invokes create_workflow_for_notification with teamName/channel set to a Jinja2 payload such as '{{ event() }}'. The MCP server stores these verbatim into a persistent Dynatrace workflow whose Slack action evaluates the expression at runtime, so each matching problem serialises the full event object (and, via environment(), tenant metadata) into an attacker-named Slack channel. A public, end-to-end-tested PoC in the GHSA advisory confirms the templating chain, though delivery only occurs if a real Slack connector is configured; AC:H and UI:R make opportunistic exploitation unlikely.

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

Jinja2 server-side template injection in the create_workflow_for_notification tool of @dynatrace-oss/dynatrace-mcp-server before 2.0.0 lets a caller place expressions such as event() into the teamName, problemType or channel fields, which the Dynatrace workflow engine then evaluates every time the persistent workflow fires. The injected output is written into a dynatrace.slack:slack-send-message action, so event or tenant metadata can reach an attacker-selected Slack channel and the workflow survives the MCP session, the operator's credentials and the server itself. Exploitation is gated: the CVSS vector is AC:H/UI:R and delivery requires a real Slack connector, since the shipped workflow uses a hardcoded placeholder connectionId that delivers nothing; the vendor advisory publishes a public proof-of-concept that confirms the template-evaluation chain end-to-end, and no KEV listing or active exploitation is reported, with a vuln.today decision label of this_month.

RemediationAI

Upgrade @dynatrace-oss/dynatrace-mcp-server to version 2.0.0, which removes the create_workflow_for_notification and make_workflow_public tools entirely (see PR 547, commit 64dfcb1095823d0fb43013635446288a6ff60e29 and the v2.0.0 release notes at https://github.com/dynatrace-oss/dynatrace-mcp/releases/tag/v2.0.0); if the tool is still needed, create Dynatrace workflows manually via the UI, dtctl or the Automations API, where the caller controls the template content directly. Because the injected expression is only exfiltrated through a real Slack connector, removing or restricting Slack connection bindings from automation-created workflows prevents delivery, at the cost of disabling the notification feature for those workflows. Audit the tenant's Workflows app for existing workflows whose title, description, message or channel contains {{ ... }} fragments referencing event() or environment() and delete them, since upgraded clients do not clean up workflows created by older versions. Finally, strip the automation:workflows:write and automation:workflows:run scopes from Platform Tokens issued to MCP clients, which removes the ability to create such workflows at all but also blocks other workflow automation the token may be used for; the vendor's guidance is that updating is the complete fix.

Affected VersionsENISA

dynatrace-mcp < 2.0.0

Affected Packages

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

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

The flaw is CWE-1336 (improper neutralization of special elements used in a template engine), specifically server-side template injection into Dynatrace Workflows, which evaluate Jinja2 {{ ... }} expressions in action inputs at runtime for every action except Run Javascript - an exception carved out precisely to avoid code injection. The vulnerable code in src/capabilities/create-workflow-for-problem-notification.ts (lines 82-99) builds a WorkflowCreate object where teamName and problemType are string-interpolated into the workflow title, description and Slack message body, and channel is interpolated inside an existing {{ "..." }} expression, making it the strongest injection point because a caller can close the string and append arbitrary Jinja. The tool schema in src/index.ts registers these three parameters as z.string().optional() with no pattern validation, and isPrivate defaults to false so created workflows are tenant-visible. The action dynatrace.slack:slack-send-message is not on the documented Jinja exception list, so its inputs are evaluated at runtime; the workflow persists in the tenant and re-fires on every matching problem until manually deleted from the Workflows app. The human-approval prompt renders the raw literal (e.g. {{ event() }}) without flagging it as a template fragment or showing workflow visibility. Per the CPE cpe:2.3:a:dynatrace-oss:dynatrace-mcp all 2.x-prior releases are affected; the fixed 2.0.0 release removes the create_workflow_for_notification and make_workflow_public tools outright rather than sanitizing them, and drops the automation:workflows:read/write/run scope guidance.

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.2 MEDIUM
AV:N/AC:H/PR:N/UI:R/S:U/C:L/I:L/A:N
vuln.today AI 4.2 MEDIUM

AC:H and UI:R because success needs prompt-injection or an operator approval plus a configured Slack connector; C:L/I:L for metadata disclosure and persistent unauthorized workflow creation; A:N.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
Required
Scope
Unchanged
Confidentiality
Low
Integrity
Low
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.0.0, the create_workflow_for_notification tool inserts the caller-controlled teamName, problemType, and channel values into a Dynatrace workflow without neutralizing Jinja2 expressions. A caller can place template expressions such as event() in those values, and the workflow engine evaluates them when the persistent workflow runs. When the workflow has a valid Slack connector, the resulting Slack action can disclose event or tenant metadata to an attacker-selected channel; the shipped placeholder connection does not deliver messages by itself. The workflow remains in the tenant after the MCP session and credentials are gone. The isPrivate option defaults to false, making the created workflow tenant-visible unless the caller changes it. Exploitation requires either an MCP prompt-injection path or an operator approving a prompt that displays the template fragment literally. This issue is fixed in version 2.0.0.

Threat Intelligence Overview

EPSS Score
0.2%
Top 93% exploitable
Prevalence
Low
niche npm-distributed Dynatrace MCP server, emerging specialized observability tooling
Data Quality
5 sources
Confidence: Medium

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· derived
None
System Exposure· derived
Open
Automatable· derived
No
Human Impact· derived
Medium

Priority Score

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

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

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