CVE-2023-2868: Remote Code injection in Barracuda Email Security Gateway

CVE-2023-2868 affects 20 listed versions of Barracuda Networks Email Security Gateway in the Dawnsentry catalogue. It is known to be exploited in the wild.

9.8CVSS critical
In CISA's KEV catalogue since 2023-05-26exploitation
88%EPSS (next 30 days)
24 May 2023published

Affected products and versions

The versions in the Dawnsentry catalogue this CVE affects, judged from the vendor's own advisory where there is one, otherwise from the CVE record and NVD, as each version's own page says.

Barracuda Networks Email Security Gateway

20 of 40 listed versions are affected. Fixed in 9.2.0.006. The newest release, 9.4.0.030, is not affected.

9.1.0.002 9.1.0.001 9.0.0.005 9.0.0.004 9.0.0.003 9.0.0.002 8.2.0.002 8.2.0.001 8.1.0.005 8.1.0.004 8.1.0.003 8.1.0.002 8.0.4.002 8.0.4.001 8.0.3.004 8.0.3.003 8.0.3.002 8.0.1.001 8.0.0.007 8.0.0.005

What it is

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.

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H (NVD)

Published by Google on 24 May 2023. Last changed 17 June 2026. Exploit code is public (Metasploit or Nuclei).

Sources

Check one version you run: look CVE-2023-2868 up, or pick a product and version in the quick lookup.

Updated 2 December 2026.