Cyber Security News

cPanel Urges Users to Patch ConfigServer Firewall Remote Code Execution Flaw

A recently disclosed vulnerability in ConfigServer Security & Firewall (CSF) could allow unauthenticated remote attackers to execute arbitrary commands through the product’s MESSENGER service.

This vulnerability, tracked as CVE-2026-65638, affects CSF versions 14.00 through 16.29 and has been addressed in version 16.30 and later.

CSF is widely used on Linux servers and in cPanel/WHM environments to manage firewall rules, intrusion detection alerts, login-failure monitoring, and security automation.

Although exploiting this vulnerability does not grant root-level control, an attacker could execute commands under the CSF service account. This access could help the attacker establish a foothold for reconnaissance, data access, lateral movement, or further privilege escalation.

ConfigServer Firewall RCE Flaw

The flaw lies in CSF’s MESSENGER service, an optional feature that displays customizable messages to blocked users or visitors. The attack vector is exposed only when two specific configuration conditions are met:

  • The MESSENGER service is enabled.
  • A reCAPTCHA secret has been configured.

Neither setting is enabled by default, which reduces the number of potentially exposed servers. However, administrators who have enabled MESSENGER for custom block-page handling or visitor messaging should treat this issue as urgent, especially for internet-facing hosting infrastructure.

According to the advisory, a remote attacker does not need to authenticate to exploit the vulnerable service. This makes the flaw particularly significant for shared hosting providers, managed-service environments, and organizations using CSF across multiple cPanel servers.

Affected and Fixed Versions

ProductVulnerable versionsPatched version
ConfigServer Security & Firewall14.00–16.2916.30+

Administrators should upgrade to the latest available CSF release rather than merely applying a workaround. For CentOS 7, CloudLinux 7, AlmaLinux, CloudLinux 8/9/10, and Ubuntu-based deployments, the vendor recommends refreshing packages and executing the standard update procedure:

yum clean all
/scripts/update-packages

After updating, teams should verify the installed CSF version and assess whether the MESSENGER feature is necessary in their environment.

Mitigation Steps

Organizations unable to update immediately can reduce exposure by turning off the MESSENGER service. Administrators should log in to the affected server as root through SSH or the WHM Terminal, and then edit the CSF configuration file:

nano /etc/csf/csf.conf

Set the following option:

MESSENGER = 0

After saving the configuration, restart the CSF and Login Failure Daemon services:

systemctl restart csf lfd

Security teams should also audit internet-facing servers for CSF installations, identify systems running versions earlier than 16.30, and check whether the MESSENGER and reCAPTCHA settings are enabled. Given that this flaw allows unauthenticated command execution, patching exposed systems should take precedence over routine maintenance.

Keep your SOC up to date on active malware & phishing within 24h of their emergence. Try ANYRUN to prevent incidents with early detection. 

Divya

Divya is a Senior Journalist at GBhackers covering Cyber Attacks, Threats, Breaches, Vulnerabilities and other happenings in the cyber world.

Recent Posts

Hackers Use ConnectWise SkyKick Credentials to Access Microsoft 365, Halting Cloud Backups

Attackers abused compromised ConnectWise Cloud Backup credentials to access Microsoft 365 customer environments, prompting ConnectWise…

1 day ago

Anthropic’s Claude AI Uncovers Origins of NSA-Provided Cryptographic Keys After 25 Years

Anthropic says an internal Claude research model reconstructed how the National Security Agency generated seeds…

1 day ago

Critical WordPress Flaws Allow Attackers to Execute Remote Code Without Authentication

Two WordPress Core vulnerabilities can be chained to execute remote code without authentication, according to…

1 day ago

OpenBSD Kernel Flaw Dating Back 37 Years Enables Local Privilege Escalation to Root

A newly disclosed OpenBSD kernel exploitation chain combines a shared memory accounting flaw with a…

1 day ago

GhostAction Hackers Hide Credential-Stealing Malware in Fake Font Files Across 94 GitHub Repositories

GhostAction attackers have expanded their GitHub credential theft campaign with a second stage that disguises…

1 day ago

SideCopy Hackers Target Indian Organizations With ReverseRAT Malware to Steal Data

Indian authorities have warned that SideCopy hackers are targeting Indian organizations, including academic institutions, with…

1 day ago