Search CVEs and advisories

Search CVEs and Linux security advisories by vendor, product, package, or severity, and see which vulnerabilities each advisory addresses.

CVE

CVE-2025-1131

published high CVSS 4.0 · 7.0

Asterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege Escalation

Published
23 Sep 2025, 04:31:02 UTC
Updated
26 Feb 2026, 17:48:19 UTC
Language
en

Package status and fixes

Distro / vendorReleasePackage / productPublisher statusFixed buildSource
Asterisk — AsteriskAsterisk <=18.26.2 · Asterisk <= 20.15.0 · Asterisk <= 21.10.0 · Asterisk <= 22.5.0 · Other versions: unaffected · Platforms: Linux, MacOS Affected Not stated Gridware
Debian bullseye asterisk Advisory build 1:16.28.0~dfsg-0+deb11u8 DLA-4326-1

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.

en · Gridware · cna

Vendor advisories explicitly linked to this CVE.

1

Assessment

CVSS risk assessment and additional context for this vulnerability.

CVSS version
4.0
Base score
7.0 / 10
Severity
high
Provider
Gridware · cna
Vector string
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/V:C/RE:H/U:Amber
Scenarios
en: GENERAL

Publisher product statements

Version ranges and default statuses as reported by each provider.

Affected vendor and product assertions
VendorProductVersion statusSource
Asterisk Asterisk Asterisk <=18.26.2 (affected · custom)Asterisk <= 20.15.0 (affected · custom)Asterisk <= 21.10.0 (affected · custom)Asterisk <= 22.5.0 (affected · custom)Default: unaffected Gridware · cna

Weaknesses

1
  • CWE-427 CWE-427 Uncontrolled Search Path Element (Gridware · cna)

References

2

Provider assertions

3

Gridware · cna

Asterisk Unsafe Shell Sourcing in safe_asterisk Leads to Local Privilege Escalation

CISA-ADP · adp

CISA ADP Vulnrichment

CVE · adp

CVE Program Container

Provenance

Schema
5.2
Searchable
yes
Content hash
5e4221eb70446d7f650e1ebdad07bde7fd28348fcac0e7ccba8f53b58c3768e9
Ingested
23 Sep 2026, 08:38:35 UTC
Source record
Official CVE record

Search filters

Match options apply to free text. CVE words match tokens; use contains:"…" for literal substrings.

Text

Words and phrases
buffer overflow "remote code execution"
Word prefix
auth*
Literal substring (title or description)
contains:"use-after-free"
Exclude a term or filter
-test -vendor:example

Affected product

Vendor
vendor:Example
Product
product:"Demo Widget"

Severity and score

Severity · none, low, medium, high, critical, unknown
severity:critical
CWE identifier
cwe:CWE-863
CVSS score (0–10)
cvss:>=7.0

Dates and status

Published date · comparisons, relative days
published:>=2026-01-01
Updated date · comparisons, relative days
updated:<30d
Status · published (default), rejected, unknown
status:rejected