Read the docs
TI-2026-29267 Aliases CVE-2026-40520GHSA-h2vx-h73q-6q6w

FreePBX api module Command Injection via GraphQL

Priority MEDIUM 42CWE-78Published · Updated

Key facts

Attack vector
Network
Privileges required
High
User interaction
None
Attack complexity
Low
Attack requirements
None
Impact type
Code execution
Confidentiality · integrity · availability
High · High · High
Fix status
Fixed

Attack profile from CVSS 4.0 · CNA. Fix status from CNA. Impact type from CWE-78.

Summary

FreePBX api module version 17.0.8 and prior contain a command injection vulnerability in the initiateGqlAPIProcess() function where GraphQL mutation input fields are passed directly to shell_exec() without sanitization or escaping. An authenticated user with a valid bearer token can send a GraphQL moduleOperations mutation with backtick-wrapped commands in the module field to execute arbitrary commands on the underlying host as the web server user.

Why it matters now

Exploitation None reported CISA SSVC · not in CISA KEV
EPSS 0.01379 72nd percentileScored 2026-11-07
Fix Fixed No fixed version in the sources yet

SSVC decision points

CISA ADP · SSVC 2.0.3

Exploitation
None
Automatable
No
Technical impact
Total

The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.

Affected products

VendorProductAffected versionsFixed inStatusSource
FreePBXapiup to 17.0.8—Patch availableCNA
  • api VendorFreePBX Affected up to 17.0.8 Fixed in — Patch available CNA

CPE configurations NVD · 1

CPEVersionsRoleVendor
cpe:2.3:a:freepbx:api:*:*:*:*:*:*:*:*before 17.0.8VulnerableFreePBX
  • cpe:2.3:a:freepbx:api:*:*:*:*:*:*:*:* Versions before 17.0.8 Vulnerable ·FreePBX

Remediation

No fixed version listed by the sources yet.

Timeline

  1. 2026-10-02 Threatist record created from CVE-2026-40520
  2. 2026-10-03 Alias added: GHSA-h2vx-h73q-6q6w

References

Sources