The SentinelOne Annual Threat Report - A Defenders Guide from the FrontlinesThe SentinelOne Annual Threat ReportGet the Report
Experiencing a Breach?Blog
Get StartedContact Us
SentinelOne
  • Platform
    Platform Overview
    • Singularity Platform
      Welcome to Integrated Enterprise Security
    • AI for Security
      Leading the Way in AI-Powered Security Solutions
    • Securing AI
      Accelerate AI Adoption with Secure AI Tools, Apps, and Agents.
    • How It Works
      The Singularity XDR Difference
    • Singularity Marketplace
      One-Click Integrations to Unlock the Power of XDR
    • Pricing & Packaging
      Comparisons and Guidance at a Glance
    Data & AI
    • Purple AI
      Accelerate SecOps with Generative AI
    • Singularity Hyperautomation
      Easily Automate Security Processes
    • AI-SIEM
      The AI SIEM for the Autonomous SOC
    • Singularity Data Lake
      AI-Powered, Unified Data Lake
    • Singularity Data Lake for Log Analytics
      Seamlessly Ingest Data from On-Prem, Cloud or Hybrid Environments
    Endpoint Security
    • Singularity Endpoint
      Autonomous Prevention, Detection, and Response
    • Singularity XDR
      Native & Open Protection, Detection, and Response
    • Singularity RemoteOps Forensics
      Orchestrate Forensics at Scale
    • Singularity Threat Intelligence
      Comprehensive Adversary Intelligence
    • Singularity Vulnerability Management
      Application & OS Vulnerability Management
    • Singularity Identity
      Identity Threat Detection and Response
    Cloud Security
    • Singularity Cloud Security
      Block Attacks with an AI-Powered CNAPP
    • Singularity Cloud Native Security
      Secure Cloud and Development Resources
    • Singularity Cloud Workload Security
      Real-Time Cloud Workload Protection Platform
    • Singularity Cloud Data Security
      AI-Powered Threat Detection for Cloud Storage
    • Singularity Cloud Security Posture Management
      Detect and Remediate Cloud Misconfigurations
    Securing AI
    • Prompt Security
      Secure AI Tools Across Your Enterprise
  • Why SentinelOne?
    Why SentinelOne?
    • Why SentinelOne?
      Cybersecurity Built for What’s Next
    • Our Customers
      Trusted by the World’s Leading Enterprises
    • Industry Recognition
      Tested and Proven by the Experts
    • About Us
      The Industry Leader in Autonomous Cybersecurity
    Compare SentinelOne
    • Arctic Wolf
    • Broadcom
    • CrowdStrike
    • Cybereason
    • Microsoft
    • Palo Alto Networks
    • Sophos
    • Splunk
    • Trellix
    • Trend Micro
    • Wiz
    Verticals
    • Energy
    • Federal Government
    • Finance
    • Healthcare
    • Higher Education
    • K-12 Education
    • Manufacturing
    • Retail
    • State and Local Government
  • Services
    Managed Services
    • Managed Services Overview
      Wayfinder Threat Detection & Response
    • Threat Hunting
      World-Class Expertise and Threat Intelligence
    • Managed Detection & Response
      24/7/365 Expert MDR Across Your Entire Environment
    • Incident Readiness & Response
      DFIR, Breach Readiness, & Compromise Assessments
    Support, Deployment, & Health
    • Technical Account Management
      Customer Success with Personalized Service
    • SentinelOne GO
      Guided Onboarding & Deployment Advisory
    • SentinelOne University
      Live and On-Demand Training
    • Services Overview
      Comprehensive Solutions for Seamless Security Operations
    • SentinelOne Community
      Community Login
  • Partners
    Our Network
    • MSSP Partners
      Succeed Faster with SentinelOne
    • Singularity Marketplace
      Extend the Power of S1 Technology
    • Cyber Risk Partners
      Enlist Pro Response and Advisory Teams
    • Technology Alliances
      Integrated, Enterprise-Scale Solutions
    • SentinelOne for AWS
      Hosted in AWS Regions Around the World
    • Channel Partners
      Deliver the Right Solutions, Together
    • SentinelOne for Google Cloud
      Unified, Autonomous Security Giving Defenders the Advantage at Global Scale
    • Partner Locator
      Your Go-to Source for Our Top Partners in Your Region
    Partner Portal→
  • Resources
    Resource Center
    • Case Studies
    • Data Sheets
    • eBooks
    • Reports
    • Videos
    • Webinars
    • Whitepapers
    • Events
    View All Resources→
    Blog
    • Feature Spotlight
    • For CISO/CIO
    • From the Front Lines
    • Identity
    • Cloud
    • macOS
    • SentinelOne Blog
    Blog→
    Tech Resources
    • SentinelLABS
    • Ransomware Anthology
    • Cybersecurity 101
  • About
    About SentinelOne
    • About SentinelOne
      The Industry Leader in Cybersecurity
    • Investor Relations
      Financial Information & Events
    • SentinelLABS
      Threat Research for the Modern Threat Hunter
    • Careers
      The Latest Job Opportunities
    • Press & News
      Company Announcements
    • Cybersecurity Blog
      The Latest Cybersecurity Threats, News, & More
    • FAQ
      Get Answers to Our Most Frequently Asked Questions
    • DataSet
      The Live Data Platform
    • S Foundation
      Securing a Safer Future for All
    • S Ventures
      Investing in the Next Generation of Security, Data and AI
  • Pricing
Get StartedContact Us
CVE Vulnerability Database
Vulnerability Database/CVE-2026-23741

CVE-2026-23741: Asterisk Privilege Escalation Vulnerability

CVE-2026-23741 is a privilege escalation vulnerability in Asterisk that allows attackers to execute arbitrary code as root. This article covers the technical details, affected versions, security impact, and mitigation.

Published: February 13, 2026

CVE-2026-23741 Overview

Asterisk, an open source private branch exchange (PBX) and telephony toolkit, contains a local privilege escalation vulnerability in its ast_coredumper diagnostic script. The vulnerability exists because the script runs as root and sources configuration from /etc/asterisk/ast_debug_tools.conf, a file located in a directory writable by the asterisk user. An attacker with asterisk user privileges can inject arbitrary bash code into this configuration file, which will then be executed with root privileges when the ast_coredumper script is run.

Critical Impact

Attackers with write access to the Asterisk configuration directory can achieve root-level code execution by injecting malicious bash commands into the ast_debug_tools.conf file, potentially leading to complete system compromise.

Affected Products

  • Asterisk versions prior to 20.7-cert9
  • Asterisk versions prior to 20.18.2
  • Asterisk versions prior to 21.12.1
  • Asterisk versions prior to 22.8.2
  • Asterisk versions prior to 23.2.2

Discovery Timeline

  • 2026-02-06 - CVE CVE-2026-23741 published to NVD
  • 2026-02-06 - Last updated in NVD database

Technical Details for CVE-2026-23741

Vulnerability Analysis

This vulnerability is classified as CWE-427 (Uncontrolled Search Path Element). The ast_coredumper script, located at asterisk/contrib/scripts/ast_coredumper, is a diagnostic utility designed to process core dumps from Asterisk. The script is intended to be run with root privileges, as noted in the NOTES tag on line 689 of the script file.

The core issue lies in the script's behavior of sourcing the contents of /etc/asterisk/ast_debug_tools.conf. Since bash's source command executes all commands found in the sourced file, any arbitrary code placed in this configuration file will be executed with the same privileges as the running script—in this case, root.

The /etc/asterisk/ directory is typically owned by and writable by the asterisk user and group. This creates a privilege escalation path where a lower-privileged user (asterisk) can influence the behavior of a root-level process.

Root Cause

The root cause is an insecure trust boundary between the asterisk user's writable configuration directory and a script that runs with elevated (root) privileges. The ast_coredumper script fails to validate or sanitize the contents of /etc/asterisk/ast_debug_tools.conf before sourcing it. Since bash configuration files can contain arbitrary commands and the file follows bash semantics, any attacker who can write to this file gains the ability to execute arbitrary commands as root.

Attack Vector

The attack requires local access to the system with the ability to write to the /etc/asterisk/ directory, typically achieved through compromising the asterisk user account. The attack vector is local, requires no authentication beyond having asterisk user privileges, but does require user interaction—specifically, an administrator must run the ast_coredumper script for the malicious code to execute.

An attacker would craft malicious bash code and write it to /etc/asterisk/ast_debug_tools.conf. When an administrator subsequently runs the ast_coredumper script (typically during troubleshooting of a crash), the malicious payload executes with root privileges. This could include actions such as creating backdoor accounts, installing rootkits, exfiltrating sensitive data, or further compromising the system.

Detection Methods for CVE-2026-23741

Indicators of Compromise

  • Unexpected modifications to /etc/asterisk/ast_debug_tools.conf file, especially unusual bash commands or shell syntax
  • Suspicious processes spawned as children of the ast_coredumper script
  • Unauthorized changes to system files or user accounts following ast_coredumper execution
  • Audit log entries showing writes to ast_debug_tools.conf by the asterisk user

Detection Strategies

  • Implement file integrity monitoring (FIM) on /etc/asterisk/ast_debug_tools.conf to detect unauthorized modifications
  • Monitor execution of ast_coredumper and correlate with any unusual system activity or process spawning
  • Review audit logs for write operations to the Asterisk configuration directory by the asterisk user
  • Deploy endpoint detection and response (EDR) solutions to identify privilege escalation attempts

Monitoring Recommendations

  • Enable auditd rules to track modifications to /etc/asterisk/ast_debug_tools.conf
  • Configure alerting for any shell commands executed as root that originate from the ast_coredumper process
  • Implement baseline monitoring for the Asterisk configuration directory to detect anomalous file changes
  • Use SentinelOne's behavioral AI to detect suspicious process chains involving diagnostic scripts escalating to root

How to Mitigate CVE-2026-23741

Immediate Actions Required

  • Upgrade Asterisk to patched versions: 20.7-cert9, 20.18.2, 21.12.1, 22.8.2, or 23.2.2
  • Review the contents of /etc/asterisk/ast_debug_tools.conf for any suspicious or unauthorized entries
  • Restrict write permissions on /etc/asterisk/ast_debug_tools.conf to root only until patching is complete
  • Audit recent executions of ast_coredumper and review system logs for signs of compromise

Patch Information

Asterisk has released patched versions that address this vulnerability. Organizations should upgrade to one of the following versions based on their deployment:

  • Version 20.7-cert9 (certified branch)
  • Version 20.18.2
  • Version 21.12.1
  • Version 22.8.2
  • Version 23.2.2

For detailed patch information and security advisory, refer to the GitHub Security Advisory.

Workarounds

  • Change ownership of /etc/asterisk/ast_debug_tools.conf to root and remove write permissions for the asterisk user
  • Create an immutable flag on the configuration file using chattr +i /etc/asterisk/ast_debug_tools.conf
  • Avoid running ast_coredumper until the system is patched
  • Consider running Asterisk in a containerized environment with restricted filesystem access
bash
# Configuration example
# Secure the configuration file permissions as a temporary workaround
chown root:root /etc/asterisk/ast_debug_tools.conf
chmod 644 /etc/asterisk/ast_debug_tools.conf
chattr +i /etc/asterisk/ast_debug_tools.conf

# Verify file permissions
ls -la /etc/asterisk/ast_debug_tools.conf
lsattr /etc/asterisk/ast_debug_tools.conf

Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechAsterisk

  • SeverityNONE

  • CVSS Score0.0

  • EPSS Probability0.02%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:3.1/AV:L/AC:L/PR:N/UI:R/S:C/C:N/I:N/A:N
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-427
  • Technical References
  • GitHub Security Advisory
  • Related CVEs
  • CVE-2026-23740: Asterisk ast_coredumper RCE Vulnerability

  • CVE-2026-23739: Asterisk XXE Vulnerability

  • CVE-2026-23738: Asterisk Telephony Toolkit XSS Vulnerability
Experience the World’s Most Advanced Cybersecurity Platform

Experience the World’s Most Advanced Cybersecurity Platform

See how our intelligent, autonomous cybersecurity platform can protect your organization now and into the future.

Try SentinelOne
  • Get Started
  • Get a Demo
  • Product Tour
  • Why SentinelOne
  • Pricing & Packaging
  • FAQ
  • Contact
  • Contact Us
  • Customer Support
  • SentinelOne Status
  • Language
  • Platform
  • Singularity Platform
  • Singularity Endpoint
  • Singularity Cloud
  • Singularity AI-SIEM
  • Singularity Identity
  • Singularity Marketplace
  • Purple AI
  • Services
  • Wayfinder TDR
  • SentinelOne GO
  • Technical Account Management
  • Support Services
  • Verticals
  • Energy
  • Federal Government
  • Finance
  • Healthcare
  • Higher Education
  • K-12 Education
  • Manufacturing
  • Retail
  • State and Local Government
  • Cybersecurity for SMB
  • Resources
  • Blog
  • Labs
  • Case Studies
  • Videos
  • Product Tours
  • Events
  • Cybersecurity 101
  • eBooks
  • Webinars
  • Whitepapers
  • Press
  • News
  • Ransomware Anthology
  • Company
  • About Us
  • Our Customers
  • Careers
  • Partners
  • Legal & Compliance
  • Security & Compliance
  • Investor Relations
  • S Foundation
  • S Ventures

©2026 SentinelOne, All Rights Reserved.

Privacy Notice Terms of Use

English