CVE-2026-23741 in Sangoma Asterisk and 1 more product
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 asterisk/contrib/scripts/ast_coredumper runs as root, as noted by the NOTES tag on line 689 of the ast_coredumper file. The script will source the contents of /etc/asteris...
Affects 2 products from 1 vendor. Facts below cite their sources.
Remotely exploitable over the network, low complexity, low privileges required, no user interaction needed, impact contained to the vulnerable component, full confidentiality impact, full integrity impact, full availability impact.
Affected products and versions
| Vendor | Product | Affected versions |
|---|---|---|
| Sangoma | Asterisk | < 20.18.2 ≥ 21.0.0, < 21.12.1 ≥ 22.0.0, < 22.8.2 ≥ 23.0.0, < 23.2.2 |
| Sangoma | Certified Asterisk | 20.7 ≤ 18.9 |
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
No official vendor advisory link on record. See the CVE record.
Vendor PSIRT: [email protected]
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official description
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 asterisk/contrib/scripts/ast_coredumper runs as root, as noted by the NOTES tag on line 689 of the ast_coredumper file. The script will source the contents of /etc/asterisk/ast_debug_tools.conf, which resides in a folder that is writeable by the asterisk user:group. Due to the /etc/asterisk/ast_debug_tools.conf file following bash semantics and it being loaded; an attacker with write permissions may add or modify the file such that when the root ast_coredumper is run; it would source and thereby execute arbitrary bash code found in the /etc/asterisk/ast_debug_tools.conf. This issue has been patched in versions 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2026-23741 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-072020-H |
| CVSS vector | CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |
| Published | 2026-02-06 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-427: CWE-427
Related attack patterns (CAPEC)
CAPEC-38 Leveraging/Manipulating Configuration File Search Paths via CWE-427
CAPEC-471 Search Order Hijacking via CWE-427
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
A vulnerability in Asterisk versions prior to 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2 allows an attacker to execute arbitrary code as root due to the insecure handling of the ast_debug_tools.conf file.
The vulnerability arises from the ast_coredumper script running as root and sourcing the contents of /etc/asterisk/ast_debug_tools.conf, which is writable by the asterisk user. An attacker with access to the asterisk user can modify this file to execute arbitrary commands with root privileges.
Questions
What is CVE-2026-23741?
A vulnerability in Asterisk versions prior to 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, and 23.2.2 allows an attacker to execute arbitrary code as root due to the insecure handling of the ast_debug_tools.conf file.
What is the CVSS score for CVE-2026-23741?
CVE-2026-23741 has CVSS 8.8 (High). Vector: CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H. EPSS: 0.4%.
Is CVE-2026-23741 actively exploited?
No confirmed active exploitation of CVE-2026-23741 as of 2026-09-25.
How do I remediate CVE-2026-23741?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-23741?
CVE-2026-23741 affects Sangoma Asterisk, Certified Asterisk.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Sangoma","product":"Asterisk","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.