Skip to content
Noroxi
CVE-2025-57819· NVD / CVE Program· CNA GitHub_M

FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCE

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.

CriticalCVSS 10.0 · v4.0KEVWeaponized No fix recorded
Published
Aug 28, 2025
Updated
Sep 25, 2026
EPSS
85.5% · 100th percentile
Follow this CVE

Sign in to follow · You’ll be notified if a followed record enters KEV, gets an exploit or is updated.

Report tools

JSON

Action score

96

Now

Patch today or shut off access.

CVSS
40 / 40 · 10.0 / 10
CISA KEV
30 / 30 · Listed
EPSS
26 / 30 · 85.5%

CISA SSVC decision

Exploitation
active
Automatable
yes
Technical impact
total

Vulnrichment: CISA's decision-tree inputs.

CNA vs NVD score

NVD
—
CNA · GitHub_M
10.0
NVD has not scored this yet; the score shown is the CNA’s.

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

The score given by the assigning authority versus NVD’s independent score. A gap means the severity is contested.

Actively exploited in the wild

CISA added this to its Known Exploited Vulnerabilities catalog on Aug 29, 2025. That signals real attacks, not theory.

Remediation deadline for government agencies: Sep 19, 2025.

Affected systems

VendorProduct
sangomafreepbx

Affected versions

NVD version ranges (for catalog products). Add the product to your stack with a version and matching uses these.

  • sangoma freepbx15.0 and later · before 15.0.66
  • sangoma freepbx16.0 and later · before 16.0.89
  • sangoma freepbx17.0 and later · before 17.0.3

Versions reported by the vendor

Affected version ranges reported by the assigning authority (GitHub_M). Independent of NVD's CPE analysis and usually ahead of it.

  • FreePBX endpoint

    • < 15.0.66, < 16.0.89, < 17.0.3affected

Other highest-scoring records for the same primary product.

  • CVE-2019-19006Sangoma FreePBX 115.0.16.26 and below, 14.0.13.11 and below, 13.0.197.13 and below have Incorrect Access Control.KEV
    86Now
  • CVE-2012-4869The callme_startcall function in recordings/misc/callme_page.php in FreePBX 2.9, 2.10, and earlier allows remote attackers to execute arbitr
    51Plan
  • CVE-2020-36630FreePBX cdr Cdr.class.php ajaxHandler sql injection
    39Monitor
  • CVE-2025-66039FreePBX Endpoint Manager Allows Unauthenticated Logins to Administrator Control Panel via Forged Basic Auth Header
    38Monitor
  • CVE-2026-46376FreePBX: Unauthenticated Use of Hard-Coded Credentials Vulnerability in FreePBX UCP Interface
    37Monitor
  • CVE-2025-67736Authenticated SQL Injection in FreePBX tts (Text To Speech) module
    36Monitor

Remediation

Which version to upgrade to

Fix versions compiled from the vendor, package registries and Microsoft. Verify the vendor's note before upgrading.

No fix version is recorded for this entry. Check the references for vendor advisories.

Exploit status

Weaponized

A ready exploit tool or active in-the-wild use is known for this vulnerability. This should be your top priority.

Evidence

  • Metasploit module ×1
  • Exploit-DB entry ×1
  • Nuclei detection template ×2
  • Proof-of-concept repository on GitHub ×24

Noroxi does not host or link to exploit code. Metasploit module names and Nuclei template ids are shown (names, not code); Exploit-DB entries and PoC repositories are given as counts only.

Public exploit evidence
SourceKindDate
Exploit-DB entrywebapps2026-09-03
Metasploit moduleexploit/unix/http/freepbx_unauth_sqli_to_rceFreePBX ajax.php unauthenticated SQLi to RCEexploit2025-08-28
Nuclei detection templateNuclei template CVE-2025-57819 —
Nuclei detection templateNuclei template freepbx-cleanup-backdoor —
Proof-of-concept repository on GitHubstars:12025-08-28
Proof-of-concept repository on GitHubstars:02025-08-29
Proof-of-concept repository on GitHubstars:62025-08-30
Proof-of-concept repository on GitHubstars:72025-09-01
Proof-of-concept repository on GitHubstars:12025-09-04
Proof-of-concept repository on GitHubstars:302025-09-08
Proof-of-concept repository on GitHubstars:82025-09-12
Proof-of-concept repository on GitHubstars:12025-09-14

Research context

For pentesters and researchers: attack profile, score disagreement, timeline, patch commits, credits, variant and chain candidates, bug bounty scope. All derived from existing data; no exploit code.

Timeline

From publication to today: proof of concept, Metasploit module, CISA KEV and fix record. Dates are as reported by the sources.

  1. First PoC-1 d
  2. Metasploit-1 d
  3. Published
  4. CISA KEVsame day
  5. TodaySep 30, 2026+398 d
EPSS, last 120 days

FIRST EPSS daily score; only changes of 0.01 or more are recorded (step chart).

Patch and commit links

Commit, PR and diff links among the references. A starting point for patch-diffing and variant hunting; fixes, not exploits.

No commit or PR link among the references.

Finders, reporters and analysts named in the CNA record. Click a name for that researcher’s other records.

No credits in the CNA record.

Variant candidates

Same product, same weakness class, within 18 months. If the patch missed the root cause, the sibling bug is here.

  • CVE-2025-67736109 days apartAuthenticated SQL Injection in FreePBX tts (Text To Speech) module
    36Monitor
  • CVE-2026-28210189 days apartFreePBX: Authenticated SQL Injection in CDR (Call Data Record) Reports
    34Monitor
  • CVE-2026-28284189 days apartFreePBX: Authenticated SQL Injection Vulnerabilities in FreePBX Logfiles Module
    34Monitor
  • CVE-2026-44238274 days apartFreePBX: Authenticated SQL Injection via ORDER BY in CDR Reports
    34Monitor

Chain candidates

An authentication bypass and a privilege-requiring bug in the same product, published close together: combined they may become an unauthenticated path.

  • CVE-2025-67736109 days apartAuthenticated SQL Injection in FreePBX tts (Text To Speech) module
    36Monitor
  • CVE-2024-58294105 days apartFreePBX 16 Authenticated Remote Code Execution via API Module
    35Monitor
  • CVE-2025-5521118 days apartFreePBX Post-Authenticated Command Injection
    25Monitor

Bug bounty scope

No known public program.

Source: bounty-targets-data (public HackerOne, Bugcrowd, Intigriti, YesWeHack listings).

Technical details

Attack conditions

  • Anyone who can reach it over the internet can trigger it.
  • No account or password is required.
  • No user action is required.
  • No special conditions are required; it is repeatable.

If successful

Confidentiality
Integrity
Availability
Attack vector
Network
Attack complexity
Low
Privileges required
None
User interaction
None
Scope
X

CVSS vector

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/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

nvd-secondary

Root cause

The query text is built by concatenating user input. The database cannot tell where the data ends and the command begins.

A representative example of this vulnerability class. Not the vendor's source code; it shows the faulty pattern and its fix.

Vulnerable

ts
const owner = req.query.owner;const rows = await db.query(  "SELECT * FROM files WHERE owner = '" + owner + "'");

Fixed

ts
const owner = req.query.owner;const rows = await db.query(  "SELECT * FROM files WHERE owner = $1",  [owner]);

Noroxi analysis

No Noroxi analysis for this record yet

We don't hand-write analysis for all 385,000+ vulnerabilities; that wouldn't be honest. For notable, high-impact vulnerabilities our team writes the mechanism, detection and remediation steps.

We use this product, ask for help

Change log

No changes recorded on tracked fields yet. Score, KEV, exploit maturity and fix status changes appear here.

References

All records