CVE-2025-1131: asterisk · Local Privilege Escalation Vulnerability Exists
Affects asteriskSource GCVE Database
Not known to be exploited · CVSS 7.8 High.
Data as of 24 Nov 2026, 21:15 UTC
- EPSS
- 0.2% chance of exploitation in 30 days – higher than 12% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HExploitation evidence
Disclosed: evidence found.
CVE published 23 Sep 2025
Detectable: no evidence on record.
No public nuclei template indexed
Weaponized: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by Mirage: no evidence on record.
No attack traffic recorded by OffSeq Mirage sensors
A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 24 Nov 2026.
What to do
Affected software
| Product | Affected | Fixed in |
|---|---|---|
Ubuntu 24.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=nobleOther threats | Affected
| Fixed in– |
Ubuntu 22.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=jammyOther threats | Affected
| Fixed in– |
Ubuntu 20.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=focalOther threats | Affected
| Fixed in– |
Ubuntu 18.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=bionicOther threats | Affected
| Fixed in– |
Ubuntu Pro 16.04 LTSasteriskpkg:deb/ubuntu/asterisk?arch=source&distro=esm-apps/xenialOther threats | Affected
| Fixed in– |
Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.
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.
References
- ubuntu.com/security/CVE-2025-1131 (opens in a new tab)
- cve.org/CVERecord?id=CVE-2025-1131 (opens in a new tab)
- github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp (opens in a new tab)
- github.com/asterisk/asterisk/commit/f97361952023625e8dd49ca03454777fad19fedb (opens in a new tab)
- github.com/asterisk/asterisk/commit/7ba06dc6ee5efd4edfe79690ad8d61a33b92ce3d (opens in a new tab)