CVE-2026-40520
HIGH
MEDIUM
Priority: 0.12
BB Relevance:
62/100
Published: 2026-04-21
Modified: 2026-10-26
First seen: 2026-10-29
Status: active
Attack Surface
Network
Low Complexity
No Interaction
Conf. Impact
Integ. Impact
CVSS Vector Breakdown
AV:
Network
AC:
Low
PR:
High
UI:
None
S:
X
AT:
None
VC:
High
VI:
High
VA:
High
Description
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.
Weakness Classification (1)
References & Advisories (4)
Third Party Advisory
Product
Product
Patch