Vulnerability in Freepbx API
CVE-2025-55210
FreePBX is an open-source web-based graphical user interface (GUI) that manages Asterisk. Prior to 17.0.5 and 16.0.17, FreePBX module api (PBX API) is vulnerable to privilege escalation by authenticated users with REST/GraphQL API access. This vulnerability allows an attacker to forge a valid JWT with full access to the REST and GraphQL APIs on a FreePBX that they've already connected to, possibly as a lower privileged user. The JWT is signed using the api-oauth.key private key. An attacker can generate their own token if they possess this key (e.g., by accessing an affected instance), and specify any scopes they wish (e.g., rest, gql), bypassing traditional authorization checks. However, FreePBX enforces that the jti (JWT ID) claim must exist in the database (api_access_tokens table in the asterisk MySQL database) in order for the token to be accepted. Therefore, the attacker must know a jti value that already exists on the target instance. This vulnerability is fixed in 17.0.5 and 16.0.17.
Published · last modified .
CVSS v3 metric
CVSS v3 base score 7.5 (High). Vector: CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H.
EPSS exploit prediction
EPSS: 0.003 (21.2th percentile), scored .
Very low probability of exploitation in the next 30 days; routine patching cadence is appropriate. 21st percentile — 21.2% of CVEs in the catalogue have a lower EPSS than this one. How to read EPSS.
EPSS over last 30 days · oldest: 0.003 · newest: 0.003 · change: +0.000
Affected products
- Freepbx API — versions >= 15.0.1alpha1, < 16.0.17, >= 17.0.0, < 17.0.5
- Sangoma Freepbx
Weakness classification (CWE)
References
- github.com/FreePBX/security-reporting/security/advisories/GHSA-gvgh-p7wj-76cf (Vendor Advisory)
- github.com/FreePBX/api/commit/bc6f7d72063cffb18babb6559fa351046d7ad19b (Patch)
- github.com/FreePBX/api/commit/c16a3a79b83382fb4884e51174882ed635637002 (Patch)
- github.com/FreePBX/api/commit/d66786634e7e7d3eedcb4d0931b32c415ba6e9ef (Patch)
Frequently asked questions
- What is CVE-2025-55210?
- CVE-2025-55210 is a high-severity vulnerability in Freepbx API, classified under Privilege Context Switching Error. CVSS score: 7.5/10. Published 2026-02-12.
- How severe is CVE-2025-55210?
- High severity. CVSS v3 base score is 7.5 out of 10.