Skip to main content

CVE-2026-45562: CWE-78: Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection') in FreePBX security-reporting

0
High
VulnerabilityCVE-2026-45562cvecve-2026-45562cwe-78
Published: 09/28/2026 (09/28/2026, 17:36:08 UTC)
Source: CVE Database V5
Vendor/Project: FreePBX
Product: security-reporting

Description

FreePBX is an open source IP PBX. Prior to versions 16.0.4 and 17.0.6, the FreePBX Music on Hold (MoH) module contains a critical security flaw that allows authenticated attackers to execute arbitrary system commands with the privileges of the Asterisk service. Authentication with an existing FreePBX administrator account is required. The root cause lies in the fact that the module accepts a POST parameter that defines a custom Asterisk application, which is then stored in the database without any sanitization. Later, this data is written directly to the musiconhold_additional.conf configuration file without validation. Since Asterisk reads this configuration file and executes the specified application, an attacker can inject arbitrary commands that will be executed with Asterisk's permissions. This issue has been patched in versions 16.0.4 and 17.0.6.

CVSS v4.0

Score 7.7high

Attack Vector
Network
Attack Complexity
Low
Attack Requirements
Present
Privileges Required
Low
User Interaction
None
Vuln. Confidentiality
High
Vuln. Integrity
High
Vuln. Availability
High
Subsq. Confidentiality
None
Subsq. Integrity
None
Subsq. Availability
None
CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:H/SC:N/SI:N/SA:N

Affected software

FreePBX

security-reporting

Affected versions
<16.0.4<17.0.6
GitHub Actionsmore threats →ai
freepbx/security-reporting
pkg:github/freepbx/security-reporting
Affected versions
<16.0.4<17.0.6

Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 09/28/2026, 19:17:43 UTC

Technical Analysis

CVE-2026-45562 is an OS command injection vulnerability (CWE-78) in the FreePBX Music on Hold module. The module accepts a POST parameter defining a custom Asterisk application, which is stored in the database without sanitization. This data is then written directly to the musiconhold_additional.conf configuration file without validation. Since Asterisk reads and executes commands from this configuration file, an attacker with authenticated administrator access can execute arbitrary system commands with the privileges of the Asterisk service. The vulnerability affects FreePBX versions prior to 16.0.4 and 17.0.6 and has been fixed in these versions.

Potential Impact

An authenticated attacker with administrator privileges can execute arbitrary system commands on the underlying host with the permissions of the Asterisk service. This could lead to full system compromise depending on the privileges of the Asterisk service. The vulnerability requires valid administrator credentials but does not require user interaction beyond authentication.

Mitigation Recommendations

Apply the official patches by upgrading FreePBX to version 16.0.4 or later, or 17.0.6 or later. These versions contain the fix that properly sanitizes and validates the POST parameter before writing to the configuration file. No other mitigation is indicated by the vendor advisory.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-05-12T19:00:14.599Z
Cvss Version
4.0
State
PUBLISHED

Threat ID: 6abab9fff7a7c54106139f10

Added to database: 09/28/2026, 19:03:27 UTC

Last enriched: 09/28/2026, 19:17:43 UTC

Last updated: 09/29/2026, 02:48:25 UTC

Views: 10

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses