cve.bz

CVE-2026-23740 sangoma: Uncontrolled Search Path Element

7.8 highEPSS 0.1%

High (7.8) in sangoma. EPSS 0.1% estimated probability of exploitation activity in the next 30 days.

On this page
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.

Severity

CVSS 3.1

7.8 high
CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:U/C:H/I:H/A:H
EPSS
0.1% (unchanged from 0.1% a week ago; 0.1% 30 days ago) estimated probability of exploitation activity in the next 30 days; 3rd percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: no · Technical impact: total, assessed 2026-02-06. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWE
CWE-427 Uncontrolled Search Path Element
OWASP Top 10
A08:2025 Software or Data Integrity Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-23740 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-23740?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-23740?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-23740 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sangoma:certified_asterisk13.13.0
sangoma:certified_asterisk13.13.0:cert1
sangoma:certified_asterisk13.13.0:cert1-rc1
sangoma:certified_asterisk13.13.0:cert1-rc2
sangoma:certified_asterisk13.13.0:cert1-rc3
sangoma:certified_asterisk13.13.0:cert1-rc4
sangoma:certified_asterisk13.13.0:cert2
sangoma:certified_asterisk13.13.0:cert3
sangoma:certified_asterisk13.13.0:rc1
sangoma:certified_asterisk13.13.0:rc2
sangoma:certified_asterisk16.8:cert1-rc1
sangoma:certified_asterisk16.8:cert1-rc2
sangoma:certified_asterisk16.8:cert1-rc3
sangoma:certified_asterisk16.8:cert1-rc4
sangoma:certified_asterisk16.8:cert1-rc5
sangoma:certified_asterisk16.8:cert10
sangoma:certified_asterisk16.8:cert11
sangoma:certified_asterisk16.8:cert12
sangoma:certified_asterisk16.8:cert13
sangoma:certified_asterisk16.8:cert14
sangoma:certified_asterisk16.8:cert4-rc1
sangoma:certified_asterisk16.8:cert4-rc2
sangoma:certified_asterisk16.8:cert4-rc3
sangoma:certified_asterisk16.8:cert4-rc4
sangoma:certified_asterisk16.8.0
sangoma:certified_asterisk16.8.0:cert1
sangoma:certified_asterisk16.8.0:cert10
sangoma:certified_asterisk16.8.0:cert11
sangoma:certified_asterisk16.8.0:cert12
sangoma:certified_asterisk16.8.0:cert2
sangoma:certified_asterisk16.8.0:cert3
sangoma:certified_asterisk16.8.0:cert4
sangoma:certified_asterisk16.8.0:cert5
sangoma:certified_asterisk16.8.0:cert6
sangoma:certified_asterisk16.8.0:cert7
sangoma:certified_asterisk16.8.0:cert8
sangoma:certified_asterisk16.8.0:cert9
sangoma:certified_asterisk18.9
sangoma:certified_asterisk18.9:cert1
sangoma:certified_asterisk18.9:cert1-rc1
sangoma:certified_asterisk18.9:cert10
sangoma:certified_asterisk18.9:cert11
sangoma:certified_asterisk18.9:cert12
sangoma:certified_asterisk18.9:cert13
sangoma:certified_asterisk18.9:cert14
sangoma:certified_asterisk18.9:cert15
sangoma:certified_asterisk18.9:cert16
sangoma:certified_asterisk18.9:cert2
sangoma:certified_asterisk18.9:cert3
sangoma:certified_asterisk18.9:cert4
sangoma:certified_asterisk18.9:cert5
sangoma:certified_asterisk18.9:cert6
sangoma:certified_asterisk18.9:cert7
sangoma:certified_asterisk18.9:cert8
sangoma:certified_asterisk18.9:cert8-rc1
sangoma:certified_asterisk18.9:cert8-rc2
sangoma:certified_asterisk18.9:cert9
sangoma:certified_asterisk20.7:cert1
sangoma:certified_asterisk20.7:cert1-rc1
sangoma:certified_asterisk20.7:cert1-rc2
sangoma:certified_asterisk20.7:cert2
sangoma:certified_asterisk20.7:cert3
sangoma:certified_asterisk20.7:cert4
sangoma:certified_asterisk20.7:cert5
sangoma:certified_asterisk20.7:cert6
sangoma:certified_asterisk20.7:cert7
sangoma:asteriskbefore 20.18.2
sangoma:asteriskfrom 21.0.0 before 21.12.1
sangoma:asteriskfrom 22.0.0 before 22.8.2
sangoma:asteriskfrom 23.0.0 before 23.2.2

Linux distributions

DistributionReleasePackageFixed inAdvisory
Debian11asterisk1:16.28.0~dfsg-0+deb11u9DLA-4515-1
Debian14asterisk1:22.8.2+dfsg+~cs6.15.60671435-1DEBIAN-CVE-2026-23740
Ubuntu18.04:LTS, 20.04:LTS, 22.04:LTS and 5 moreasteriskno fix listedUBUNTU-CVE-2026-23740

From the distributions' data via OSV.dev: the Debian Security Tracker; Ubuntu Security Notices © Canonical Ltd., CC BY-SA 4.0. Modified: reformatted and linked to CVE records. Credits. On the distributions' own pages: Debian · Ubuntu.

Red Hat

Red Hat rates this Important.

Red Hat's statement

This IMPORTANT vulnerability in Asterisk allows a local attacker to achieve privilege escalation. When the `ast_coredumper` writes to a world-writable directory, such as `/tmp`, a local user can manipulate the GDB init and output files. This manipulation can lead to the execution of arbitrary commands as root or the overwriting of arbitrary files. This affects Asterisk packages in Red Hat Community Projects, including EPEL 8, EPEL 9, Fedora 42, and Fedora 43.

Red Hat's mitigation

To mitigate this vulnerability, configure Asterisk's ast_coredumper to write its gdb initialization and output files to a directory with restricted permissions, preventing unprivileged users from modifying them. Ensure the chosen directory is not world-writable. Consult Asterisk documentation for specific configuration parameters related to ast_coredumper output paths. A restart of the Asterisk service may be required for changes to take effect.

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-23740.

Attack patterns (CAPEC)

  • CAPEC-38 Leveraging/Manipulating Configuration File Search Paths Likelihood: High · Severity: Very High
  • CAPEC-471 Search Order Hijacking Severity: Medium

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON