Description
FreePBX is an open source IP PBX. Prior to 17.0.8, the FreePBX api module's OAuth2 implementation does not sufficiently validate client credentials during token issuance. Knowledge of a valid client_id is required. The validateClient() method in ClientRepository.php unconditionally returns true, allowing any party with knowledge of a valid client_id to obtain OAuth2 access tokens without providing the correct client_secret. This vulnerability is fixed in 17.0.8.
Published: 2026-05-29
Score: 7.6 High
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability arises because FreePBX’s API module fails to validate client secrets when issuing OAuth2 tokens. As a result, any party that knows a valid client_id can request and receive a bearer token without providing the matching client_secret. This flaw allows attackers to obtain access tokens that grant the same privileges as the legitimate client, potentially enabling full API exploitation and the execution of privileged actions.

Affected Systems

FreePBX, the open source IP PBX platform, is affected. The flaw exists in the API module service in versions earlier than 17.0.8. Users running any FreePBX release prior to 17.0.8 are vulnerable unless mitigated by configuration changes.

Risk and Exploitability

The vulnerability carries a CVSS score of 7.6, indicating a high severity. The EPSS score is not available, and the issue is not listed in the CISA KEV catalog. An attacker would need to obtain or discover a valid client_id, a piece of information that might be exposed through configuration files or network reconnaissance. Once the client_id is known, the attacker can directly request OAuth2 tokens from the API, bypassing the client_secret check, and immediately gain authenticated access to the API.

Generated by OpenCVE AI on May 29, 2026 at 15:20 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to FreePBX 17.0.8 or later to apply the patch that enforces client secret validation during token issuance.
  • If an upgrade cannot be performed immediately, limit the API access to trusted hosts and reduce the number of exposed OAuth2 clients to minimize potential attack surface.
  • Verify that all API authentication flows require both client_id and client_secret; audit and correct any custom code that may replicate the original vulnerability.

Generated by OpenCVE AI on May 29, 2026 at 15:20 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 29 May 2026 16:00:00 +0000

Type Values Removed Values Added
First Time appeared Freepbx
Freepbx security-reporting
Vendors & Products Freepbx
Freepbx security-reporting

Fri, 29 May 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Fri, 29 May 2026 13:45:00 +0000

Type Values Removed Values Added
Description FreePBX is an open source IP PBX. Prior to 17.0.8, the FreePBX api module's OAuth2 implementation does not sufficiently validate client credentials during token issuance. Knowledge of a valid client_id is required. The validateClient() method in ClientRepository.php unconditionally returns true, allowing any party with knowledge of a valid client_id to obtain OAuth2 access tokens without providing the correct client_secret. This vulnerability is fixed in 17.0.8.
Title FreePBX: Authenticated Access can lead to Subsequent OAuth2 Authentication Bypass in API Module
Weaknesses CWE-1390
References
Metrics cvssV4_0

{'score': 7.6, 'vector': 'CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N'}


Subscriptions

Freepbx Security-reporting
cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-05-30T03:57:39.482Z

Reserved: 2026-05-05T15:42:40.519Z

Link: CVE-2026-44237

cve-icon Vulnrichment

Updated: 2026-05-29T14:03:19.159Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-05-29T14:16:27.060

Modified: 2026-05-29T15:06:44.207

Link: CVE-2026-44237

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-05-29T15:45:16Z

Weaknesses