{"id":"CVE-2025-1131","url":"https://www.cyber-defence.io/tools/cve/CVE-2025-1131","generatedAt":"2026-10-28T04:46:08.602Z","title":"A local privilege escalation vulnerability exists in the safe_asterisk script included with the Asterisk toolkit package.","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.\n\n\nNon-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.","published":"2025-09-23T05:15:36.000Z","lastModified":"2026-10-19T16:10:00.000Z","status":"Modified","sourceIdentifier":"b7efe717-a805-47cf-8e9a-921fca0ce0ce","cvss":{"version":"4.0","score":7,"severity":"HIGH","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/M"},"cwe":["CWE-427"],"affected":["sangoma/asterisk","sangoma/certified asterisk"],"epss":{"score":0.00218,"percentile":0.1214,"date":"2026-10-27","history":[]},"kev":{"listed":false},"exploits":{"count":0,"verified":false,"firstPublished":null,"source":"Exploit-DB (https://gitlab.com/exploit-database/exploitdb)","entries":[]},"verdict":{"level":"high","text":"High impact if exploited, but EPSS currently rates exploitation as unlikely (0.22%). Schedule it in the normal patch cycle and watch for a rise in EPSS or a public exploit."},"changes":[],"references":[{"url":"https://github.com/asterisk/asterisk/security/advisories/GHSA-v9q8-9j8m-5xwp","tags":["Exploit","Vendor Advisory"],"source":"b7efe717-a805-47cf-8e9a-921fca0ce0ce"},{"url":"https://lists.debian.org/debian-lts-announce/2025/10/msg00006.html","source":"af854a3a-2127-422b-91ae-364da2661108"}],"sources":{"nvd":"https://nvd.nist.gov/vuln/detail/CVE-2025-1131","epss":"https://www.first.org/epss/","kev":"https://www.cisa.gov/known-exploited-vulnerabilities-catalog","exploitdb":"https://www.exploit-db.com/"},"licence":"CC BY 4.0 — link back to the CVE Explorer if you publish the results; upstream data remains subject to its own terms."}