Barracuda ESG Bug Chain Hands Attackers Root Without Login
By @sharedot · · 6 pages
- Cybersecurity
- Barracuda
- Vulnerability
- Rce
Chained Barracuda ESG flaws CVE-2026-116606 and CVE-2026-111560 let unauthenticated attackers gain root, with patches issued November 2.
A Failed Password Change Opens the Door
Barracuda patched two flaws on Monday, November 2 that, chained together, give an unauthenticated attacker root on the Email Security Gateway.
The first, CVE-2026-116606, is a pre-authentication authorization bypass in the ESG's Index.pm handler, scored 9.3 (Critical) on CVSS 4.0 by Mandiant, which assigned both CVE records.
When an attacker sends a password-change request with mismatched fields to /cgi-mod/index.cgi, the appliance reports the failure with HTTP 200 but keeps processing under a low-privilege login-screen role instead of ending the request.
From Forged Backup to Root Shell
The leftover processing reaches the bayesian_upload_handler, which passes an uploaded file to Barracuda::Backup2::restore_all — a full configuration restore Mandiant's CVE record says an unauthenticated attacker can run with a crafted backup archive.
Backup checksums are MD5 hashes of file bytes plus a secret value, but watchTowr Labs found that secret is hardcoded, so anyone can forge a valid backup.
That forged backup's Spam_Config restores a system_timezone value that finalize_restore in Backup2.pm and the root-privileged fix_tz.pl script pass into a sed command via Perl backticks.
Single quotes don't stop shell metacharacters, so a timezone string like UTC#';touch /tmp/watchTowr;# breaks out and runs as root — watchTowr demonstrated it by writing that file.
Six Products, Conflicting Ratings and Fix Builds
CVE-2026-111560, an 8.6-rated OS command injection, also exists in five other Barracuda products — Load Balancer ADC, WAF, Message Archiver, WAF Control Center and Web Security Gateway — but on those it still requires an administrator account; only the ESG has the bypass.
Patch IDs include BNSF-40425/BNSF-40430 for ESG, BNADC-16586 for ADC and WAF, BNMA-32468 for BMA, BNWF-60060 for WCC and BNYF-24789 for WSG.
Sources disagree on the fixed ESG build: Mandiant's record says CVE-2026-116606 affects versions earlier than 9.4.0.030, while Barracuda's remediation page and watchTowr's analysis name 9.4.0.029, so admins should target 9.4.0.030.
Notably, Barracuda's advisory called the bypass 'High' and listed 'administrative access' as required — a line BleepingComputer reported on November 6 that Barracuda clarified to mean network reach to the admin interface, not a password.
No KEV Entry Yet, but a PoC Is Out
As of November 6, neither CVE appears in CISA's Known Exploited Vulnerabilities catalog, no vendor has reported attacks, and nothing publicly connects the flaws to any actor — though the ESG's history includes UNC4841's zero-day abuse of CVE-2023-2868, which forced appliance replacements in 2023.
Italy's CSIRT has issued an alert noting a proof of concept is available, and watchTowr published a Detection Artefact Generator on GitHub rather than a weaponized exploit.
Barracuda's only workaround is restricting the admin interface to trusted networks via the Administrator IP/Range field and blocking port 8000 at the perimeter, since the chain requires network access to that interface. Admins should also re-enable automatic patching if it was disabled.