Join the Cyber Forum: Threat Intel on May 12, 2026 to learn how AI is reshaping threat defense.Join the Virtual Cyber Forum: Threat IntelRegister Now
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-34401

CVE-2026-34401: XML Notepad XXE Vulnerability

CVE-2026-34401 is an XML External Entity (XXE) vulnerability in XML Notepad that enables attackers to exploit DTD processing for credential theft and data leaks. This article covers technical details, affected versions, and mitigation.

Published: April 2, 2026

CVE-2026-34401 Overview

CVE-2026-34401 is an XML External Entity (XXE) vulnerability affecting Microsoft XML Notepad, a Windows application that provides a simple intuitive User Interface for browsing and editing XML documents. Prior to version 2.9.0.21, XML Notepad does not disable DTD processing by default, which means external entities are resolved automatically. This creates an attack surface where a malicious DTD file can be crafted to force XML Notepad to make outbound HTTP/SMB requests, potentially leaking local file contents or capturing the victim's NTLM credentials.

Critical Impact

Attackers can craft malicious XML files with embedded DTD references to exfiltrate sensitive local files or capture NTLM credentials through forced SMB authentication requests.

Affected Products

  • Microsoft XML Notepad versions prior to 2.9.0.21

Discovery Timeline

  • 2026-03-31 - CVE-2026-34401 published to NVD
  • 2026-04-01 - Last updated in NVD database

Technical Details for CVE-2026-34401

Vulnerability Analysis

This vulnerability is classified as CWE-611: Improper Restriction of XML External Entity Reference. The core issue stems from XML Notepad's default configuration, which permits DTD processing and external entity resolution. When a user opens a maliciously crafted XML document, the parser automatically processes any referenced DTD files, including those pointing to external resources controlled by an attacker.

The attack can be weaponized in two primary ways: local file disclosure through file:// URI schemes, and NTLM credential theft through forced SMB connections to attacker-controlled servers. The network attack vector requires user interaction to open the malicious file, but once opened, the exploitation occurs automatically without additional user consent.

Root Cause

The root cause is the insecure default configuration of XML Notepad's XML parser. By default, DTD processing is enabled without restrictions on external entity resolution. This allows XML documents to define and reference external entities that can access local file system resources or initiate network connections. The application did not implement security-conscious defaults that would disable DTD processing or restrict external entity resolution to trusted sources only.

Attack Vector

The attack requires an attacker to deliver a malicious XML file to a victim. This can be accomplished through phishing emails, malicious downloads, or compromised file shares. When the victim opens the XML file in XML Notepad, the embedded DTD reference triggers automatic processing. The DTD can contain entity definitions that reference external URLs or local files.

For NTLM credential theft, the attacker's DTD references an SMB share on an attacker-controlled server. When the victim's system attempts to authenticate to the SMB share, NTLM hashes are transmitted and can be captured for offline cracking or relay attacks. For file exfiltration, the DTD uses file:// entities to read local files and transmit their contents to an attacker-controlled server through error messages or out-of-band channels.

xml
<!DOCTYPE root [
<!-- This XML Document demonstrates a DTD entity explosion risk.  Please make sure you
know and trust the DTD's you process before you enable DTD processing in XML Notepad. -->
<!ELEMENT root (#PCDATA)>
<!ENTITY e0 "This is some long text that we will replicate exponentially">
<!ENTITY e1 "&e0;&e0;&e0;&e0;&e0;&e0;&e0;&e0;&e0;&e0;">
<!ENTITY e2 "&e1;&e1;&e1;&e1;&e1;&e1;&e1;&e1;&e1;&e1;">
<!ENTITY e3 "&e2;&e2;&e2;&e2;&e2;&e2;&e2;&e2;&e2;&e2;">
<!ENTITY e4 "&e3;&e3;&e3;&e3;&e3;&e3;&e3;&e3;&e3;&e3;">
]>
<root>&e4;</root>

Source: GitHub Commit c03ab23

Detection Methods for CVE-2026-34401

Indicators of Compromise

  • Unexpected outbound SMB connections (port 445) to external IP addresses when XML files are opened
  • Unusual HTTP requests originating from XML Notepad process to unknown external domains
  • Network traffic containing file:// or \\ URI references in XML content
  • Presence of XML files with suspicious DTD declarations referencing external resources

Detection Strategies

  • Monitor network connections from XmlNotepad.exe for unexpected outbound traffic to external hosts
  • Implement file content scanning for XML documents containing external entity declarations or DOCTYPE references to remote URLs
  • Configure endpoint detection rules to alert on SMB authentication attempts triggered by document applications
  • Enable network traffic analysis to detect XXE-based data exfiltration patterns

Monitoring Recommendations

  • Deploy SentinelOne Singularity XDR to detect anomalous process behavior when XML Notepad initiates network connections
  • Configure SIEM alerts for outbound SMB traffic from non-browser Windows applications
  • Monitor Windows Security Event Logs for NTLM authentication events correlated with XML Notepad execution
  • Implement DNS logging to identify lookups for potentially malicious domains referenced in DTD files

How to Mitigate CVE-2026-34401

Immediate Actions Required

  • Update Microsoft XML Notepad to version 2.9.0.21 or later immediately
  • Educate users about the risks of opening untrusted XML files from unknown sources
  • Review and quarantine any recently opened XML files from untrusted sources
  • Block outbound SMB traffic (port 445) at the network perimeter for non-essential hosts

Patch Information

Microsoft has addressed this vulnerability in XML Notepad version 2.9.0.21. The patch modifies the default DTD processing behavior and adds user prompts when DTD settings are changed. Users should update to this version or later through the official GitHub release. For detailed technical information, refer to the GitHub Security Advisory GHSA-5j32-486h-42ch.

Workarounds

  • Disable DTD processing in XML Notepad settings if the option is available in your version
  • Use alternative XML editors that disable external entity resolution by default
  • Implement network segmentation to prevent workstations from making direct outbound SMB connections
  • Configure Windows Defender Firewall to block XML Notepad from making outbound connections
text
# Security patch version update from commit 3665603
<ApplicationRevision>20</ApplicationRevision>
<ApplicationVersion>2.9.0.20</ApplicationVersion>

Source: GitHub Commit 3665603

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechXml Notepad

  • SeverityMEDIUM

  • CVSS Score6.5

  • EPSS Probability0.22%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-611
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Update

  • GitHub Release 2.9.0.21

  • GitHub Security Advisory GHSA-5j32-486h-42ch
  • Latest CVEs
  • CVE-2025-11419: Keycloak TLS DoS Vulnerability

  • CVE-2025-13947: WebKitGTK Information Disclosure Flaw

  • CVE-2026-40322: SiYuan Knowledge Management RCE Vulnerability

  • CVE-2026-40318: SiYuan Path Traversal Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English