Remote code execution in Barracuda Email Security Gateway appliance (ESG)

Published: 2023-05-25
Risk Critical
Patch available YES
Number of vulnerabilities 1
CVE-ID CVE-2023-2868
Exploitation vector Network
Public exploit This vulnerability is being exploited in the wild.
Vulnerable software
Email Security Gateway (ESG)
Server applications / DLP, anti-spam, sniffers

Vendor Barracuda Networks

Security Bulletin

This security bulletin contains one critical risk vulnerability.

1) OS Command Injection

EUVDB-ID: #VU76500

Risk: Critical


CVE-ID: CVE-2023-2868

CWE-ID: CWE-78 - Improper Neutralization of Special Elements used in an OS Command ('OS Command Injection')

Exploit availability: No


The vulnerability allows a remote attacker to execute arbitrary shell commands on the target system.

The vulnerability exists due to improper input validation when processing .tar archives. A remote unauthenticated attacker can send a specially crafted archive to the appliance and execute arbitrary Perl commands on the target system.

Successful exploitation of this vulnerability may result in complete compromise of vulnerable system.

Note, the vulnerability is being actively exploited in the wild.


Install updates from vendor's website.

The vendor has released the BNSF-36456 patch to address this vulnerability.

Vulnerable software versions

Email Security Gateway (ESG): 5.1.3 - 9.2

CPE2.3 External links

Q & A

Can this vulnerability be exploited remotely?

Is there known malware, which exploits this vulnerability?