Predictive Vulnerability Intelligence.

Product

  • Product
  • Pricing
  • Documentation

Company

  • About
  • Partnerships
  • Blog
  • Support

Legal

  • Terms
  • Privacy
  • Data Licensing

© 2026 FAUCET Technologies LLC. All rights reserved.

CVE-2026-40520

30
FAUCET Score

FreePBX API module versions 17.0.8 and prior contain a command injection vulnerability in the initiateGqlAPIProcess() function where unsanitized GraphQL mutation inputs are passed directly to shell_exec(). An authenticated user possessing a valid bearer token can exploit this flaw by injecting backtick-wrapped commands through the module field in a moduleOperations mutation to execute arbitrary commands on the host as the web server user. The vulnerability has a CVSS score of 7.2 (HIGH) with a network attack vector, low complexity, and high privilege requirements. The impact is severe, affecting confidentiality, integrity, and availability of the affected system. While the CVSS indicates significant risk, the EPSS score of 0.0011 suggests this vulnerability currently ranks lower in exploit prevalence compared to other CVEs. There is no current evidence of active exploitation, as indicated by the CVE's absence from CISA's Known Exploited Vulnerabilities catalog and its inactive status on threat tracking lists. However, organizations running affected FreePBX versions should prioritize patching, as the vulnerability requires only authentication and is straightforward to exploit once access is obtained.

Impacted Technologies

VendorProductVersion(s)CPE
< 17.0.8CPE matchmatch criteria
cpe:2.3:a:freepbx:api:*:*:*:*:*:*:*:*
>= 0, <= 17.0.8CPE match
cpe:2.3:a:freepbx:api:*:*:*:*:*:*:*:*

CVSS Data

CVSS version used by this source: 4.0

8.6HIGH

CVSS:4.0/AV:N/AC:L/AT:N/PR:H/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/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:X

Attack Vector
NETWORK
Attack Complexity
LOW
Attack Requirements
NONE
Privileges Required
HIGH
User Interaction
NONE
VS Confidentiality
HIGH
VS Integrity
HIGH
VS Availability
HIGH
SS Confidentiality
NONE
SS Integrity
NONE
SS Availability
NONE
Exploit Maturity
NOT_DEFINED
CvssVersion
4.0

Exploit Intelligence

EPSS Score
1.38%
Probability of exploitation in next 30 days
EPSS Percentile
69.3%
Percentile rank of EPSS score among Peer Group
As of 2026-07-27
Model: v2026.06.15
This CVE's current EPSS score of 0.0138 is in the 66th percentile among its peer group of 17,829 CVEs.

Social Chatter

The average CVE in this peer group has 0.0 Twitter, 0.0 Reddit, 0.3 Bluesky, 0.1 Mastodon, and 0.2 GitHub mentions.

Media Mentions

No media coverage found for this CVE.

The average CVE in this peer group has 0.1 InfoSec Media, 0.0 Vendor Blog, and 0.0 Security Researcher mentions.

Remediation

Remediation records are not available for this CVE.

References

github.com / FreePBX/api/blob/5f194e39a47e5481e8947f9694304d32724175f6/Api.class.php
Product
github.com / FreePBX/api/blob/5f194e39a47e5481e8947f9694304d32724175f6/ApiGqlHelper.class.php
Product
github.com / FreePBX/api/commit/5f194e39a47e5481e8947f9694304d32724175f6
Patch
vulncheck.com / advisories/freepbx-api-module-command-injection-via-graphql
Third Party Advisory