CVEBrief

Home / Asterisk / Asterisk / CVE-2025-1131

CVE-2025-1131: is it exploited, and which versions of Asterisk are affected and fixed?

CVE-2025-1131 is an uncontrolled search path (DLL or library hijacking) vulnerability in Asterisk. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 16:09 UTC). Affected: Asterisk Asterisk <=18.26.2, Asterisk Asterisk <= 20.15.0, Asterisk Asterisk <= 21.10.0 and 1 more (CVE record by Gridware). Fixed in 18.26.3, 20.15.1, 21.10.1 and 22.5.1 (NVD). Severity: High (7.0, CVSS 4.0, from Gridware).

Data checked December 3, 2026: last read CISA KEV December 3, 2026, 16:09 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:17 UTC.

Exploited in the wild
Not in CISA KEV
KEV read December 3, 2026, 16:09 UTC
Affected
Asterisk Asterisk <=18.26.2, Asterisk Asterisk <= 20.15.0, Asterisk Asterisk <= 21.10.0 and 1 more
CVE record by Gridware
Fixed in
18.26.3, 20.15.1, 21.10.1 and 22.5.1
NVD
Severity
High 7.0
CVSS 4.0 from Gridware
Exploit odds (EPSS)
0.22% in 30 days
higher than 13% of CVEs; FIRST, December 3, 2026
Free for up to 3 items: a weekly email, and an alert the day CISA lists one as exploited. We email you once to confirm. More about the watch

What is CVE-2025-1131?

Asterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege Escalation

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.

From the CVE record by Gridware, last updated February 26, 2026, 17:48 UTC.

Which versions are affected, and which fix it?

VendorProductAffectedFixed or not affected from
AsteriskAsterisk
Linux, MacOS
Asterisk <=18.26.2
Asterisk <= 20.15.0
Asterisk <= 21.10.0
Asterisk <= 22.5.0

As the CVE record by Gridware states it, last updated February 26, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.

Which products and versions does the NVD list as affected?

VendorProductVersionsType
sangomaasteriskbefore 18.26.3application
sangomaasteriskfrom 20.0.0 before 20.15.1application
sangomaasteriskfrom 21.0.0 before 21.10.1application
sangomaasteriskfrom 22.0.0 before 22.5.1application
sangomacertified asterisk18.9application
sangomacertified asterisk20.7application

NVD analysis (status Modified), last modified October 19, 2026, 16:10 UTC.

How severe is CVE-2025-1131?

ScoreVersionVectorSource
High 7.0CVSS 4.0CVSS:4.0/AV:L/AC:L/AT:P/PR:L/UI:P/VC:H/VI:H/VA:H/SC:H/SI:H/SA:N/V:C/RE:H/U:AmberGridware
High 7.8CVSS 3.1CVSS:3.1/AV:L/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:HNVD

Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.

What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.

Is CVE-2025-1131 exploited in the wild?

CISA KEV
Not listed (catalog 2026.11.30)
CISA SSVC
Exploitation: poc; automatable: no; technical impact: total (CISA ADP, September 24, 2025)
EPSS
0.22% probability of exploitation activity in the next 30 days, percentile 13.0 (FIRST EPSS, scores of December 3, 2026)

What kind of flaw is it?

Where are the vendor advisories and references?

Who found and reported it?

As published in the CVE record; contact details are removed.

When was it published, and where is the official record?

Reserved
February 8, 2025
Published
September 23, 2025, 04:31 UTC
CVE record updated
February 26, 2026, 17:48 UTC by Gridware
NVD
Modified, last modified October 19, 2026, 16:10 UTC
Last checked
CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:17 UTC; KEV December 3, 2026, 16:09 UTC; EPSS December 3, 2026
Official record
cve.org · NVD

What other CVEs affect Asterisk?

Every CVE in Asterisk

Questions about CVE-2025-1131

Is CVE-2025-1131 exploited in the wild?

Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 16:09 UTC. FIRST's EPSS gives it a 0.22% chance of exploitation activity in the next 30 days (scores of December 3, 2026).

Which versions of Asterisk are affected by CVE-2025-1131?

Asterisk Asterisk <=18.26.2, Asterisk Asterisk <= 20.15.0, Asterisk Asterisk <= 21.10.0 and Asterisk Asterisk <= 22.5.0, per the CVE record by Gridware. The tables above give every range the sources list.

Which version fixes CVE-2025-1131?

18.26.3, 20.15.1, 21.10.1 and 22.5.1, per the NVD. Check the vendor's advisory before you rely on it.

How severe is CVE-2025-1131?

High (7.0, CVSS 4.0, from Gridware). The severity table above shows each score with its source.

Where is the official record of CVE-2025-1131?

The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.