CVE-2025-1131
HIGH7.8EPSS 0.05%asterisk - security update
Published: 9/23/2025Modified: 4/28/2026
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.
Affected packages (2)
- Debian/asteriskfrom 0, < 1:16.28.0~dfsg-0+deb11u8
- Debian/asteriskfrom 0, < 1:16.28.0~dfsg-0+deb11u8
CVSS scores
| Source | Version | Severity | Vector |
|---|---|---|---|
| osv | CVSS 3.1 | HIGH7.8 | CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H |