A Leader in the 2026 Gartner® Magic Quadrant™ for Endpoint Protection. Six years running.Six years. Gartner® Magic Quadrant™ Leader.Find Out Why
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
    • AI Data Pipelines
      Security Data Pipeline for AI SIEM and Data Optimization
    • 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-26978

CVE-2026-26978: FreePBX Backup Module RCE Vulnerability

CVE-2026-26978 is a remote code execution vulnerability in FreePBX backup module that allows attackers to execute arbitrary code during restore operations. This article covers technical details, affected versions, and mitigation.

Published: May 21, 2026

CVE-2026-26978 Overview

CVE-2026-26978 is an insecure deserialization vulnerability [CWE-502] in the FreePBX backup module. FreePBX is an open source IP PBX platform widely used for managing Asterisk-based telephony deployments. The flaw exists in versions below 16.0.71 and 17.0.6, where the backup module fails to sanitize data during restore operations. During restore, FreePBX extracts files from a user-supplied tar archive and passes content directly to PHP's unserialize() function without validation, class restrictions, or integrity checks. An authenticated attacker with sufficient permissions to perform a backup restore can achieve Remote Code Execution as the web server user, typically asterisk or www-data.

Critical Impact

Authenticated attackers can execute arbitrary code on FreePBX servers by uploading a crafted backup archive, gaining control of the telephony platform as the web server user.

Affected Products

  • FreePBX backup module versions below 16.0.71
  • FreePBX backup module versions below 17.0.6
  • Asterisk-based PBX deployments using the FreePBX backup component

Discovery Timeline

  • 2026-05-18 - CVE-2026-26978 published to NVD
  • 2026-05-19 - Last updated in NVD database

Technical Details for CVE-2026-26978

Vulnerability Analysis

The vulnerability stems from unsafe handling of serialized PHP objects within the FreePBX backup restore workflow. When an administrator initiates a restore, the backup module extracts selected files from a user-supplied tar archive. The module then reads specific files from the archive and passes their contents directly to PHP's unserialize() function. No class allowlist, integrity verification, or input validation occurs before deserialization.

This behavior matches the classic PHP Object Injection pattern. An attacker crafts a tar archive containing a malicious serialized payload that references PHP classes implementing magic methods such as __wakeup() or __destruct(). When unserialize() reconstructs these objects, the magic methods trigger gadget chains that culminate in arbitrary code execution under the web server account.

Root Cause

The root cause is the direct invocation of unserialize() on attacker-controlled data without the allowed_classes option or equivalent safeguards. PHP's native deserialization mechanism instantiates any class available in the runtime, allowing exploitation through gadget chains present in FreePBX modules and bundled libraries. The fix introduced in versions 16.0.71 and 17.0.6 addresses this by restricting deserialization and validating archive contents.

Attack Vector

Exploitation requires authenticated access with permissions to perform backup restore operations or write access to backup files. The attacker uploads a malicious tar archive through the normal restore workflow. The attack does not require shell access, CLI access, or filesystem write permissions beyond the standard restore process. Code execution occurs as the web server user, typically asterisk or www-data, granting access to call recordings, SIP credentials, and the underlying Asterisk runtime.

No verified public exploit code is available. Refer to the GitHub Security Advisory GHSA-5v7h-49gr-jcwr and the GitHub Commit Fix for technical details on the patched code paths.

Detection Methods for CVE-2026-26978

Indicators of Compromise

  • Unexpected backup restore events in FreePBX administrative logs, especially from accounts that do not normally perform restores.
  • New or modified PHP files in FreePBX module directories following a restore operation.
  • Outbound network connections from the asterisk or www-data process to unfamiliar hosts.
  • Tar archives with unusual file entries or oversized serialized blobs uploaded to the backup directory.

Detection Strategies

  • Monitor FreePBX audit logs for restore actions and correlate with the authenticated user, source IP, and archive filename.
  • Inspect tar archives staged for restore for files containing PHP serialized object markers such as O: followed by class names.
  • Alert on child processes spawned by the web server user that are inconsistent with normal Asterisk and FreePBX operations.

Monitoring Recommendations

  • Enable verbose logging on the FreePBX backup module and forward logs to a centralized SIEM for correlation.
  • Track file integrity on /var/www/html/admin/modules/backup/ and the Asterisk configuration tree.
  • Review administrative account activity for newly granted backup or restore privileges.

How to Mitigate CVE-2026-26978

Immediate Actions Required

  • Upgrade the FreePBX backup module to version 16.0.71 or 17.0.6, or later, as published by the FreePBX project.
  • Audit administrative accounts and remove backup and restore permissions from users that do not require them.
  • Review recent restore operations and inspect the system for signs of unauthorized code execution.

Patch Information

The FreePBX maintainers released fixes in backup module versions 16.0.71 and 17.0.6. The relevant commits are documented in the GitHub Commit Update and the GitHub Commit Fix. Apply updates through the FreePBX Module Admin interface or the fwconsole ma upgrade backup command.

Workarounds

  • Restrict access to the FreePBX administrative interface using network-level controls such as VPN or IP allowlisting.
  • Disable the backup module on systems that do not require restore functionality until the patch is applied.
  • Enforce strong authentication and unique credentials for all FreePBX administrative accounts to limit the pool of users that could trigger the vulnerable code path.
bash
# Configuration example: upgrade the backup module via fwconsole
fwconsole ma upgrade backup
fwconsole reload
fwconsole ma list | grep backup

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

  • Vulnerability Details
  • TypeRCE

  • Vendor/TechFreepbx

  • SeverityHIGH

  • CVSS Score8.6

  • EPSS Probability0.47%

  • Known ExploitedNo
  • CVSS Vector
  • CVSS:4.0/AV:N/AC:L/AT:N/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N/E:X/CR:X/IR:X/AR:X/MAV:X/MAC:X/MAT:X/MPR:X/MUI:X/MVC:X/MVI:X/MVA:X/MSC:X/MSI:X/MSA:X/S:X/AU:X/R:X/V:X/RE:X/U:X
  • Impact Assessment
  • ConfidentialityLow
  • IntegrityNone
  • AvailabilityNone
  • CWE References
  • CWE-502
  • Technical References
  • GitHub Commit Update

  • GitHub Commit Fix

  • GitHub Security Advisory GHSA-5v7h-49gr-jcwr
  • Related CVEs
  • CVE-2026-40520: FreePBX API RCE Vulnerability

  • CVE-2025-59051: FreePBX Endpoint Manager RCE Vulnerability

  • CVE-2026-28209: FreePBX Command Injection RCE Vulnerability

  • CVE-2026-28287: FreePBX Recordings Module RCE Vulnerability
Default Legacy - Prefooter | Experience the World’s Most Advanced Cybersecurity Platform

Experience the Most Advanced Cybersecurity Platform

See how the world’s most intelligent, autonomous cybersecurity platform can protect your organization today 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