Your RSA-2048 keys break in 2030. Find every one of them before attackers do.
CISA KEV · ACTIVELY EXPLOITED

FreePBX Affected by Authentication Bypass Leading to SQL Injection and RCEGHSA-m42g-xg4c-5f3h

GHSA-m42g-xg4c-5f3h is a SQL Injection vulnerability. It is in CISA's Known Exploited Vulnerabilities catalog (added 2025-08-29) — treat it as actively exploited and patch now. A fix is available — see the affected versions and patch details below.

Published
Updated
Affected
1 product
Patched
See advisory
Exploits
8 known
Exploitation data as of Oct 24, 2026 · OSV.dev, NVD, CISA KEV, FIRST.org (EPSS)

Exploitation Status

Actively exploited in the wild

  • Confirmed by CISA's Known Exploited Vulnerabilities catalog on 2025-08-29. Federal agencies were required to remediate by 2025-09-19.
  • CISA assesses this as automatable — exploitation doesn’t require manual, per-target effort, which raises the odds of mass scanning and opportunistic attacks.
  • A successful exploit gives an attacker total control of the affected component, not partial access.

Exploitation and automatability from CISA (KEV catalog and SSVC triage) for GHSA-m42g-xg4c-5f3h.

EPSS Exploitation Probability

via FIRST.org ↗
95.0%probability of exploitation in next 30 days
Very High Risk+9.56%
Lower risk than most CVEs100th percentile — riskier than 100% of all scored CVEsHighest risk
60.5%73.7%86.8%100.0%68.5%95.0%Apr 26Aug 26Oct 26

Probability of exploitation in the next 30 days, from FIRST.org EPSS.

Description

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.

Affected Products

1 product · 3 configurations
Application
freepbxsangoma
≥ 17.0 && < 17.0.3
range
Exploits & PoCs
8

Research use only. For defensive security, authorized penetration testing, and academic research only. Never execute exploit code against systems without explicit written authorization.

EDB-52681webappsmultiple

FreePBX 17.0.2 - Remote Code Execution (RCE)

by Jared Brits · Sep 3, 2026

Detection & mitigation playbook

Vulnerability
  1. Detect

    Identify every host running the affected component and compare the installed build against the fixed version below — for source-built or distro-packaged software the version string, not a lockfile, is the source of truth (`dpkg -l`, `rpm -q`, or the binary's own `--version`).

  2. Fix

    Upgrade the affected component to the fixed release for GHSA-m42g-xg4c-5f3h, or apply your distribution's backported patch — distro builds are often patched at an older version number, so check your vendor's advisory rather than the upstream version alone.

  3. Workarounds

    Until you can upgrade, make sure every query built from user input uses parameterised statements or a prepared-statement API rather than string concatenation, and reduce the database account's privileges so an injected query cannot read or alter data beyond what the feature needs.

How to detect GHSA-m42g-xg4c-5f3h

A community-maintained Nuclei template exists for this CVE. You can scan for it directly:

nuclei -id ghsa-m42g-xg4c-5f3h -u https://target
Template
FreePBX - Remote Code Execution
Severity
critical
Impact
Unauthenticated attackers can manipulate database records through SQL injection and achieve remote code execution through file upload path traversal, achieving complete system compromise.
Remediation
Upgrade FreePBX to version 15, 16, or 17 with the latest security patches and lock down administrator access as described in the FreePBX security advisory.

Template by ProjectDiscovery nuclei-templates (watchtowr, pussycat0x, DhiyaneshDk), MIT licensed. View the full template. Scan only systems you are authorised to test.

Frequently Asked Questions

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.
O3 Security · Impact-Aware SCA

Is GHSA-m42g-xg4c-5f3h in your dependencies?

Find it across , including transitive dependencies.

FreePBX Affected by Authentication Bypass Leading to…