CVE Catalog

CVE-2026-40520

HighCVSS 7.2
Published: Updated: Translated: NVD NIST

Exploitation Probability (EPSS)

Elevated risk
1.38%

69th percentile - higher than 69% of all known CVEs

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. An authenticated user with a valid bearer token can execute arbitrary commands on the host as the web server user.

Risk Assessment

An attacker can take over the PBX server, execute arbitrary commands as the web server user, potentially compromising call confidentiality, modifying configurations, or launching further attacks on the internal network.

Recommendation

Immediately update the FreePBX API module to version 17.0.9 or later. If updating is not possible, restrict API access to trusted IP addresses and monitor logs for suspicious GraphQL mutations.

Other vulnerabilities in FreePBX

See all
Original NVD description (English source)

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.

Vulnerability data from NVD (NIST) · CISA KEV · EPSS