Live threats

All CVEs / Sangoma

CVE-2025-1131Sangoma Asterisk

High 7.0

Priority
42
CVSS 4.0
7.0
EPSS
0.2%
probability of exploitation in 30 days · percentile 8
Auth required
Yes
Published
Sep 23, 2025
Updated
Oct 19, 2026
Category
Application · Cross-platform
Weakness (CWE)
CWE-427
SSVC (CISA)
Exploitation: proof of concept · Automatable: no · Technical impact: total
Vector
CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:C/RE:H/U:Amber

What happens

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.

Original NVD text.

What to do

  1. Apply the vendor's security update for Asterisk.

Affected products (CPE)

VendorProductVersions
sangomaasterisk< 18.26.3
sangomaasterisk≥ 20.0.0 < 20.15.1
sangomaasterisk≥ 21.0.0 < 21.10.1
sangomaasterisk≥ 22.0.0 < 22.5.1
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk18.9
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7
sangomacertified_asterisk20.7

Official sources

References

Links published by the sources. Open them with care.