cve.bz

CVE-2025-57819 Sangoma FreePBX Authentication Bypass Vulnerability

10.0 criticalKEVExploitEPSS 96%

Critical (10.0) in Sangoma FreePBX. In CISA KEV since 2025-08-29. EPSS 96% estimated probability of exploitation activity in the next 30 days.

On this page
FreePBX is an open-source web-based graphical user interface. FreePBX 15, 16, and 17 endpoints are vulnerable due to insufficiently sanitized user-supplied data allowing unauthenticated access to FreePBX Administrator leading to arbitrary database manipulation and remote code execution. This issue has been patched in endpoint versions 15.0.66, 16.0.89, and 17.0.3.

Severity

CVSS 4.0

10.0 critical
CVSS:4.0/AV:N/AC:L/AT:N/PR:N/UI:N/VC:H/VI:H/VA:H/SC:H/SI:H/SA:H

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
96% (unchanged from 95% a week ago; 95% 30 days ago) estimated probability of exploitation activity in the next 30 days; 100th percentile. Scored 2026-11-22. A forecast for this CVE across the internet, not for your own systems.
CISA KEV
listed 2025-08-29, due 2025-09-19
CISA's assessment (SSVC)
Exploitation: active · Automatable: yes · Technical impact: total, assessed 2025-08-29. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-89 Improper Neutralization of Special Elements used in an SQL Command (SQL Injection)
CWE-288 Authentication Bypass Using an Alternate Path or Channel
OWASP Top 10
A05:2025 Injection, A07:2025 Authentication Failures
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2025-57819 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2025-57819?via=ask-ai-copy and https://cve.bz/cve/CVE-2025-57819?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2025-57819 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Affected

Versions

From the NVD's CPE matches.

ProductAffected
sangoma:freepbxfrom 15.0 before 15.0.66
sangoma:freepbxfrom 16.0 before 16.0.89
sangoma:freepbxfrom 17.0 before 17.0.3

Public exploits

GitHub PoC

Repositories on GitHub named after this CVE or listed for it by the PoC-in-GitHub index. For those marked Harbor Check: matches CVE, Flawharbor read the code and found it implements this CVE's exploitation technique: read, not run, and its dependencies only checked for warning signs, so a pointer and no guarantee. The rest are unverified: some hold a working proof of concept, some nothing useful, and some malware made to look like one. Read the code before you run any of it. How Harbor Check reads them, and what it found.

16 more
  • Jeanback1/CVE-2025-57819-exploit Harbor Check: matches CVE 2 stars, Python, created
    FreePBX Pre-Auth SQLi to RCE (CVE-2025-57819) — All-in-One Exploit
  • orange0Mint/CVE-2025-57819_FreePBX Harbor Check: matches CVE 2 stars, created
    This repository includes two PoC scripts for CVE-2025-57819 in FreePBX: one to create a new admin user (poc_admin.py), and another to extra…
  • HexBytee/FreePBX-SQLi-RCE Harbor Check: matches CVE 1 star, created
    CVE-2025-57819 FreePBX SQLi RCE PoC
  • 0xyngtg/FreePBX-CVE-2025-57819-CVE-2025-61678 Harbor Check: matches CVE 1 star, Python, created
    Chains CVE-2025-57819 (stacked query SQL injection) and CVE-2025-61678 (authenticated file upload in FreePBX Endpoint Manager) to achieve R…
  • YuvrajSHAD/FreePBX-CVE-2025-57819 Harbor Check: matches CVE 1 star, Python, created
    Unauthenticated SQL Injection to Remote Code Execution in FreePBX — CVE-2025-57819
  • xV4nd3Rx/CVE-2025-57819_FreePBX-PoC Harbor Check: matches CVE 1 star, created
    Safe, read-only SQL Injection checker for FreePBX (CVE-2025-57819), using error/boolean/time-based techniques with per-parameter verdicts a…
  • Wayang1337/CVE-2025-57819 Harbor Check: matches CVE 0 stars, Python, created
    FreePBX unauthenticated SQLi (endpoint module)
  • donggle0802-code/cve-2025-57819 Harbor Check: matches CVE 0 stars, PHP, created
    Docker CTF challenge for CVE-2025-57819
  • r3vpwnx/CVE-2025-57819 Harbor Check: matches CVE 0 stars, Python, created
    CVE-2025-57819 - FreePBX 16 Endpoint Manager unauthenticated SQL injection to RCE (PoC)
  • TeteREN/CVE-2025-57819-RCE Harbor Check: matches CVE 0 stars, Python, created
    CVE-2025-57819-RCE_PoC
  • Neobee714/CVE-2025-57819-POC Harbor Check: matches CVE 0 stars, Python, created
    FreePBX 未认证SQL注入导致远程代码执行,FreePBX 15 (低于 15.0.66)、16 (低于 16.0.89)、17 (低于 17.0.3)。该漏洞位于商业化“endpoint”模块中,因对用户输入过滤不严,允许未认证的攻击者绕过管理员权限,执行SQL注入,并…
  • Its1Zero/cve-2025-57819-exploit Harbor Check: matches CVE 0 stars, Python, created
  • SamWang8891/CVE-2025-57819-poc Harbor Check: matches CVE 0 stars, created
    CVE-2025-57819 -> rce
  • jf-gondim/freepbx-endpoint-sqli-rce Harbor Check: matches CVE 0 stars, created
    Unauthenticated SQL injection in FreePBX Endpoint Manager (CVE-2025-57819) that injects a cron-scheduled PHP webshell for remote code execu…
  • alinaclark672377250/SQL-Injection-and-RCE_CVE-2025-57819 0 stars, created
    FreePBX versions 15, 16, and 17 contain a Remote Code Execution (RCE) vulnerability caused by insufficient sanitization of user-supplied da…
  • shivammittal2403/cve-2025-57819-freepbx-range 0 stars, PHP, created
    Isolated educational FreePBX-compatible cyber range for CVE-2025-57819 (CWE-89/CWE-288). Docker lab — not official Sangoma FreePBX.

Detection rules

Ways to detect this CVE, not exploit code: the nuclei template that checks a system for it, and the Suricata and Snort rules that name it. A rule set may ship a rule turned off, so check yours by its sid.

  • Nuclei template FreePBX - Remote Code Execution
  • Emerging Threats Open ET WEB_SPECIFIC_APPS FreePBX ajax.php endpoint module SQL Injection Attempt (CVE-2025-57819) M1 sid 2064717
  • Emerging Threats Open ET WEB_SPECIFIC_APPS FreePBX ajax.php endpoint module SQL Injection Attempt (CVE-2025-57819) M2 sid 2064719

Attack patterns (CAPEC)

  • CAPEC-127 Directory Indexing Likelihood: High · Severity: Medium
  • CAPEC-665 Exploitation of Thunderbolt Protection Flaws Likelihood: Low · Severity: Very High
  • CAPEC-7 Blind SQL Injection Likelihood: High · Severity: High
  • CAPEC-66 SQL Injection Likelihood: High · Severity: High
  • CAPEC-108 Command Line Execution through SQL Injection Likelihood: Low · Severity: Very High
  • CAPEC-109 Object Relational Mapping Injection Likelihood: Low · Severity: High
  • CAPEC-110 SQL Injection through SOAP Parameter Tampering Likelihood: High · Severity: Very High
  • CAPEC-470 Expanding Control over the Operating System from the Database Severity: Very High

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits.

References

Check your stackJSON