CVE-2025-1131: A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolk
CVE-2025-1131 is a high-severity flaw (CVSS 7.8) affecting asterisk, certified asterisk. Below: why it ranks where it does, which versions are affected, what to do, and the exact commands.
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
Why this priority
- High severity
- Public exploit reference
A fixed release or distro patch exists.
Risk facts
| CVSS score | 7.8 (High) |
| Attack vector | Local |
| Attack complexity | Low |
| Privileges needed | Low |
| User interaction | None |
| EPSS exploit chance | 0.2% (top 88%) |
| CISA exploited list | No |
| Weakness | CWE-427 |
| Published | 2025-09-23 |
| Last modified | 2026-10-19 |
Last updated 2026-10-19 · Sources: CVE Program, NVD, CISA KEV, EPSS and vendor advisories · How we score
Am I affected?
Timeline
- Published CVE record published
- Updated Record last modified
Scores and fixes here are computed automatically from those and other public sources. Confirm with the vendor advisory before changing production systems.
Quick answers
How do I fix CVE-2025-1131?
asterisk: upgrade to 18.26.3, 20.15.1, 21.10.1, 22.5.1; certified asterisk: downgrade or apply the listed mitigation. Exact commands for each OS are on this page.
Is CVE-2025-1131 being exploited?
CVE-2025-1131 is not on the CISA Known Exploited Vulnerabilities list at the time of the last update. Check again, as this can change.
What does CVE-2025-1131 affect?
CVE-2025-1131 affects asterisk, certified asterisk. Severity is high (CVSS 7.8). 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 locat
How urgent is CVE-2025-1131?
Priority 35/100. High severity; Public exploit reference
Related CVEs
- CVE-2026-23741 NONE 0.0 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23740 NONE 0.0 DOWNGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23739 LOW 2.0 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2026-23738 LOW 3.5 UPGRADE UPGRADE Asterisk is an open source private branch exchange and telephony toolkit
- CVE-2025-57767 HIGH 7.5 UPGRADE Asterisk is an open source private branch exchange and telephony toolkit