CVE-2025-1131
CVE-2025-1131 is a high-severity vulnerability in Sangoma Asterisk with a CVSS 3.x base score of 7.8. It is not currently listed as actively exploited by CISA, and its EPSS exploit-prediction score is low. The underlying weakness is classified as CWE-427.
Key facts
- Severity: High (CVSS 3.x base score 7.8)
- CVSS v4: 7.0
- EPSS exploit prediction: 0% (10th percentile)
- Actively exploited: Not listed in CISA KEV
- EU (EUVD) id: EUVD-2025-30828
- Weakness: CWE-427
- Affected product: Sangoma Asterisk
- Published:
- Last modified:
Description
A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/startup.d/ as root, without validating ownership or permissions. Non-root users with legitimate write access to /etc/asterisk can exploit this behaviour by placing malicious scripts in the startup.d directory, which will then execute with root privileges upon service restart.
Frequently asked questions
- What is CVE-2025-1131?
- A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package. When Asterisk is started via this script (common in SysV init or FreePBX environments), it sources all .sh files located in /etc/asterisk/startup.d/ as root, without validating ownership or permissions. Non-root users with legitimate write access to /etc/asterisk can exploit this behaviour by placing malicious scripts in the startup.d directory, which will then execute with root privileges upon service restart.
- How severe is CVE-2025-1131?
- CVE-2025-1131 has a CVSS 3.x base score of 7.8, rated high severity. It is exploitable over local access with low attack complexity, requires low privileges and no user interaction. Impact on confidentiality is high, integrity high, and availability high.
- Is CVE-2025-1131 being actively exploited?
- It is not currently listed in CISA's KEV catalog. Its EPSS exploit-prediction score is 0% (10th percentile), an estimate of the probability of exploitation in the next 30 days.
- What products are affected by CVE-2025-1131?
- CVE-2025-1131 primarily affects Sangoma Asterisk. In total, 27 product configurations (CPEs) are listed as vulnerable; see the affected-products list for the exact versions.
- How do I fix CVE-2025-1131?
- Review the linked vendor and NVD advisories for patched versions and mitigations, then upgrade or apply the recommended workaround. Given its high severity, prioritise patching exposed systems.
- Does CVE-2025-1131 have an EU (EUVD) identifier?
- Yes. CVE-2025-1131 is tracked in the ENISA EU Vulnerability Database (EUVD) as EUVD-2025-30828.
- When was CVE-2025-1131 published?
- CVE-2025-1131 was published on 2025-09-23 and last updated on 2026-06-17.
References
- https://github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp
- https://lists.debian.org/debian-lts-announce/2025/10/msg00006.html
Affected products (27)
- cpe:2.3:a:sangoma:asterisk:*:*:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert1-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert10:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert11:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert12:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert13:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert14:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert15:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert3:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert4:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert5:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert6:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert7:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert8-rc2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:18.9:cert9:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc1:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert1-rc2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert2:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert3:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert4:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert5:*:*:*:*:*:*
- cpe:2.3:a:sangoma:certified_asterisk:20.7:cert6:*:*:*:*:*:*
More vulnerabilities in Sangoma Asterisk
- CVE-2024-57520 — Critical (CVSS 9.8): Insecure Permissions vulnerability in asterisk v22 allows a remote attacker to execute arbitrary code via the…
- CVE-2022-21723 — Critical (CVSS 9.1): PJSIP is a free and open source multimedia communication library written in C language implementing standard based…
- CVE-2012-2186 — Critical (CVSS 9.0): Incomplete blacklist vulnerability in main/manager.c in Asterisk Open Source 1.8.x before 1.8.15.1 and 10.x before…
- CVE-2022-23608 — High (CVSS 8.1): PJSIP is a free and open source multimedia communication library written in C language implementing standard based…
- CVE-2025-47780 — High (CVSS 7.8): Asterisk is an open-source private branch exchange (PBX). Prior to versions 18.26.2, 20.14.1, 21.9.1, and 22.4.1 of…
- CVE-2009-2346 — High (CVSS 7.8): The IAX2 protocol implementation in Asterisk Open Source 1.2.x before 1.2.35, 1.4.x before 1.4.26.2, 1.6.0.x before…
All CVEs affecting Sangoma Asterisk →
Other CWE-427 (Uncontrolled Search Path Element) vulnerabilities
- CVE-2025-4981 — Critical (CVSS 9.9): Mattermost versions 10.5.x <= 10.5.5, 9.11.x <= 9.11.15, 10.8.x <= 10.8.0, 10.7.x <= 10.7.2, 10.6.x <= 10.6.5 fail to…
- CVE-2025-69599 — Critical (CVSS 9.8): RayVentory Scan Engine through 12.6 Update 8 allows attackers to gain privileges if they control the value of the PATH…
- CVE-2019-25268 — Critical (CVSS 9.8): NREL BEopt 2.8.0.0 contains a DLL hijacking vulnerability that allows attackers to load arbitrary libraries by tricking…
- CVE-2023-53959 — Critical (CVSS 9.8): FileZilla Client 3.63.1 contains a DLL hijacking vulnerability that allows attackers to execute malicious code by…
- CVE-2025-65741 — Critical (CVSS 9.8): Sublime Text 3 Build 3208 or prior for MacOS is vulnerable to Dylib Injection. An attacker could compile a .dylib file…
- CVE-2024-23054 — Critical (CVSS 9.8): An issue in Plone Docker Official Image 5.2.13 (5221) open-source software that could allow for remote code execution…
Browse all CWE-427 (Uncontrolled Search Path Element) vulnerabilities →