Description
Frogman provides headless PBX control through MCP and HTTP API. Prior to 1.6.2, fm_dialplan_apply accepted template parameters including greeting, dest, url, extension, code, and file, and Tools/DialplanApply.php wrote Dialplan/Templates.php output to extensions_custom.conf while only Dialplan/TemplateBase.php:38-42 sanitized contextName(), allowing a PERM_WRITE caller using confirm:true to inject arbitrary Asterisk directives such as System(), Set(SHELL(...)), Goto, or Macro. This issue is fixed in version 1.6.2.
Published: 2026-07-16
Score: 9.9 Critical
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The vulnerability allows a user with PERM_WRITE privileges to inject arbitrary Asterisk directives into extensions_custom.conf through the fm_dialplan_apply API endpoint. It results from failing to escape Dialplan template parameters, except for contextName which is sanitized. Attackers can execute system-level commands via System(), Set(SHELL(...)), or alter call flow using Goto or Macro, leading to remote code execution. The weakness corresponds to code injection and improper input validation.

Affected Systems

This issue affects installations of Frogman prior to version 1.6.2. Vendors such as mwtcmi that provide Frogman are impacted, especially when the API or MCP is reachable by untrusted users. Any instance running a Frogman build older than 1.6.2 with API access is vulnerable.

Risk and Exploitability

The CVSS score of 9.9 marks the flaw as critical. Although the EPSS score is under 1%, indicating a low but nonzero exploitation probability, the flaw is not listed in CISA’s KEV catalog. Attackers can exploit the vulnerability over the network through the HTTP API or MCP interface, provided they possess a privileged role that can set confirm:true. Once injected, the unescaped directives are executed by Asterisk with the same privileges as the Frogman process, effectively granting remote code execution.

Generated by OpenCVE AI on July 31, 2026 at 01:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade to Frogman 1.6.2 or later, which contains the patch that properly sanitizes template parameters.
  • If an upgrade is not possible immediately, limit API access to trusted users and restrict the PERM_WRITE role so that only administrators can use the fm_dialplan_apply endpoint.
  • Consider disabling or blacklisting the use of System(), Set(SHELL(...)), Goto, and Macro directives in Asterisk configuration for untrusted extensions until a secure patch is available.

Generated by OpenCVE AI on July 31, 2026 at 01:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Thu, 23 Jul 2026 22:45:00 +0000

Type Values Removed Values Added
First Time appeared Mwtcmi
Mwtcmi frogman
Vendors & Products Mwtcmi
Mwtcmi frogman

Sat, 18 Jul 2026 03:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'total'}, 'version': '2.0.3'}


Thu, 16 Jul 2026 18:30:00 +0000

Type Values Removed Values Added
Description Frogman provides headless PBX control through MCP and HTTP API. Prior to 1.6.2, fm_dialplan_apply accepted template parameters including greeting, dest, url, extension, code, and file, and Tools/DialplanApply.php wrote Dialplan/Templates.php output to extensions_custom.conf while only Dialplan/TemplateBase.php:38-42 sanitized contextName(), allowing a PERM_WRITE caller using confirm:true to inject arbitrary Asterisk directives such as System(), Set(SHELL(...)), Goto, or Macro. This issue is fixed in version 1.6.2.
Title Frogman: Dialplan template parameters interpolated into extensions_custom.conf without escaping
Weaknesses CWE-94
References
Metrics cvssV3_1

{'score': 9.9, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:C/C:H/I:H/A:H'}


cve-icon MITRE

Status: PUBLISHED

Assigner: GitHub_M

Published:

Updated: 2026-07-18T03:05:10.646Z

Reserved: 2026-05-14T19:12:32.754Z

Link: CVE-2026-46512

cve-icon Vulnrichment

Updated: 2026-07-18T03:05:02.636Z

cve-icon NVD

No data.

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-07-31T01:30:05Z

Weaknesses
  • CWE-94

    Improper Control of Generation of Code ('Code Injection')