Actively exploited vulnerability / CVE-2023-2868
Barracuda Email Security Gateway: an attacker can take control of the appliance
This vulnerability lets a remote attacker run commands on the Barracuda appliance that filters your email, with the product's own privileges. Because your company's mail passes through this device, an attacker could reach messages and use the appliance as a way into your network. It is on the lists of vulnerabilities used in real attacks kept by CISA, the US cybersecurity agency, and by ENISA, the EU cybersecurity agency.
- Identifier
- CVE-2023-2868 · EUVD-2023-34316
- Severity
- Critical (9.4/10)
- On the CISA list (US)
- yes, since 26 May 2023
- Deadline given to US federal agencies
- 16 June 2023
- On the ENISA list (EU)
- yes
- Probability of exploitation (EPSS)
- 45.9% (FIRST's estimate for the next 30 days)
Does it concern you?
Barracuda Email Security Gateway is a physical appliance that filters incoming and outgoing email, blocking spam and dangerous attachments. It is typically used by companies that run their own mail server; only the appliance form is affected, models 300, 400, 600, 800 and 900.
Firmware versions from 5.1.3.001 up to and including 9.2.0.006 are affected. The version is shown in the appliance's web administration interface; if you have no access, ask the person or company that handles your IT.
Affected products and versions
- Barracuda Networks Email Security Gateway (ESG) Appliance
- email security gateway 300 firmware: from 5.1.3.001 up to and including 9.2.0.006
- email security gateway 400 firmware: from 5.1.3.001 up to and including 9.2.0.006
- email security gateway 600 firmware: from 5.1.3.001 up to and including 9.2.0.006
- email security gateway 800 firmware: from 5.1.3.001 up to and including 9.2.0.006
- email security gateway 900 firmware: from 5.1.3.001 up to and including 9.2.0.006
What to do
The vendor fixed the issue with patch BNSF-36456, which was applied automatically to all customer appliances. Ask whoever manages the appliance to confirm the patch is installed and follow Barracuda's instructions.
The official description
The text below is the description from the public database.
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.
Sources
- CVE Program
- Vendor advisory: status.barracuda.com
- Vendor advisory: nvd.nist.gov
- GitHub Advisory Database
- NVD
- ENISA EUVD
Data from the public CVE and NVD databases, the CISA KEV and ENISA EU KEV lists and FIRST's EPSS score. The explanations are ours, written from that data. Last updated: 29 November 2026.