# CVE-2025-55210: FreePBX API has a Privilege Escalation Error in GraphQL Allowing Authenticated Users to Access Additional Scopes

- Severity: Low 2.0 (CVSS:4.0, scored by GitHub_M) `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.35%, higher than 30% of CVEs (2026-12-01)
- Published: 2026-02-12T16:22:42.967Z
- Modified: 2026-06-17T09:41:27.790Z
- Weaknesses: CWE-270
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact total
- Assigned by: GitHub_M

## Description

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.

(As written by CVE List.)

## Affected

- FreePBX api: >= 15.0.1alpha1, < 16.0.17; >= 17.0.0, < 17.0.5
- sangoma freepbx: from 16.0.2 before 16.0.17; from 17.0.1 before 17.0.5

## Every score

- GitHub_M: CVSS:4.0 2.0 Low `CVSS:4.0/AV:N/AC:H/AT:P/PR:L/UI:A/VC:L/VI:L/VA:N/SC:L/SI:L/SA:N`
- NVD: CVSS:3.1 7.5 High `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://github.com/FreePBX/security-reporting/security/advisories/GHSA-gvgh-p7wj-76cf> (vendor-advisory)
- <https://github.com/FreePBX/api/commit/bc6f7d72063cffb18babb6559fa351046d7ad19b> (patch)
- <https://github.com/FreePBX/api/commit/c16a3a79b83382fb4884e51174882ed635637002> (patch)
- <https://github.com/FreePBX/api/commit/d66786634e7e7d3eedcb4d0931b32c415ba6e9ef> (patch)

## Sources

- CVE List: [CVE-2025-55210](https://www.cve.org/CVERecord?id=CVE-2025-55210), CVE Terms of Use, modified 2026-02-26
- NVD: [CVE-2025-55210](https://nvd.nist.gov/vuln/detail/CVE-2025-55210), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-55210 · Whole record: https://cve.day/CVE-2025-55210.json · Rebuilt by cve.day 2026-11-25T22:59:11.165Z
