CVE Vulnerabilities

CVE-2026-23739

Improper Restriction of XML External Entity Reference

Published: Feb 06, 2026 | Modified: Feb 18, 2026
CVSS 3.x
6.5
MEDIUM
Source:
NVD
CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:U/C:H/I:N/A:N
CVSS 2.x
RedHat/V2
RedHat/V3
2 LOW
CVSS:3.1/AV:N/AC:H/PR:H/UI:R/S:U/C:N/I:L/A:N
Ubuntu
MEDIUM
root.io logo minimus.io logo echo.ai logo

Asterisk is an open source private branch exchange and telephony toolkit. Prior to versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2, the ast_xml_open() function in xml.c parses XML documents using libxml with unsafe parsing options that enable entity expansion and XInclude processing. Specifically, it invokes xmlReadFile() with the XML_PARSE_NOENT flag and later processes XIncludes via xmlXIncludeProcess().If any untrusted or user-supplied XML file is passed to this function, it can allow an attacker to trigger XML External Entity (XXE) or XInclude-based local file disclosure, potentially exposing sensitive files from the host system. This can also be triggered in other cases in which the user is able to supply input in xml format that triggers the asterisk process to parse it. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.

Weakness

The product processes an XML document that can contain XML entities with URIs that resolve to documents outside of the intended sphere of control, causing the product to embed incorrect documents into its output.

Affected Software

NameVendorStart VersionEnd Version
AsteriskSangoma*20.18.2 (excluding)
AsteriskSangoma21.0.0 (including)21.12.1 (excluding)
AsteriskSangoma22.0.0 (including)22.8.2 (excluding)
AsteriskSangoma23.0.0 (including)23.2.2 (excluding)
Certified_asteriskSangoma*18.9 (including)
Certified_asteriskSangoma20.7-cert1 (including)20.7-cert1 (including)
Certified_asteriskSangoma20.7-cert1-rc1 (including)20.7-cert1-rc1 (including)
Certified_asteriskSangoma20.7-cert1-rc2 (including)20.7-cert1-rc2 (including)
Certified_asteriskSangoma20.7-cert2 (including)20.7-cert2 (including)
Certified_asteriskSangoma20.7-cert3 (including)20.7-cert3 (including)
Certified_asteriskSangoma20.7-cert4 (including)20.7-cert4 (including)
Certified_asteriskSangoma20.7-cert5 (including)20.7-cert5 (including)
Certified_asteriskSangoma20.7-cert6 (including)20.7-cert6 (including)
Certified_asteriskSangoma20.7-cert7 (including)20.7-cert7 (including)
Certified_asteriskSangoma20.7-cert8 (including)20.7-cert8 (including)

Potential Mitigations

References