Tag: Authentication Bypass

Barracuda ESG auth bypass chains to root, now exploited (CVE-2026-116606)

Barracuda ESG auth bypass chains to root, now exploited (CVE-2026-116606)

For three days in early November, Barracuda’s own advisory said two different things about the same bug. The headline called CVE-2026-116606 a “pre-authentication” bypass. The field underneath said it required administrative access. Mandiant, which published the CVE record, scored it as needing no privileges at all. On November 5, 2026, Barracuda corrected the field. Four days later it reported exploitation in the wild, and on November 10 CISA put both bugs in its Known Exploited Vulnerabilities (KEV) catalog with a three-day federal deadline.

The chain is simple to describe. CVE-2026-116606 lets someone with no credentials restore a crafted backup onto a Barracuda Email Security Gateway (ESG) and rewrite its global configuration. CVE-2026-111560 lets an administrator inject shell commands through the timezone setting, and those commands run as root. Barracuda says that together they let an attacker bypass authorization controls and get root on the box.

Severity: critical if your ESG admin interface is reachable from anywhere you don’t fully trust. If you run one, patch and go look at your logs. This post is mostly about the second part.

At a glance

  • CVE-2026-116606: authentication bypass in the ESG configuration-import function (CWE-288). CVSS 4.0 score 9.3, no privileges required. Affects ESG earlier than 9.4.0.030.
  • CVE-2026-111560: OS command injection in the timezone field (CWE-78), runs as root, needs admin. CVSS 4.0 score 8.6. Affects ESG, Load Balancer ADC, Web Application Firewall, Web Security Gateway, Message Archiver and WAF Control Center.
  • Exploitation: confirmed by Barracuda on November 9, 2026 (“a small number of organizations”). Both CVEs added to CISA KEV on November 10, due November 13, with forensic triage required.
  • Fix: ESG 9.4.0.030 or later (patches BNSF-40425 for 9.4.017 and later, BNSF-40430 for older builds). Separate patch IDs for the other five products.
  • Who should care: anyone running an on-premises ESG appliance, physical or virtual, and anyone running the other five products with a management interface that isn’t locked down.

What we know

According to Mandiant’s disclosure timelines, Barracuda reported the timezone injection on October 15, 2026 and the backup-restore bypass on October 22. Mandiant acted as the CVE numbering authority for both and published MNDT-2026-0041 and MNDT-2026-0042 on November 2, the same day Barracuda posted its advisory and patches. Neither Mandiant advisory credits an outside researcher.

At disclosure, nobody was talking about attacks. Field Effect and Beazley Security both wrote on November 3 that no exploitation had been reported, and Beazley noted there was no public proof of concept.

That changed on the evening of November 9, when Barracuda updated its advisory to say it had observed exploitation affecting a small number of organizations. It did not say which of the two CVEs was used, who the attackers were, or how many customers were hit, and it published no indicators of compromise. CISA added both CVEs to KEV on November 10. In its enrichment data for the CVE records, CISA marks exploitation as “active” and technical impact as “total” for both, and rates the ESG bypass as automatable.

Some outside telemetry exists. SecurityWeek reported on November 11 that Previdian, which runs exploitation sensors, saw 17 attempts against CVE-2026-116606 between November 9 and November 11, from 15 IP addresses in three countries. When I checked Previdian’s page on November 14, the count had grown to 18 attempts from 16 IPs in four countries, still all between November 9 and 11. Previdian is explicit that these are attempts seen by its sensors, not confirmed compromises.

Timeline from October 15 to November 13, 2026: both bugs reported, advisories and patches on November 2, auth field corrected November 5, exploitation reported November 9, KEV listing November 10, federal deadline November 13.
From first report to the federal KEV deadline in 29 days. Dates from Mandiant, Barracuda and CISA.

How the chain works

Barracuda and Mandiant describe the bugs only in outline. watchTowr Labs has since published a code review of the patch (its post is dated November 5, 2026), so this picture combines the advisory text with that analysis. It stays at a conceptual level.

The first bug is in configuration import. Mandiant says an unauthenticated remote attacker can invoke the configuration-import function and restore “a crafted, compatible backup archive”, which modifies the appliance’s global configuration. The weakness class is CWE-288, authentication bypass using an alternate path or channel. In plain terms: the front door checks your login, but some route to the restore feature doesn’t.

Restore is about the most dangerous feature an appliance can expose, because a backup is the device’s whole state packaged up for re-import. Whoever controls the restore controls the box. The advisories don’t say exactly what an attacker changes, so the step from “rewrote global configuration” to “has admin” is my inference, not a published detail. Barracuda’s own wording, that the combination lets an attacker “bypass authorization controls and obtain root access”, is consistent with it.

The second bug is older-school. Mandiant describes “improper neutralization of shell metacharacters in the timezone configuration field”: a settings value ends up in a shell command without proper escaping, and that command runs as root. It needs an admin session on its own. Chained behind the bypass, that requirement stops mattering.

watchTowr’s review fills in the mechanics. Both bugs sit behind a single endpoint on the admin UI. The bypass comes from the password-change logic: when a password change fails, the code keeps processing the request, and that lets the same request reach an upload handler that accepts a backup archive. The archive carries configuration that gets restored, including the timezone value, and a helper script running as root then acts on that value. That also sharpens my inference above: in watchTowr’s reading the attacker never has to become an admin first, because the crafted backup itself delivers the value that reaches the root helper.

watchTowr also released a GitHub tool it calls a “Detection Artifact Generator”, which builds a backup archive and uploads it. I have not run it, but I would plan as if working exploit code is public.

Four-step flow: reach the ESG admin UI, restore a crafted backup via CVE-2026-116606, gain admin-level control (inferred step), then run commands as root through the timezone field via CVE-2026-111560.
Conceptual chain from the advisories. Step 3 is my inference; the exact mechanism has not been published.

Mandiant says CVE-2026-111560 lives in code shared across Barracuda appliances, hence six affected products. On the five non-ESG products it is “only” an admin-to-root bug: lower urgency, but a stolen admin password now means root.

The authentication confusion, reconciled

This is where the early coverage got muddled, so here’s the record. Barracuda’s November 2 advisory titled the ESG bug a pre-authentication issue but listed “Yes, administrative access” under authentication required. Mandiant’s CVSS vector for it says PR:N, no privileges. On November 5 at 2:30pm EST, Barracuda changed the field to “No (Administrative UI Access Required)” and spelled out that authentication isn’t needed, only network reach to the admin UI.

So the two sides now agree. What remains is a wording trap: “requires access to the administrative interface” sounds like “requires admin”, and it doesn’t. It means “requires a network path”. Some reporting still mixes the bugs up the other way. BleepingComputer’s November 10 story describes the timezone bug as usable by unauthenticated attackers, which contradicts both Mandiant and Barracuda. On its own it needs an admin; it only becomes unauthenticated when chained.

Table comparing what Barracuda (November 2 and November 5), Mandiant and CISA KEV said about whether each CVE requires authentication.
Barracuda's November 5 correction brought its advisory in line with Mandiant's no-privileges score.

There’s a smaller mismatch too. Barracuda labels both CVEs “High” severity on its advisory, while a CVSS 4.0 score of 9.3 falls in the Critical band. If your patch tooling sorts by vendor severity, the ESG bug may sit lower in the queue than it should.

Who is affected and how badly

The whole risk turns on one question: who can reach your ESG admin UI? If it’s only a dedicated management network or a jump host, an outside attacker first needs a foothold inside, and Barracuda itself says organizations without internet-exposed admin interfaces are less exposed. If the admin UI faces the internet, you were one crafted upload away from a rooted mail gateway for as long as you were unpatched.

I could not find a public count of internet-exposed ESG admin interfaces as of November 14, 2026, so I won’t guess at one. CISA’s KEV entry puts the burden where it belongs, noting that stakeholders are responsible for evaluating each asset’s internet exposure.

Why a mail gateway matters so much: it sits between the internet and your mail server and sees every message in and out. Root on that box means potential mail interception and credential theft, plus a trusted position for moving further in, a point Field Effect also makes.

Version strings are inconsistent across the sources (Mandiant lists ESG “<= 9.4.0.27” for the timezone bug, the bypass is fixed in 9.4.0.030, Barracuda splits its patches at “9.4.017”, and watchTowr’s patch comparison treats build 9.4.0.027 as vulnerable and 9.4.0.029 as fixed). Don’t try to decode those by hand. Check what your appliance reports as the latest firmware and confirm both patch IDs are applied.

What to do now

  1. Get ESG to 9.4.0.030 or later and confirm BNSF-40425 (9.4.017 and later) or BNSF-40430 (older) is installed. Barracuda warns that appliances several versions behind may need more than one update. If automatic patching was off, turn it back on.
  2. Before or while you patch, cut the admin UI off from the internet. Allow it only from a management subnet or jump host via firewall rules or network access controls. This is Barracuda’s own mitigation and it removes the unauthenticated half of the chain.
  3. Patch the other products for CVE-2026-111560: Load Balancer ADC and WAF (BNADC-16586), Message Archiver (BNMA-32468), WAF Control Center (BNWF-60060), Web Security Gateway (BNYF-24789).
  4. If the admin UI was reachable from untrusted networks at any point before you patched, treat the box as a triage case, not just a patch job. That’s exactly what CISA’s KEV entry demands of federal agencies under BOD 26-04: a forensic triage to assess whether the system is compromised.
  5. If you find signs of compromise, rotate every credential and key the appliance held or could reach (Field Effect’s advice too) and open a case with Barracuda support. Barracuda hasn’t said whether it will again recommend replacing compromised hardware, as it did in 2023. Ask.

Detection and monitoring

Most of this chain happens inside a closed appliance, so you can’t watch it the way you’d watch a Linux server you own. One update to the technical picture helps: watchTowr Labs published a code review of the patch (its post is dated November 5, 2026) that puts both bugs behind a single admin endpoint, /cgi-mod/index.cgi, and names the timezone helper script that ends up running as root. That gives the network side something concrete to anchor on. There are still no IOCs from Barracuda, Mandiant, CISA or watchTowr as of November 15, so every rule below is behavioural.

What you can catch depends on what sits around the ESG: HTTP logs from a proxy, WAF or load balancer in front of the admin UI, the appliance’s own web interface syslog (which records logins and configuration changes), and your perimeter firewall. Host-level process telemetry from the ESG itself is rare, so the process rule is mainly for lab and forensic data.

RuleCategoryLog sourceATT&CKLevel
Admin CGI POST from a public IPWeb/Appwebserver (proxy/WAF in front of the admin UI)T1190High
Failed password change audit eventEmailESG web interface syslogT1190Medium
Suspicious child of the timezone helperLinuxprocess_creationT1059.004, T1068High
Appliance outbound on an unusual port (hunting)NetworkfirewallT1071Low

The rule I’d turn on first is the simplest. Alert on any POST to /cgi-mod/index.cgi whose client address is not private, loopback or link-local. Barracuda’s own mitigation is that the admin UI shouldn’t be reachable from untrusted networks, so if this fires, either that mitigation isn’t in place or someone outside is talking to the exact endpoint both bugs live behind. If a proxy sits in front, make sure it logs the real client IP, not its own.

title: Barracuda ESG Admin CGI POST From Public IP - Potential CVE-2026-116606 Exploitation
id: 3a7e544c-c8b8-4c44-8efc-87e545f44760
status: test
description: |
    Detects HTTP POST requests to the Barracuda Email Security Gateway admin CGI endpoint
    (/cgi-mod/index.cgi) from a source outside private address space. watchTowr's analysis places both
    the CVE-2026-116606 authentication bypass and the CVE-2026-111560 timezone injection behind this
    endpoint, and Barracuda's mitigation is to keep the admin UI off untrusted networks.
references:
    - https://trust.barracuda.com/security/pre-authentication-authorization-bypass-command-injection
    - https://github.com/mandiant/Vulnerability-Disclosures/blob/master/2026/MNDT-2026-0042.md
    - https://labs.watchtowr.com/barracuda-networks-is-your-new-best-friend-barracuda-email-security-gateway-pre-auth-remote-root-rce-cve-2026-116606-cve-2026-111560/
    - https://netsec101.com/?p=241
author: netsec101.com
date: 2026-11-15
tags:
    - attack.initial-access
    - attack.t1190
    - cve.2026-116606
    - cve.2026-111560
    - detection.emerging-threats
logsource:
    category: webserver
detection:
    selection_uri:
        cs-uri-stem|endswith: '/cgi-mod/index.cgi'
    selection_method:
        cs-method: 'POST'
    filter_main_private:
        c-ip|cidr:
            - '10.0.0.0/8'
            - '172.16.0.0/12'
            - '192.168.0.0/16'
            - '127.0.0.0/8'
            - '169.254.0.0/16'
            - '::1/128'
            - 'fc00::/7'
            - 'fe80::/10'
    condition: all of selection_* and not 1 of filter_main_*
falsepositives:
    - Administrators who legitimately manage the appliance over the internet (the exposure Barracuda advises against); add their fixed egress IPs as a filter
    - Authorised external vulnerability scanning of the appliance
    - Reverse proxies or load balancers that log their own address as c-ip will hide the real client; log X-Forwarded-For instead
level: high

After patching, keep watching. The patch closes the bugs but doesn’t undo a restore that already happened. Retro-hunt your HTTP, syslog and firewall data at least back to November 2, when the advisory and patches went public, and further if you keep it, since nobody has said when exploitation started. Look for configuration restores nobody on your team remembers and for any timezone value that isn’t a plain timezone name. If Barracuda or CISA publish indicators later, sweep the same window again; until then there is nothing to age out.

I wrote up all four rules, with tuning notes, lab tests and ATT&CK coverage, in a separate detection post. The YAML lives in my Detection Rules repo.

My take

I don’t think this one is overhyped. A no-credential path to root on a mail gateway, reported exploited a week after the patch, is about as serious as appliance bugs get. Three things bother me more than the CVSS numbers.

First, the auth field. For three days the vendor advisory said an unauthenticated bug needed admin access. Plenty of teams triage on that field, and “needs admin” gets pushed to next month’s window. That was probably the wrong call for some of them: Barracuda reported exploitation four days after the correction, and we don’t know when the attacks actually began. When a vendor’s title and its own fields disagree, I trust the CVSS vector and assume the worse case.

Second, the bug classes are boringly familiar. The 2023 ESG zero-day, CVE-2023-2868, was a command injection through filenames inside .tar attachments, exploited from at least October 2022. Barracuda ended up telling customers that compromised appliances “must be immediately replaced regardless of patch version level.” Three years later we have another shell injection, in code shared by six products. Mail and edge appliances keep getting root-chained because they are Linux boxes full of glue code passing strings to root shells, with management planes that drift onto the internet.

Third, the silence. “A small number of organizations” with no IOCs and no named CVE leaves defenders hunting blind. Given the 2023 history, I’d want Barracuda to say plainly whether patching is enough for an already-compromised box. Until it does, if your admin UI was exposed, I’d assume patching isn’t enough and do the triage.

The real fix is the dull one. A management interface on the internet is a bet that the vendor’s auth code has no alternate paths. This month, that bet lost.

Sources