Skip to main content

Dendrite EUVDEUVD-2026-45194

| CVE-2026-63096 MEDIUM
Server-Side Request Forgery (SSRF) (CWE-918)
2026-07-17 VulnCheck GHSA-jrcq-4ccj-6fr8
6.9
CVSS 4.0 · Vendor: VulnCheck
View

Attack ChainAIDerived

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

  1. Access
    Identify internet-exposed Dendrite server
  2. Delivery
    Craft request to /_matrix/media/r0/download with internal host:port as serverName
  3. Exploit
    Server initiates outbound TLS dial to attacker-specified target
  4. Execution
    Observe and classify HTTP error responses per port
  5. Persist
    Correlate response classes to infer open/closed/filtered state
  6. Impact
    Map internal network topology for lateral movement planning

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK

2 techniques across 2 tactics: Initial Access, Credential Access

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

Exploitation Conditions

Exploitation requires network access to the Dendrite instance's /_matrix/media/r0/download endpoint, which is typically internet-exposed on Matrix homeservers as part of federation. No authentication is required - the serverName parameter is processed prior to any credential check, confirmed by CVSS PR:N. The attacker must be able to observe HTTP response status codes or error message body content to distinguish port state classes (connection refused vs. timeout vs. TLS error). Effectiveness is bounded by the internal network reachability of the Dendrite process: only hosts and ports reachable from Dendrite's network namespace can be probed. Dendrite deployments that have fully migrated to the v1 or v3 media API and disabled the legacy /_matrix/media/r0/ routes, or that enforce strict egress filtering from the Dendrite process, are not exploitable via this path.

Impact

The CVSS 4.0 vector (AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N, score 6.9) accurately captures that no authentication is required, complexity is low, and the primary impact is low-confidence reconnaissance on subsequent internal systems rather than direct data exfiltration or service disruption. The absence of VC/VI/VA impact metrics means Dendrite itself is not directly compromised, but SC:L reflects the meaningful reconnaissance value against internal infrastructure. A publicly available POC lowers the exploitation bar significantly - any actor with HTTP access to the endpoint can run the attack without specialized tooling. EPSS data was not provided in the source intelligence; this absence limits quantified exploitation-probability comparison. No CISA KEV listing means active exploitation has not been formally confirmed, but the combination of unauthenticated access, trivial exploitation, and a public POC creates urgency for internet-exposed deployments. In cloud environments with flat internal networking, this SSRF could serve as an initial reconnaissance step enabling lateral movement, making the effective business risk higher than the base score alone suggests.

Exploit ScenarioDerived

An unauthenticated attacker sends a crafted HTTP GET request to /_matrix/media/r0/download/{serverName}/{mediaId} on a public-facing Dendrite instance, substituting serverName with an internal target such as 192.168.10.5:6379 (a Redis port). The Dendrite server attempts an outbound TLS connection to that address, and the attacker distinguishes between a TCP-refused error, a timeout, and a TLS handshake response to infer whether the port is open, closed, or filtered - effectively using Dendrite as a port scanner against its internal network. A public POC demonstrating this technique is available at the researcher's GitHub repository.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
No patch listed yet 0.2% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – Jul 17, 2026

Server-side request forgery in Dendrite through 0.13.8 allows unauthenticated remote attackers to weaponize the server as a port-scanning proxy against internal networks by supplying arbitrary host and port values via the unvalidated serverName parameter on the legacy media download endpoint. The server initiates outbound TLS connections to attacker-controlled destinations, and distinguishable error response classes combined with leaked internal IP addresses in error messages expose internal network topology. A publicly available proof-of-concept exploit exists; this vulnerability is not currently listed in CISA KEV.

RemediationAI

No specific patched release version has been confirmed in the available data - patch availability per vendor advisory should be independently verified against the Dendrite GitHub release page before upgrading. As an immediate compensating control, block or restrict access to the /_matrix/media/r0/download path at the reverse proxy or WAF layer, ensuring only traffic from known federated Matrix homeservers can reach it; note this may break backwards compatibility with older Matrix clients relying on the legacy path. At the network layer, configure egress firewall rules on the Dendrite host to block outbound TCP connections to RFC-1918 ranges (10.0.0.0/8, 172.16.0.0/12, 192.168.0.0/16) and link-local addresses (169.254.0.0/16), which limits SSRF pivot capability while preserving legitimate federation traffic to public hosts. Validate serverName against a federation allowlist at the application layer if source-code patching is feasible. See https://www.vulncheck.com/advisories/dendrite-ssrf-via-unauthenticated-legacy-media-download-endpoint for advisory updates.

Affected VersionsENISA

dendrite 0 ≤0.13.8

Affected Packages

euvd dendrite no fix

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 1 package in euvd

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

Technical ContextAI · show details

Dendrite is the Go-language Matrix homeserver implementation maintained by matrix-org, designed as a lighter-weight alternative to the reference Synapse server. The Matrix federation protocol requires homeservers to fetch media from peer servers by name, and the legacy /_matrix/media/r0/download endpoint exposes a serverName parameter that is passed directly to Dendrite's outbound TLS dialing logic without allowlist validation or RFC-1918 filtering. This violates the trust boundary described by CWE-918 (Server-Side Request Forgery), where user-supplied input controls the server-side network destination. The affected CPE cpe:2.3:a:matrix-org:dendrite:*:*:*:*:*:*:*:* covers all releases through 0.13.8. The practical danger is amplified in cloud and container environments where internal metadata services (e.g., AWS Instance Metadata Service at 169.254.169.254) or other cluster-internal services are reachable from the Dendrite process's network namespace.

Know when Dendrite 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 (VulnCheck) PRIMARY 6.9 MEDIUM
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:N/VI:N/VA:N/SC:L/SI:N/SA:N
vuln.today AI 5.8 MEDIUM

PR:N confirmed by unauthenticated endpoint; S:C because SSRF reaches beyond Dendrite to probe internal systems; C:L for leaked internal network topology; no integrity or availability impact.

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

Primary rating from Vendor (VulnCheck).

CVSS VectorVendor: VulnCheck

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
None
Privileges Required
None
User Interaction
None
Vulnerable system: Confidentiality
None
Vulnerable system: Integrity
None
Vulnerable system: Availability
None
Subsequent system: Confidentiality
Low
Subsequent system: Integrity
None
Subsequent system: Availability
None

DescriptionCVE.org

Dendrite through 0.13.8 contains a server-side request forgery vulnerability that allows unauthenticated attackers to cause the server to open outbound TLS connections to arbitrary hosts and ports by supplying an unvalidated serverName parameter to the legacy media download endpoint. Attackers can exploit distinguishable error response classes and leaked internal IP addresses in error messages to perform blind port scanning and enumerate internal network topology.

Threat Intelligence Overview

EPSS Score
0.2%
Top 88% exploitable
Prevalence
Low
secondary Go Matrix homeserver, smaller install base than Synapse
Exploit
POC
Public exploit code exists
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GitHub VulDB

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 Yes
EPSS 0.2%
Patch available No
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
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

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

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

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