Skip to main content

draw.io CVE-2026-76898

| EUVDEUVD-2026-84009 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-09-21 GitHub_M
7.7
CVSS 4.0 · Vendor: GitHub_M
View

Attack ChainAIDerived

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

  1. Access
    Reach exposed /embed2.js endpoint
  2. Delivery
    Supply IPv6 ULA fetch URL
  3. Exploit
    Bypass string-prefix ULA filter
  4. Execution
    Server fetches internal IPv6 resource
  5. Persist
    Response reflected to attacker
  6. Impact
    Exfiltrate 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.3% exploitation probability (EPSS)

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

Alert me

AnalysisAIv1 – 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

drawio < 30.3.8

Affected Packages

euvd drawio fix: 30.3.8

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

Vendor (GitHub_M) PRIMARY 7.7 HIGH
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
vuln.today AI 6.8 MEDIUM

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.

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

Primary rating from Vendor (GitHub_M).

CVSS VectorVendor: GitHub_M

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

Lifecycle Timeline

2
Patch available
Sep 21, 2026 - 18:02 EUVD
CVE Published
Sep 21, 2026 - 16:31 cve.org
HIGH 7.7

DescriptionCVE.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.

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

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.3%
Top 80% exploitable
Prevalence
Medium
draw.io is widely used, but the vulnerable self-hosted Java web server is a subset
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 HIGH
CISA KEV No
Public POC No
EPSS 0.3%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.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
Yes
Human Impact
High

Priority Score

38
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +38
PoC: 0
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.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

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

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

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