CVE-2025-55210
Sangoma Freepbx 16.0.2 – 16.0.17
Raw vector
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/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:XCVSS and EPSS are reproduced from their sources (NVD, FIRST EPSS). EPSS, Forum of Incident Response and Security Teams (FIRST), epss.first.org. Risk Priority is our own derived reading, not an NVD score.
Summary
CVE-2025-55210 is a low-severity Privilege Context Switching Error (CWE-270) vulnerability in Sangoma Freepbx. Its CVSS base score is 2.0 (Low).
Operationally, exploitation aligns with the MITRE ATT&CK technique Browser Session Hijacking (T1185); ranked at the 29th percentile by exploit likelihood (below the median); it is not currently listed in the CISA KEV catalog.
The strongest mitigations our analysis identified map to AC-3 (Access Enforcement) and AC-6 (Least Privilege) — see the control section below for these in your framework.
Deeper analysis AI-assisted summary
Synthesised by an AI model from the NVD description and linked references — a reading aid, not an authoritative source.
CVE-2025-55210 is a privilege escalation vulnerability in the FreePBX module api (PBX API), which provides REST and GraphQL API access within FreePBX, an open-source web-based graphical user interface for managing Asterisk. It affects FreePBX versions prior to 17.0.5 and 16.0.17. The flaw, assigned CVSS score 7.5 (CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:H) and mapped to CWE-270, stems from insufficient validation in JWT handling, enabling authenticated users to forge tokens signed with the api-oauth.key private key.
An attacker with existing authenticated access to the REST/GraphQL APIs—potentially as a lower-privileged user already connected to the FreePBX instance—can exploit this if they obtain the api-oauth.key (e.g., by accessing the affected instance). They can then generate a custom JWT specifying any desired scopes, such as rest or gql, to gain full access to the APIs and bypass traditional authorization checks. Exploitation requires knowledge of an existing jti (JWT ID) value from the api_access_tokens table in the Asterisk MySQL database, as FreePBX enforces its presence for token validation.
The vulnerability is addressed in FreePBX 17.0.5 and 16.0.17. Patch details are provided in GitHub commits such as bc6f7d72063cffb18babb6559fa351046d7ad19b, c16a3a79b83382fb4884e51174882ed635637002, and d66786634e7e7d3eedcb4d0931b32c415ba6e9ef, along with the security advisory at https://github.com/FreePBX/security-reporting/security/advisories/GHSA-gvgh-p7wj-76cf.
EU & UK References
- 🇪🇺 ENISA EUVD: EUVD-2025-207009
Vulnerability Data
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…
more
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.
- CWE(s)
Related Threats
MITRE ATT&CK Enterprise Techniques
MITRE ATT&CK v20.0
CVEs Like This One
Affected Assets
Mitigating Controls
Control response
—
—
- 2 hardening rules · 2 OS baselines
V13.2.2
Mitigating Controls (NIST 800-53 r5)
Our mappings, made for this CVE.
AC-3 enforces access authorizations according to policy at every request, structurally preventing incorrect privilege elevation or retention across context switches.
AC-6 requires least-privilege assignments and privilege minimization, reducing the opportunity for erroneous privilege state during context transitions.
AC-24 mandates that access-control decisions be made and enforced correctly for each request, directly addressing flawed privilege context switches.
Mitigating Controls (NIST CSF 2.0)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→CSF cross-walk — links open the control.
Enforcing least-privilege authorization policies and reviews directly prevents improper privilege changes across contexts.
Integrating secure-development practices catches and eliminates context-switching privilege errors during design and coding.
Mitigating Controls (ISO/IEC 27001:2022 Annex A)
Our mappings, derived directly from the weakness types (CWEs) cited in the NVD entry via our CWE→ISO cross-walk — links open the control.
Privileged-access-rights control directly addresses improper privilege elevation during context switches.
Training developers about privilege context switching can reduce instances of this implementation defect, but the weakness is a subtle code-level issue that even aware developers miss; the effect is real but a minority one, consistent with A.6.3's rung on other developer-introduced weaknesses.
Secure-coding guidelines can prevent common privilege-switch bugs yet are not exhaustive.
A.8.29's source reach (code review) and runtime reach (penetration testing) can find some privilege context switching errors — the logic flaws are visible in source when reviewers know the privilege model, and some instances manifest as observable privilege escalation under dynamic testing. But CWE-270 is a research-gap weakness whose flaws are subtle architectural/logic errors often not observable from outside and not covered by standard static-analysis checkers, so a meaningful share of instances is missed.
Information-access-restriction rules help limit privileges but do not cover dynamic switching errors.
A.8.8's reach is disclosure-based: it finds CWE-270 only where the flaw has been published as a CVE/advisory in a third-party component present in the inventory. Most CWE-270 instances are design/implementation defects in first-party code that nobody has published an advisory about, so the control surfaces a minority of latent instances.
Hardening callouts derived
Configuration rules from DISA STIG baselines that bear on weaknesses of the type cited by this CVE. Each rule is shown with the relationship its mapping actually records, against the CWE it was authored against. Derived via CVE→CWE over our cross-walk; rows rated `none` are excluded, and each rule says how its mapping was checked.
Definition changed on 29 October 2026. Until then this section listed every rule rated above none, partial included. From that date it lists rules whose mapping is rated full or mostly and checked at llm_unverified or higher; partial mappings show when you ask.
No rule maps to these weaknesses at full or mostly. Tick the option above to see the partial mappings.
Ubuntu 22.04 (1 partial rule)
- V-260470 Ubuntu 22.04 LTS, when booted, must require authentication upon booting into single-user and maintenance modes. blocks CWE-270