CVE-2026-23740 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, when ast_coredumper writes its gdb init and output files to a directory that is world-writable (for example /tmp), an attacker with write permission(which is all users on a li...
Affects 2 products from 1 vendor. Facts below cite their sources.
Requires local access, low complexity, no authentication required, requires user interaction, 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 | 13.13.0 16.8 16.8.0 18.9 20.7 |
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, when ast_coredumper writes its gdb init and output files to a directory that is world-writable (for example /tmp), an attacker with write permission(which is all users on a linux system) to that directory can cause root to execute arbitrary commands or overwrite arbitrary files by controlling the gdb init file and output paths. 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-23740 |
|---|---|
| BreachSpider ID | BS-2026-GLOBAL-072019-H |
| CVSS vector | CVSS:3.1/AV:L/AC:L/PR:N/UI:R/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 with write access to a world-writable directory, such as /tmp, to execute arbitrary commands as root.
The vulnerability arises from the ast_coredumper component writing gdb init and output files to a world-writable directory. An attacker can exploit this by placing malicious files in the directory, which are then executed with root privileges when ast_coredumper runs.
Questions
What is CVE-2026-23740?
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 with write access to a world-writable directory, such as /tmp, to execute arbitrary commands as root.
What is the CVSS score for CVE-2026-23740?
CVE-2026-23740 has CVSS 7.8 (High). Vector: CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H. EPSS: 0.2%.
Is CVE-2026-23740 actively exploited?
No confirmed active exploitation of CVE-2026-23740 as of 2026-09-25.
How do I remediate CVE-2026-23740?
Priority: IMMEDIATE. PSIRT: [email protected]
What systems are affected by CVE-2026-23740?
CVE-2026-23740 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.