Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessReach exposed /embed2.js endpoint
-
DeliverySupply IPv6 ULA fetch URL
-
ExploitBypass string-prefix ULA filter
-
ExecutionServer fetches internal IPv6 resource
-
PersistResponse reflected to attacker
-
ImpactExfiltrate cloud metadata credentials
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 | Requires a self-hosted draw.io server (jgraph/drawio prior to 30.3.8) with the /embed2.js fetch endpoint reachable by the attacker; no authentication, no ENABLE_DRAWIO_PROXY=1 flag, and no DNS rebinding are needed on this primary path. The decisive limiting factor is that only the IPv6 Unique Local Address filter (fc00::/7) is bypassed - IPv4 private ranges stay blocked - so exploitation is possible only when the intended internal target (e.g. AWS's fd00:ec2::/32 IPv6 IMDS range or another internal service) is actually addressable over IPv6 ULA in the deployment; IPv4-only IMDS/internal networks are not exposed via this bug. |
| Impact | The CVSS 4.0 base score of 7.7 (High) is driven by an unauthenticated network vector (AV:N/PR:N/UI:N) with low attack complexity and a scope-changing confidentiality impact on subsequent systems (SC:H) - consistent with a classic SSRF that reflects internal responses to the attacker. However, several signals temper real-world urgency: there is no EPSS score, no CISA KEV listing, and no public POC identified in the provided intelligence, so exploitation is theoretical rather than confirmed. Critically, the flaw only bypasses the IPv6 Unique Local Address (fc00::/7) filter - IPv4 private-range checks remain intact - so the internal target (including AWS's fd00:ec2::/32 IPv6 IMDS range) must actually be reachable over IPv6 ULA. Many cloud deployments front IMDS on IPv4 (169.254.169.254) and do not enable IPv6 addressing, which meaningfully narrows the exploitable population despite the 'network/no-auth' framing. This is a genuine unauthenticated SSRF worth patching promptly on internet-exposed self-hosted draw.io servers, but it is not an indiscriminate mass-exploitation threat; realistic impact is gated on the specific IPv6 ULA reachability of internal resources. |
| Exploit ScenarioDerived | An attacker sends an unauthenticated GET to a self-hosted draw.io server's /embed2.js?fetch= endpoint supplying an IPv6 Unique Local Address URL (e.g. the fd00:ec2::/32 IMDS range or another internal IPv6 service). Because sanitizeUrl() compares string prefixes against the compressed forms fc00::/fd00:: while the JDK returns the fully expanded address, the check never matches and EmbedServlet2 fetches the internal resource and reflects its body to the requester, potentially disclosing cloud metadata credentials. No proxy feature flag (ENABLE_DRAWIO_PROXY=1) or DNS rebinding is required on this primary path; no public exploit code was identified at time of analysis. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Sep 21, 2026
Server-side request forgery in self-hosted draw.io (jgraph/drawio) prior to 30.3.8 lets an unauthenticated remote attacker point the /embed2.js?fetch= endpoint at internal IPv6 Unique Local Address (ULA) resources and read the reflected response, including AWS instance metadata served on the fd00:ec2::/32 range, which can expose IAM credentials and other sensitive internal data. The flaw is a filter bypass rather than a missing check: the private-address guard compared the JDK's fully expanded IPv6 text form against the compressed prefixes 'fc00::' and 'fd00::', so the entire fc00::/7 ULA space slipped through. Exploitation requires a reachable self-hosted draw.io instance and an internal target genuinely addressable over IPv6 ULA - IPv4 private ranges remain blocked, and neither authentication nor the ENABLE_DRAWIO_PROXY=1 flag nor DNS rebinding is needed on the primary /embed2.js path. No public exploit code was identified at time of analysis, and the issue is not confirmed actively exploited (no CISA KEV listing); the CVSS 4.0 base score is 7.7 (High), reflecting a network-vector, scope-changing confidentiality impact.
RemediationAI
Upgrade to draw.io 30.3.8 or later - vendor-released patch: v30.3.8 (https://github.com/jgraph/drawio/releases/tag/v30.3.8), which is the release referenced by the fixing commit 73c4a91196246bbdb60f52b15871e82006b7972d and by advisory GHSA-m3q9-cwfq-hcjc (https://github.com/jgraph/drawio/security/advisories/GHSA-m3q9-cwfq-hcjc); at minimum apply that commit if you build from source, since it both corrects the fc00::/7 byte-level check and pins the validated address to close the DNS-rebinding TOCTOU window. If immediate upgrade is not possible, block the exposure at the edge: reject or strip requests to /embed2.js that carry a fetch= parameter (and, where the proxy feature is enabled via ENABLE_DRAWIO_PROXY=1, to the ProxyServlet path) at the reverse proxy or WAF, accepting that embedded-diagram fetching will stop working for legitimate users; alternatively restrict the server's outbound traffic at the network layer so it cannot reach fc00::/7 (and 100.64.0.0/10) destinations at all, which preserves the embed feature but requires accurate egress rules and will also block any intended ULA service dependencies. Where the concern is specifically cloud metadata, enforce IMDSv2 (session-token-required) on AWS EC2 instances and, if the workload does not need them, disable IPv6 metadata access or the instance's IPv6 ULA routing entirely, since this bug does not expose IPv4-only metadata endpoints (169.254.169.254 remains blocked by the pre-existing filter). As a hardening measure, run the draw.io server in a segment with no route to internal management planes, and audit logs for /embed2.js requests containing fetch= values that reference bracketed IPv6 literals in the fc00::/7 range.
Affected VersionsENISA
Affected Packages
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
The root cause is CWE-918 (Server-Side Request Forgery) arising from a string-prefix validation error in src/main/java/com/mxgraph/online/Utils.java. The private-address blocklist tested resolved addresses using startsWith("fc00::") and startsWith("fd00::"), but java.net.InetAddress#getHostAddress() always renders IPv6 in the fully expanded eight-group hexadecimal form and never applies '::' compression, so a real ULA such as fd00:ec2::254 is returned as fd00:0ec2:... and never matched the compressed literal. The complete fc00::/7 range - which encompasses fc00::/8 and fd00::/8, including AWS's fd00:ec2::/32 IPv6 IMDS prefix - therefore passed validation. EmbedServlet2.java consumed that sanitized URL to build its JavaScript embed response, and an unauthenticated request to /embed2.js?fetch= caused the server to fetch the attacker-supplied internal URL and reflect the body back to the requester. The same private-address helper, Utils.validatedAddress(), guarded the separate ProxyServlet code path, which additionally requires ENABLE_DRAWIO_PROXY=1. The upstream fix rewrites the check to operate on raw address bytes: isUniqueLocalIPv6() masks the first byte with 0xFE and compares to 0xFC (correctly covering fc00::/7), and isSharedCgnatIPv4() masks for 100.64.0.0/10 (RFC 6598 CGNAT space used by EKS secondary pod CIDRs, some CNIs, Oracle Cloud, Tailscale and ISP CGNAT, which likewise cannot be expressed as an octet-aligned prefix). The commit also switches EmbedServlet2 to capture the validated InetAddress and hand it to Utils.openPinnedConnection(), closing a DNS-rebinding time-of-check/time-of-use gap by pinning the connection to the address that was actually validated rather than re-resolving the hostname. Every self-hosted jgraph/drawio build distributed under CPE cpe:2.3:a:jgraph:drawio:*:*:*:*:*:*:*:* before 30.3.8 carries the flawed check; the cloud-hosted draw.io service is not the affected artifact.
Know when Java 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
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:H/SI:N/SA:N
Unauthenticated remote SSRF (PR:N) whose scope-changing read of internal systems (S:C/C:H) is gated on the target being IPv6-ULA reachable, warranting AC:H; no integrity or availability impact.
Primary rating from Vendor (GitHub_M).
CVSS VectorVendor: GitHub_M
Lifecycle Timeline
2DescriptionCVE.org
draw.io is a configurable diagramming and whiteboarding application. Prior to version 30.3.8, src/main/java/com/mxgraph/online/Utils.java checks IPv6 Unique Local Addresses in Utils.sanitizeUrl() by comparing the text prefixes fc00:: and fd00::, but the JDK returns the expanded address form, so the fc00::/7 range, including the AWS metadata range fd00:ec2::/32, is not blocked. An unauthenticated request to /embed2.js?fetch= can therefore make src/main/java/com/mxgraph/online/EmbedServlet2.java fetch an IPv6 ULA internal resource and reflect the response to the requester. Utils.validatedAddress() uses the same private-address check for the separate ProxyServlet path, which requires ENABLE_DRAWIO_PROXY=1. The primary /embed2.js path requires no proxy feature flag or DNS rebinding, and it can disclose cloud metadata credentials or data from other IPv6-reachable internal services. This issue is fixed in version 30.3.8.
Articles & Coverage 1
Technical POC Analysis
CWE-918 (Server-Side Request Forgery).
Full technical POC analysis - root cause, step-by-step exploitation and patch breakdown - is part of the Pro and Business plans.
Executive ViewAI
Self-hosted draw.io versions prior to 30.3.8 are affected by a server-side request forgery vulnerability that could allow an attacker to access internal IPv6 resources and potentially expose AWS IAM credentials. Organizations running these instances may face unauthorized access to sensitive internal data and cloud environments, making this a significant risk to confidentiality and cloud security. Because no vendor patch is currently available, leadership should prioritize immediate mitigation and monitoring.
No vendor-released patch identified at time of analysis. Interim mitigations include restricting network access to the /embed2.js endpoint, implementing egress filtering to block IPv6 ULA ranges (fc00::/7) and specifically fd00:ec2::/32, disabling IPv6 where not required, network segmentation, and monitoring for anomalous SSRF requests.
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
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m
Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti
Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent
Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug
JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up
Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up
The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers
Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow
Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla
The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during
EUVD-2026-84009
NVD
CVE.org
EPSS
GitHub
VulDB
Exploit-DB