Barracuda email gateways are being hacked through their admin page: patch and lock it down
Two chained Barracuda flaws give attackers root on Email Security Gateway appliances without a login, and CISA lists both as exploited. Patch, close the admin page to the internet and check for tampering.
part 39 of 41 · Platform releases, explained from scratchthe ideaA reachable admin page plus two bugs equals root on the mail gateway.
after reading, you can- Check the ESG for the patch, then test whether its admin screen still answers from outside
- Spot the signs that someone restored a fake configuration before you patched
- Rotate the passwords an exposed ESG keeps, starting with the login it uses for your directory
Barracuda has seen attackers exploit a pair of Email Security GatewaydefinitionBarracuda's on-site box for filtering email. Mail goes through it first, and it strips out spam, phishing and malware before anything reaches your mail server. flaws that, chained together, give them root without a password. If you run an ESG, check today that the patch is installed and that nobody outside your network can reach its admin page.
If a stranger can reach your email gateway's admin page, they can take the box over without a password.
A Barracuda Email Security Gateway sits in front of your mail server and filters spam, phishing and malware before mail reaches anyone's inbox. Barracuda found two bugs in it. The first lets a stranger load a settings file into the box without signing in. The second turns one of those settings into a command the box runs with full control. Used together, the attacker owns the device that reads all of your inbound mail. Barracuda says a small number of organizations have already been hit.
Picture a mailroom clerk who checks every parcel against a rulebook. The first bug is a side door where anyone can swap in a new rulebook without showing ID. The second is that the clerk follows one line of it blindly, so whoever wrote the rulebook decides what the clerk does.
- Anyone running a Barracuda ESG appliance
- IT teams with ESG on a public IP
- Managed providers who host ESGs
- Owners of other Barracuda appliances
Why it matters to you
An email gateway sees every message coming into the company before anyone else does. An attacker with root on it can read that mail, change how it's filtered or routed, and use the box as a foothold inside your network. If it checks recipients against your directory, it holds a login to it as well, so the damage may not stop at the appliance.
This isn't a theory any more. Barracuda updated its advisory on the evening of November 9 to say it had seen exploitation at a small number of organizations, and CISA listed both CVEs the next day. CISA also flagged them for forensic triage, so federal agencies have to look for signs of compromise as well as patch.
The one condition that matters is reach. Barracuda says the attacker needs access to the administrative interface. If your ESG's admin page answers from the internet, you're exposed to this attack path. If it only answers inside your network or over a VPN, your risk is much lower, though you still need the patch.
How the attack works
-
01 Finds an exposed admin page
Attackers scan for ESG boxes whose admin page answers from the internet. Those are the only ones they can reach.
-
02 Skips the login
They call the configuration import feature without signing in. That's CVE-2026-116606, and it should have needed an admin session.
-
03 Uploads a fake backup
They upload a fake backup, and the appliance takes it as one of its own. Restoring it rewrites the box's global settings.
-
04 Plants a bad time zone
The time zone in that backup has shell commands tucked inside it. CVE-2026-111560 is the bug that lets them through unchecked.
-
05 The box runs it as root
Next time the box applies the time zone, it runs those commands as root. At that point the attacker owns your mail gateway.
For engineers: Mandiant files the bypass as CWE-288, authentication bypass through an alternate path, and the injection as CWE-78, OS command injection. The injection on its own needs an admin login, which is why Barracuda first described the whole thing as needing admin access. The bypass removes that step. Barracuda corrected its advisory on November 5 to say no authentication is required, provided the attacker can reach the admin interfacedefinitionThe web page administrators use to configure an appliance. If it answers from the internet, anyone can try their luck against it..
Researchers at watchTowr published an analysis of the chain the same week. As The Hacker News summarized it, a failed password change hands back a low-privilege role instead of ending the request, which leaves the backup restore reachable. The restore checks a checksum built from a secret in the code, so an attacker can forge it. watchTowr showed the chain by writing a file as root and released a tool to check whether an appliance is vulnerable. With that much public detail, assume others can rebuild the attack.
What Barracuda fixed, and on what
The two flaws and what fixes them
ESG only. An unauthenticated attacker who can reach the admin UI restores a crafted backup and changes the global configuration. Mandiant lists ESG before 9.4.0.030 as affected.
Shared Barracuda code across six products. An admin can inject OS commands through the time zone value, and they run as root. CVSS 4.0 score 8.6.
On November 5 Barracuda changed the bypass from needing administrative access to needing only access to the admin interface.
On November 9 Barracuda added that it had seen exploitation activity affecting a small number of organizations.
Barracuda ships these fixes as patches to the appliance firmware, each with its own ID. ESGs set to Automatic check for patches every hour and should have them, though a reboot may still be pending. The catch is the setting. On the ESG's firmware page, patches can be applied automatically, applied by hand, or held back, and Barracuda's ESG documentation, written for firmware 9.0, lists holding them back as the default. Barracuda now tells anyone who turned automatic patching off to turn it back on.
| Product | Login bypass (116606) | Command injection (111560) | Barracuda patch | Affected up to |
|---|---|---|---|---|
| Email Security Gateway (ESG) | Yes | Yes | BNSF-40425 (9.4.017 and later), BNSF-40430 (older) | Before 9.4.0.030 (bypass); 9.4.0.27 (injection) |
| Load Balancer ADC | No | Yes | BNADC-16586 | 6.4.0 |
| Web Application Firewall (WAF) | No | Yes | BNADC-16586 | 11.0.1 |
| WAF Control Center (WCC) | No | Yes | BNWF-60060 | 2.2.1 |
| Web Security Gateway (WSG) | No | Yes | BNYF-24789 | 16.1.100.100 |
| Message Archiver (BMA) | No | Yes | BNMA-32468 | 5.5.4.0 |
Version numbers don't line up perfectly across sources. Canada's Cyber Centre lists the products as affected "prior to" the same numbers Mandiant lists as the last affected builds. Go by the patch ID shown on the appliance, and by Barracuda's own instruction to run the latest firmware with every security patch.
Older boxes take more work. Barracuda says a device several firmware versions behind may need more than one update before the patch applies, and asks those customers to call support. If yours hasn't been touched in a year, book the time now.
How it unfolded
- Oct 15, 2026Injection reported
Mandiant's timeline starts here, with Barracuda reporting the time zone bug. On its own it needs an admin login.
- Oct 22, 2026Bypass reported
Barracuda reports the configuration import bypass a week later. It becomes CVE-2026-116606, the half of the chain that needs no login.
- Nov 2, 2026Advisory and patches
Patches go out with Barracuda's advisory, and Mandiant posts both CVE records that day. Boxes set to Automatic can pick the fix up from here.
- Nov 5, 2026No login needed
Barracuda corrects its advisory: the bypass needs no login, only a reachable admin page. watchTowr's write-up comes out that week.
- Nov 9, 2026Exploitation seen
Barracuda says a small number of organizations have been hit. From here on, assume attackers are looking.
- Nov 10, 2026Added to CISA KEV
Both CVEs go on the exploited list, with forensic triage required for federal agencies.
- Nov 13, 2026Federal due date
CISA's deadline for agencies has passed. Everyone else should treat it as already overdue.
- Admin page answers from the internet
- Apply Patches set to Disable or Manual
- Firmware several versions behind
- Nobody has looked at restore history
- LDAP bind password unchanged for years
- Admin page reachable only from a management network or VPN
- Someone checked the patch ID and rebooted the box
- Apply Patches set to Automatic
- Config compared with a known-good backup
- Bind account rotated and limited to read access
What to do now
Two jobs run side by side today. Someone closes the door, by patching and blocking outside access to the admin page. Someone else checks whether anyone already came through it, because Barracuda hasn't said whether patching undoes a malicious configuration that's already been restored.
What to do now, by who you are
- Ask IT or your mail provider whether you run a Barracuda ESG, and get a yes or no in writing.
- If you do, ask for the patch ID installed and whether the admin page can be reached from the internet.
- Ask who has looked at the appliance for tampering since November 2, and what they found.
- If they find any, call your lawyer and cyber insurer the same day, before anyone wipes the box.
- On each ESG, open ADVANCED > Firmware Update and click Sync Now. The patch list that comes back tells you what's actually installed.
- Confirm BNSF-40425 or BNSF-40430 is applied, then reboot if prompted. The appliance won't reboot on its own.
- Switch Apply Patches to Automatic. If change control won't allow that, put a monthly patch check on someone's calendar.
- Restrict the admin interface to a management network or VPN, at the upstream firewall too.
- Find out since when each admin page was reachable from outside, and keep firewall and proxy logs for that period.
- Review admin access logs for logins and configuration restores you can't explain.
- Diff the running configuration against a backup from before November 2. Look hard at the time zone value, since that's where the commands hide.
- Check any Barracuda WAF, ADC, WSG or archiver for its own patch. They don't have the bypass, so they can wait a day, not a month.
- Make a list of the passwords stored on the ESG. The LDAP bind account goes first, because it's a key to your directory.
- If the box was exposed, rotate that account and any SMTP or API credentials stored on it.
- Confirm the bind account only has read access, and watch it for sign-ins from anywhere but the ESG.
# Run it from outside, like a phone hotspot $ curl -sI -m 10 http://esg.example.com:8000/ curl: (28) Connection timed out # A timeout is good. Any reply at all means outsiders can reach it
Harden so the next one hurts less
Barracuda's ESG has been here before. In 2023, after the CVE-2023-2868 attacks, Barracuda told customers that compromised ESG appliances had to be replaced, whatever their patch level. The same lesson applies now: a patch closes the hole, and it does nothing about someone who already used it.
Durable fixes, tied to this case
- 01Take every admin console off the internet
Barracuda says appliances whose admin pages aren't public are less exposed. Put the ESG and every other appliance console behind a VPN or jump host, and enforce it on the firewall in front of them.
- 02Let patches install themselves
Set Apply Patches to Automatic and plan a reboot window, since the appliance won't restart by itself. Then check the patch list monthly so a stuck box doesn't go unnoticed.
- 03Keep a known-good backup off the box
Export the configuration after each approved change and store it somewhere the appliance can't write to. Next time you need to know whether something changed, you'll have something to compare against.
- 04Shrink what the appliance knows
Give the LDAP bind account read access and nothing more, rotate it on a schedule, and keep it in a vault. A rooted gateway then exposes one limited account.
- 05Watch the appliance like a server
Send its admin and system logs to your SIEM and alert on configuration restores, new admin accounts and logins from unusual addresses.
Before: an admin page anyone can reach
The ESG's admin interface answers on a public IP, patches wait for someone to apply them, and the box holds a directory account with wide read access.
After: admin access only from inside
The admin interface listens only to a management network reached over VPN, patches apply automatically, and the bind account is limited and rotated.
If you think you've been breached
If someone may have used this chain on your ESG
Neither Barracuda nor Mandiant has published indicators of compromise, so you're looking for changes rather than known files. Signs include configuration restores nobody ran, an odd time zone value, new admin accounts and outbound connections from the appliance.
- 01Containfirst hour
- Block the admin interface from the internet now, but keep mail flowing if you can.
- Save the appliance's logs and an export of its current configuration before you patch or change anything.
- Call legal and the cyber insurer now. Their notice deadlines often start when you first suspect a breach, so don't wait for proof.
- 02Investigatefirst day
- Diff the configuration against a known-good backup from before November 2, field by field.
- Open the time zone setting. Anything there besides a plain zone name is a red flag.
- Review admin logins, restores and firmware events since the admin page was first exposed.
- Look in firewall logs for connections from the ESG to addresses it has no reason to reach.
- 03Removefirst days
- Ask Barracuda Support whether the unit can still be trusted. In 2023 their answer for compromised ESGs was to replace them.
- If you rebuild or replace it, restore settings from a clean backup only, never from the running box.
- 04Recoverthis week
- Rotate the LDAP bind account and every credential stored on the appliance.
- Go through mail routing and quarantine rules line by line. A quiet rule that copies mail to an outside address is exactly what an attacker would leave.
- Put the unit back in service only once it's fully patched. Its admin page stays closed to the internet from now on.
- 05Report and learnwithin legal deadlines
- Have counsel decide whether exposed mail triggers regulator or customer notices.
- Write down why the admin page was public and who owns closing the next one.
What this could look like
Three typical setups
- the setup
- A law office bought an ESG years ago. The contractor set it up with the admin page on the public IP so they could manage it remotely, and patches are on Manual.
- what happens
- The box is still on old firmware with no patch applied. Anyone who can reach that page can use the chain, and nobody checks the appliance logs.
- what to do
- Have the contractor block the admin page from the internet today and apply the patch. Then ask them to compare the configuration with an older backup.
- the setup
- A health system runs two ESG appliances. Admins reach them only over the management VPN, and patching is set to Automatic.
- what happens
- The patch arrived on its own, but the appliances still need the reboot Barracuda prompts for. Until then, nobody can be sure the fix is in place.
- what to do
- Schedule the reboot, confirm the patch ID on both units, and make a note in the change record that the admin page was never public.
- the setup
- A manufacturer doesn't use the ESG but runs a Barracuda WAF and a Load Balancer ADC in front of its customer portal.
- what happens
- Neither box has the login bypass, so the chain doesn't apply. The command injection is still there for anyone who steals or guesses an admin password.
- what to do
- Apply BNADC-16586 to both, check who has admin accounts, and put both consoles behind the admin VPN.
How Cohash helps
Your mail team or provider does the patching, and that's where it belongs. We pick up what sits around it. Our network security people take management consoles off the internet. Our non-human identity team finds the service accounts boxes like this keep, and rotates them. If your ESG checks recipients against Microsoft Entra ID and Active Directory, an Entra engineer can cut that bind accountdefinitionA directory login the appliance keeps so it can look people up in Active Directory or another LDAP server. The ESG uses it to check that a recipient actually exists before accepting mail. down to read-only. Not sure what else is exposed? Try the free assessment.
What to take from this
- 01
Attackers already use this chain, and CISA's federal deadline came and went on November 13. Get every ESG patched today.
- 02
Confirm the patch ID on the firmware page and reboot. Automatic mode doesn't restart the box for you.
- 03
Take the admin page off the internet. The bypass only works if an attacker can reach it.
- 04
Check for a configuration restore you didn't run, and compare against a pre-November 2 backup.
- 05
Rotate the LDAP bind account and other credentials stored on any ESG that was exposed.
01How do I find out if we have a Barracuda Email Security Gateway?
Ask whoever runs your email. The ESG is a physical or virtual appliance your mail passes through before it reaches Exchange or another mail server. If you only use Barracuda's cloud service, Email Gateway Defense, the box in this advisory isn't yours.
02Our ESG's admin page isn't on the internet. Are we safe?
It's much less exposed, and Barracuda says so. The bypass only works for someone who can reach that page, so an attacker would need a foothold inside your network first. You still need the patch, because that foothold does happen.
03Which patch fixes it?
On the ESG, BNSF-40425 for firmware 9.4.017 and later, or BNSF-40430 for older firmware. Check under ADVANCED > Firmware Update, then reboot if the appliance asks. Mandiant's record lists ESG versions before 9.4.0.030 as affected by the bypass.
04Will patching kick out someone who's already in?
Don't count on it. Barracuda hasn't said whether the patch reverses a malicious configuration that was already restored. Compare the settings against an older backup, and in 2023 Barracuda told customers to replace compromised ESGs whatever their patch level.
05We run a Barracuda WAF, not an ESG. Do we need to act?
Yes, but with less urgency. The WAF, Load Balancer ADC, WAF Control Center, Web Security Gateway and Message Archiver have only the command injection, which needs an admin login. Apply the patch Barracuda lists for each one.
06Is there a public exploit?
Barracuda and CISA haven't published one. Researchers at watchTowr put out a detailed analysis and a checker, though The Hacker News reports they didn't release an exploit. Attacks are already happening anyway, so treat the chain as known to attackers.
07Why is CISA's deadline only three days?
CISA set November 13 for federal agencies when it listed both flaws on November 10, and marked them for forensic triage. Private companies aren't bound by it, but it's a fair yardstick.
Three questions, about a minute
Pick an answer and we'll tell you if it's right, and why it is or isn't. The score stays in this browser.
-
Q1Your ESG shows BNSF-40425 under Firmware Patches with a prompt to reboot. Nobody has rebooted it. Are you done?
show the answer
B. No, it still needs the reboot it's asking for Barracuda's ESG documentation says the appliance won't reboot on its own when a patch needs a restart. Until it does, you can't be sure the fix is running.
-
Q2A company's only Barracuda box is a Web Application Firewall, and its admin page sits behind a VPN. What should they do?
show the answer
C. Apply BNADC-16586 promptly, since it's on KEV too, and review who holds admin accounts The WAF only has the command injection, and that needs an admin login. Its console isn't public either. CISA's KEV entry still covers the WAF, so patch it soon and check who holds admin accounts. Taking it offline would be overkill.
-
Q3Your ESG's admin page was open to the internet until this morning. It's patched now. What's the security team's next job?
show the answer
D. Compare its configuration with a backup from before November 2 and rotate the bind account Patching closes the hole but may not undo a configuration someone already restored. The diff shows whether that happened, and the bind account is the credential a rooted box would give away.