CVE Feed

    Dashboard / CVE / CVE-2026-40520

    CVE-2026-40520

    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.

    Published:Apr 21, 2026
    Last Modified:Apr 23, 2026
    EPS:Apr 21, 2026
    EPSS Score:0.0011
    CVSS Score:7.2

    Affected Products

    Vendor
    Freepbx
    Product
    Api

    Exploits

    No exploit reference

    Common Vulnerability Scoring System

    Attack Vector
    Network
    Adjacent
    Local
    Physical
    Privileges Required
    None
    Low
    High
    User Interaction
    None
    Required
    Scope
    Unchanged
    Changed
    Confidentiality
    None
    Low
    High
    Integrity
    None
    Low
    High
    Availability
    None
    Low
    High