CVE-2023-2868
Remote Code injection in Barracuda Email Security Gateway
Exploited in the wild. In CISA KEV since 2023‑05‑26. Fixed in 9.2.0.006.
No public exploit knownFix9.2.0.006Upgrade to this build
e.g. OID 1.3.6.1.4.1.25623.1.0.149743
What to do
Find your product and version, then upgrade to the build on the right.
- Barracuda Email Security GatewayAffected: ≥ 5.1.3.001, < 9.2.0.006Upgrade to: 9.2.0.006Stated by: CVE record
- Barracuda Email Security Gateway 300 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
- Barracuda Email Security Gateway 400 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
- Barracuda Email Security Gateway 600 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
- Barracuda Email Security Gateway 800 FirmwareAffected: ≥ 5.1.3.001, ≤ 9.2.0.006Upgrade to: after 9.2.0.006Stated by: NVD
Versions as the sources state them. 6 more products have version data. Full version matrix after sign-in
Steps
Written by AI from the record- Check whether you run a Barracuda Email Security Gateway appliance (model 300/400/600/800/900) and note its current firmware version.
- Confirm the version is between 5.1.3.001 and 9.2.0.006, which is the vulnerable range.
- Verify the BNSF-36456 patch has been applied, or upgrade to fixed version 9.2.0.006 or later.
- Check Barracuda's security advisory and status page for guidance specific to your appliance, since some compromised units required full hardware replacement.
- If you cannot confirm the patch is applied, contact Barracuda support immediately rather than waiting.
Coverage timeline
1 publisherTechnical analysis published
Added to CISA KEV catalog
Sourced from public security reporting — each date is when it was published, not when it happened. 5 further articles named this CVE in wider roundups without reporting it as a distinct event.
What it is
From the CVE record
A remote command injection vulnerability exists in the Barracuda Email Security Gateway (appliance form factor only) product effecting versions 5.1.3.001-9.2.0.006. The vulnerability arises out of a failure to comprehensively sanitize the processing of .tar file (tape archives). The vulnerability stems from incomplete input validation of a user-supplied .tar file as it pertains to the names of the files contained within the archive. As a consequence, a remote attacker can specifically format these file names in a particular manner that will result in remotely executing a system command through Perl's qx operator with the privileges of the Email Security Gateway product. This issue was fixed as part of BNSF-36456 patch. This patch was automatically applied to all customer appliances.
In plain language
Written by AI from the recordThis is a serious flaw in Barracuda's Email Security Gateway appliance that attackers have already used to break in and run commands on the mail server, so if you run one of these appliances you need to act now.
Unauthenticated remote command injection in Barracuda Email Security Gateway (appliance form factor, versions 5.1.3.001–9.2.0.006) via insufficiently sanitized .tar filenames processed through Perl's qx operator, allowing arbitrary OS command execution with the product's service privileges.
If you're affected
- Full mail server takeover
- Email and attachment data exposure
- Lateral movement into internal network
- Operational email outage
- Regulatory/compliance exposure from breach
Exploitation
Where each signal puts this CVE on the scale from published to confirmed exploited.
- CISA KEV
Listed as exploited in the wild since 2023-05-26.
US federal agencies must remediate by 2023-06-16.
Apply updates per vendor instructions.
- Public exploits
No public exploit or proof of concept found in the sources we track.
- EPSS
87% chance of exploitation activity in the next 30 days, which ranks it in the 99th percentile of scored CVEs.
Exploit Prediction Scoring System, FIRST.org. A probability, not a confirmation.
Lifecycle
12 events over 1128 days, from the signal feeds we watch.
- OpenVAS check added
- EPSS band changecritical → high
- EPSS band changehigh → critical
- EPSS band changecritical → high
- EPSS band changehigh → critical
- Patch availableworkaround available, record updated
Affected products
- Barracuda Email Security GatewaySecurity Products / siem-soar
- email security gateway 300 firmwareSecurity Products / siem-soar
- email security gateway 400 firmwareSecurity Products / siem-soar
- email security gateway 600 firmwareSecurity Products / siem-soar
- email security gateway 800 firmwareSecurity Products / siem-soar
- email security gateway 900 firmwareSecurity Products / siem-soar
- Email Security Gateway 300Networking Infrastructure / firewall
- Email Security Gateway 400Networking Infrastructure / firewall
- Email Security Gateway 600Networking Infrastructure / firewall
- Email Security Gateway 800Networking Infrastructure / firewall
- Email Security Gateway 900Networking Infrastructure / firewall
Technical detail
CVSS 3.1 vector
Open in the CVSS calculatorCVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
Scored 9.4 by NVD.
How it is reached
- Attack Vector NetworkExploitable remotely over the network without any special conditions
- Attack Complexity LowNo special conditions — the attack can be reliably reproduced
- Privileges Required NoneNo authentication required — anyone can exploit this
- User Interaction NoneNo user interaction needed — fully automated exploitation
Scope
- Scope UnchangedImpact is limited to the vulnerable component itself
Impact if exploited
- Confidentiality HighTotal information disclosure — all data in the component is compromised
- Integrity HighTotal loss of integrity — attacker can modify any data in the component
- Availability LowReduced performance or intermittent disruption of service
Weaknesses
ATT&CK techniques
Mapped from the weaknesses above (CWE to ATT&CK), not observed in attacks.
Sources
References in the record
- status.barracuda.com/incidents/34kx82j5n4q9&
- barracuda.com/company/legal/esg-vulnerability
- cybergeeks.tech/a-technical-analysis-of-the-saltwater-backdoor-used-in-barracuda-0-day-vulnerability-cve-2023-2868-exploitation/
And 3 more references. See all after sign-in
In the news
- Hackers now exploit critical Barracuda ESG flaws to gain root access
- Experts Demonstrate Barracuda Email Security Gateway Chain Enabling Root Access Without Login
- Barracuda Networks is your new best friend (Barracuda Email Security Gateway Pre-Auth Remote Root RCE CVE-2026-116606 / CVE-2026-111560)
- Barracuda ESG Authentication Bypass Flaw Opens Path to Root
- Barracuda warns of critical flaws allowing root access to devices
- Linux Backdoors Impersonate Email Security Tools to Evade Detection in Korea and Taiwan
Watch the software you run.
My Stack ranks new CVEs for your products by real-world exploitation, so the next exploited one reaches you without reading every advisory.
We'll flag the next CVE, public exploit or patch for Barracuda, not every advisory. This one: actively exploited.
A free account adds
- The full version matrix and every affected product
- Exploit links, proofs of concept and Metasploit modules
- Email alerts for the products you watch
- The same data over REST API, MCP and CLI