Barracuda Email Security Gateway
Remote Code injection in Barracuda Email Security Gateway
Edge device · Mail / web gatewayknown edge product: Barracuda Barracuda Email Security Gateway Remote Code (high confidence)
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.
Timeline
Days relative to CVE publicationFirst public PoC 27 days after publication; added to CISA KEV 2 days after publication. First PoC: cfielding-r7/poc-cve-2023-2868 (created 20 Jun 2023, found by us: backfilled).
PoC repositories
Found on GitHub.1 PoCs · 1 pending · 2 informational · 1 suspicious or fake
PoCs 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cfielding-r7/poc-cve-2023-2868 | 20 Jun 2023 +27 d | 11 | PoC |
Pending 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| hheeyywweellccoommee/CVE-2023-2868-lchvp | unknown | 0 | Pending · repository unavailable (HTTP 404) |
Informational 2
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| cashapp323232/CVE-2023-2868CVE-2023-2868 | 30 Jul 2023 +67 d | 0 | Informational · write-up |
| krmxd/CVE-2023-2868 | 25 Aug 2023 +93 d | 0 | Informational · write-up |
Suspicious or fake 1
| Repository | Created | Stars | Assessment |
|---|---|---|---|
| getdrive/PoC | 5 Aug 2023 +73 d | 74 | Fake |
Only PoCs count toward the first-PoC date and the characteristics below. Do not run PoC code from unknown sources.
Other public exploits
Exploit-DB, Metasploit and nuclei count as public PoCs. Exploit-tagged references from the CVE record and NVD are links only. None of these are analysed by us.| Source | Title | Published | Found by us |
|---|---|---|---|
| Metasploit | Metasploit exploit: Barracuda ESG TAR Filename Command Injection (exploit/linux/smtp/barracuda_esg_tarfile_rce) | 28 Feb 2026 | 14 Nov 2026 |