Back to CVE records
High 7.8Published Sep 23, 2025

CVE-2025-1131A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package.

Updated under an hour ago ()

Does this affect you?

It affects sangoma asterisk and 1 other product. Add what you run to find out whether that includes you.

No exploitation reported and no EPSS estimate yet.

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.

CVSS
7.8 HIGH (v3.1, NVD)CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
Weakness (CWE)
CWE-427
Known exploited
Not in CISA's KEV catalog
EPSS (exploitation in the next 30 days)
Not loaded for this CVE
Assigned by
Not given
NVD analysis
Modified
Record last updated
Oct 19, 2026
First seen by InfoSec Signals
Oct 19, 2026

Affected products

Affected products
sangoma asterisk
sangoma:asterisk
before 18.26.3; from 20.0.0 before 20.15.1; from 21.0.0 before 21.10.1; from 22.0.0 before 22.5.1
NVD
sangoma certified_asterisk
sangoma:certified_asterisk
18.9; 18.9; 18.9; 18.9; 18.9; 18.9; 18.9; 18.9; and 18 more ranges
NVD

References

  • exploit, vendor-advisory

The CVE record is authoritative. Products marked “from the name” were identified from the CNA's free-text names, not a CPE, and are matched less certainly. This product uses the NVD API but is not endorsed or certified by the NVD.

Your cookie choices
We use essential cookies to run this site, and, only with your consent, an advertising cookie from Google to measure whether our ads lead to sign-ups and subscriptions. See our for details.