The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
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
    • 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-23739

CVE-2026-23739: Asterisk XXE Vulnerability

CVE-2026-23739 is an XXE vulnerability in Asterisk telephony toolkit that enables attackers to disclose local files through unsafe XML parsing. This article covers the technical details, affected versions, and mitigation.

Published: February 13, 2026

CVE-2026-23739 Overview

Asterisk, the widely-deployed open source private branch exchange (PBX) and telephony toolkit, contains an XML External Entity (XXE) vulnerability in its XML parsing implementation. The vulnerability exists in the ast_xml_open() function within xml.c, which parses XML documents using libxml with unsafe parsing options that enable entity expansion and XInclude processing.

Specifically, the function invokes xmlReadFile() with the XML_PARSE_NOENT flag and subsequently processes XIncludes via xmlXIncludeProcess(). When any untrusted or user-supplied XML file is passed to this function, attackers can trigger XXE or XInclude-based local file disclosure, potentially exposing sensitive files from the host system. This can also be triggered in other scenarios where users are able to supply input in XML format that causes the Asterisk process to parse it.

Critical Impact

Successful exploitation could allow attackers to read sensitive files from Asterisk PBX servers, potentially exposing VoIP configurations, credentials, and other confidential data.

Affected Products

  • Asterisk versions prior to 20.7-cert9
  • Asterisk versions prior to 20.18.2
  • Asterisk versions prior to 21.12.1
  • Asterisk versions prior to 22.8.2
  • Asterisk versions prior to 23.2.2

Discovery Timeline

  • 2026-02-06 - CVE CVE-2026-23739 published to NVD
  • 2026-02-06 - Last updated in NVD database

Technical Details for CVE-2026-23739

Vulnerability Analysis

This vulnerability is classified as CWE-611 (Improper Restriction of XML External Entity Reference). The root issue lies in how the Asterisk application handles XML document parsing through the libxml2 library. The parsing configuration permits dangerous features that should be disabled when processing untrusted input.

The XML_PARSE_NOENT flag instructs the parser to substitute entity references, which enables attackers to define external entities pointing to local files or internal network resources. Combined with XInclude processing via xmlXIncludeProcess(), this creates a powerful attack surface for file disclosure.

The attack requires network access and typically requires elevated privileges along with user interaction, which somewhat limits the attack surface. However, in environments where Asterisk accepts XML configuration or data from less trusted sources, the risk of exploitation increases.

Root Cause

The vulnerability stems from insecure XML parsing configuration in the ast_xml_open() function. The function passes XML_PARSE_NOENT to xmlReadFile(), which enables entity substitution without proper restrictions on external entity resolution. Additionally, the subsequent call to xmlXIncludeProcess() expands XInclude elements, creating another vector for file inclusion attacks.

Secure XML parsing should disable DTD processing, external entity resolution, and XInclude processing when handling untrusted input. The Asterisk implementation failed to implement these security controls.

Attack Vector

The attack is network-based and targets the XML parsing functionality in Asterisk. An attacker who can supply malicious XML content to the Asterisk system can craft a payload containing external entity declarations or XInclude elements that reference sensitive local files.

When Asterisk parses this malicious XML, the libxml2 library resolves the external references and includes the file contents in the parsed document. The attacker can then exfiltrate this data through various techniques, such as out-of-band (OOB) data exfiltration via HTTP requests to attacker-controlled servers.

Typical XXE payloads would define external entities pointing to system files like /etc/passwd, configuration files, or Asterisk-specific files such as sip.conf or extensions.conf that may contain credentials and sensitive configuration data.

Detection Methods for CVE-2026-23739

Indicators of Compromise

  • Unusual XML content in Asterisk logs containing <!DOCTYPE, <!ENTITY, or <xi:include declarations
  • Unexpected file access attempts from the Asterisk process to sensitive system files
  • Outbound HTTP/HTTPS connections from the Asterisk server to unknown external hosts
  • Error messages related to XML parsing or entity resolution failures

Detection Strategies

  • Monitor Asterisk process for file read operations outside expected directories
  • Implement network monitoring to detect out-of-band data exfiltration attempts
  • Review Asterisk logs for malformed or suspicious XML input patterns
  • Deploy file integrity monitoring on critical configuration files

Monitoring Recommendations

  • Enable verbose logging for XML parsing operations in Asterisk
  • Configure network-level monitoring to alert on unusual outbound connections from PBX servers
  • Implement application-level logging to capture all XML input received by Asterisk
  • Use endpoint detection solutions to monitor for anomalous file access patterns

How to Mitigate CVE-2026-23739

Immediate Actions Required

  • Upgrade Asterisk to patched versions: 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, or 23.2.2
  • Review and restrict sources of XML input to the Asterisk system
  • Implement network segmentation to limit Asterisk server's access to sensitive internal resources
  • Audit existing configurations for any user-controllable XML input vectors

Patch Information

Asterisk has released patched versions that address this vulnerability by implementing secure XML parsing options. Affected organizations should upgrade to one of the following fixed versions:

  • Version 20.7-cert9 (certified branch)
  • Version 20.18.2
  • Version 21.12.1
  • Version 22.8.2
  • Version 23.2.2

For detailed information about the security fix, refer to the GitHub Security Advisory.

Workarounds

  • Restrict XML input sources to trusted internal systems only
  • Implement input validation to reject XML documents containing DOCTYPE declarations or external entity references
  • Use network firewalls to block outbound connections from Asterisk servers to untrusted networks
  • Consider deploying a Web Application Firewall (WAF) or XML gateway to filter malicious XML payloads before they reach Asterisk
bash
# Configuration example - Network restriction for Asterisk
# Add to firewall rules to limit outbound connections from Asterisk server
iptables -A OUTPUT -m owner --uid-owner asterisk -p tcp --dport 80 -j DROP
iptables -A OUTPUT -m owner --uid-owner asterisk -p tcp --dport 443 -j DROP

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

  • Vulnerability Details
  • TypeXXE

  • Vendor/TechAsterisk

  • SeverityLOW

  • CVSS Score2.0

  • EPSS Probability0.10%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
  • Impact Assessment
  • ConfidentialityHigh
  • IntegrityLow
  • AvailabilityNone
  • CWE References
  • CWE-611
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-23740: Asterisk ast_coredumper RCE Vulnerability

  • CVE-2026-23741: Asterisk Privilege Escalation Vulnerability

  • CVE-2026-23738: Asterisk Telephony Toolkit XSS Vulnerability
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