Security Advisory

CVE-2025-57819: FreePBX Endpoint Module Auth Bypass

Last updated:
  • CVE-2025-57819

CVE-2025-57819 is an authentication bypass in the commercial endpoint module of Sangoma FreePBX 15, 16 and 17: an unauthenticated attacker can reach the FreePBX Administrator, change the database and run code. It was exploited from August 2025 and CISA KEV lists it. Update the endpoint module to 15.0.66, 16.0.89 or 17.0.3 and keep the admin panel off the internet.

Vulnerability summary

CVSS base score

9.8

Critical severity

EPSS score (FIRST)

46.7%

Probability of exploitation in the wild in the next 30 days

CISA KEV catalog

Yes

Listed as known exploited

Published

Vulnerability ID: CVE-2025-57819 · Source: NVD

Affected components

ComponentCPEVersion range
Sangoma FreePBX 15, endpoint modulecpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*endpoint module before 15.0.66; fixed in 15.0.66 (Sangoma GHSA-m42g-xg4c-5f3h)
Sangoma FreePBX 16, endpoint modulecpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*endpoint module before 16.0.89; fixed in 16.0.89
Sangoma FreePBX 17, endpoint modulecpe:2.3:a:sangoma:freepbx:*:*:*:*:*:*:*:*endpoint module before 17.0.3; fixed in 17.0.3. End-of-life FreePBX versions are untested by Sangoma, which advises upgrading them to a supported version

What does this mean for affected devices?

FreePBX is the web interface that manages an Asterisk phone system; Sangoma ships it as the FreePBX distribution and on its PBXact systems, so the flaw sits on a PBX appliance or VM that often faces the internet for remote phones and SIP trunks. The CVE record, published on 2025-08-28 by GitHub as CNA for the FreePBX project, says insufficiently sanitized user-supplied data allows "unauthenticated access to FreePBX Administrator leading to arbitrary database manipulation and remote code execution". NVD gives a Primary CVSS v3.1 score of 9.8 (CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H); the CNA scores CVSS v4.0 10.0 and lists CWE-89 (SQL injection) and CWE-288 (authentication bypass using an alternate path) (NVD, CVE record).

Which FreePBX versions are affected?

Sangoma's GitHub security advisory GHSA-m42g-xg4c-5f3h lists the endpoint module in all supported FreePBX versions: before 15.0.66 on FreePBX 15, before 16.0.89 on FreePBX 16 and before 17.0.3 on FreePBX 17. Systems without the endpoint module installed are probably not at risk, according to Sangoma's forum notice. End-of-life FreePBX versions were not tested; Sangoma says they may be affected and should be upgraded to a supported version. NVD's CPE configuration maps the same three ranges onto FreePBX itself.

How do I fix CVE-2025-57819?

Update all modules from Admin, Module Admin or with the FreePBX command-line module upgrade, then confirm the endpoint module version meets the minimum above. Sangoma's forum notice "Please Lock Down Your Administrator Access" adds the network side: use the FreePBX Firewall module so only known trusted hosts reach the Administrator Control Panel, and deny the internet zone access to the web management interfaces. The same notice gives a minimum compromise check: a missing or recently changed FreePBX configuration file, an unexpected cleanup script in the web root, unusual calls to extension 9998 and an unknown ampuser account. Where infection is found, Sangoma recommends installing a fresh system, restoring a backup from before 2025-08-21 and rotating every password, including SIP trunk credentials, and checking call records with the carrier for toll fraud. The general rule for admin panels on the internet is in CISA BOD 23-02 and internet-exposed management interfaces.

Is CVE-2025-57819 exploited?

Yes. Sangoma says an unauthorized user began accessing internet-facing FreePBX 16 and 17 systems with inadequate IP filtering on or before 2025-08-21 and chained this flaw with further steps to reach potentially root-level access. CISA added it to the KEV catalog on 2025-08-29 with the required action "Apply mitigations per vendor instructions, follow applicable BOD 22-01 guidance for cloud services, or discontinue use of the product if mitigations are unavailable." (due 2025-09-19; known ransomware campaign use: Unknown); it is still listed as of 2026-11-26 in catalog version 2026.11.25 (CISA KEV). FIRST EPSS gives 0.46717, the 99.11th percentile, in the 2026-11-25 dataset (FIRST EPSS). Older and newer FreePBX flaws on KEV are the 2019 framework bypass CVE-2019-19006 and the filestore command injection CVE-2025-64328; another exploited Sangoma PBX flaw is the Switchvox SQL injection CVE-2026-9586.

How to fix this class of issueThis advisory's weakness class is SQL injection. Our practical guide covers how to detect, fix, verify and disclose it: How to fix SQL injection, XSS, resource exhaustion and deserialization flaws in embedded firmware.

Evidence

  • NVD: Analyzed; published 2025-08-28; NVD Primary CVSS v3.1 9.8 AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H; GitHub ([email protected]) Secondary CVSS v4.0 10.0; CWE-89 and CWE-288 from GitHub; CPE sangoma:freepbx 15.0 to before 15.0.66, 16.0 to before 16.0.89, 17.0 to before 17.0.3; read 2026-11-26. — NVD
  • GHSA-m42g-xg4c-5f3h (published 2025-08-28): endpoint module affected before 15.0.66, 16.0.89, 17.0.3; exploitation on or before 2025-08-21 of internet-facing FreePBX 16 and 17 systems with inadequate IP filtering; chained to potentially root access; EOL versions untested, upgrade to supported; IOC list. — Sangoma FreePBX security advisory
  • Sangoma forum notice (2025-08-26, updated 2025-08-28 and later): fix in stable repos for endpoint module in 15, 16 and 17; restrict admin access with the Firewall module to trusted hosts; if endpoint is not installed the system is probably not at risk; minimum infection check list; restoration: new system, backup from before 2025-08-21, rotate all passwords; check CDRs and phone bill. — FreePBX Community Forums
  • CVE record: PUBLISHED, CNA GitHub_M, published 2025-08-28; FreePBX endpoint < 15.0.66, < 16.0.89, < 17.0.3; CVSS v4.0. — CVE.org
  • KEV catalog 2026.11.25: dateAdded 2025-08-29, due 2025-09-19, required action as quoted, knownRansomwareCampaignUse Unknown, CWE-89 and CWE-288; checked 2026-11-26. — CISA KEV
  • EPSS 0.46717, percentile 0.99114, dataset 2026-11-25, read 2026-11-26. — FIRST EPSS

Related advisories

Sources

  1. NVD
  2. Sangoma FreePBX GHSA-m42g-xg4c-5f3h: Authentication Bypass Leading to SQL Injection and RCE
  3. FreePBX Community Forums: Security Advisory: Please Lock Down Your Administrator Access
  4. CVE.org record CVE-2025-57819 (CNA: GitHub)
  5. CISA KEV
  6. FIRST EPSS

Frequently asked questions

Which FreePBX versions are affected by CVE-2025-57819?

The commercial endpoint module in FreePBX 15 before 15.0.66, FreePBX 16 before 16.0.89 and FreePBX 17 before 17.0.3. Sangoma did not test end-of-life FreePBX versions and advises upgrading them to a supported release (per Sangoma's GHSA-m42g-xg4c-5f3h).

How do I fix CVE-2025-57819 on a FreePBX system?

Update all modules through Admin, Module Admin or the FreePBX command-line module upgrade, confirm the endpoint module version, and restrict the Administrator Control Panel to trusted hosts with the FreePBX Firewall module (per Sangoma's advisory and forum notice).

How can I tell if my FreePBX was compromised through CVE-2025-57819?

Sangoma's minimum check list covers a missing or recently changed FreePBX configuration file, an unexpected cleanup script in the web root, unusual calls to extension 9998 and an unknown ampuser account. If any appear, Sangoma recommends a fresh install, a pre-2025-08-21 backup and rotating all passwords (per the FreePBX forum notice).

Is CVE-2025-57819 in the CISA KEV catalog?

Yes. CISA added it on 2025-08-29 with a due date of 2025-09-19 and known ransomware use marked Unknown. As of 2026-11-26 it is still listed, NVD's Primary CVSS v3.1 score is 9.8 and FIRST EPSS gives 0.46717 (99.11th percentile, 2026-11-25 dataset) (per CISA KEV, NVD and FIRST EPSS).