draft preview · not published · notes marked "Before launch" will not appear on the live site

Home / Known exploited

CVE-2023-2868: Barracuda Networks ESG Appliance Improper Input Validation Vulnerability

Exploited in attacksPublic exploit code

Yes. CVE-2023-2868 has been used in real attacks. CISA added it to its Known Exploited Vulnerabilities catalog on 26 May 2023. Public exploit code is available: 1 Metasploit module. EPSS puts the chance of further exploitation attempts in the next 30 days at 88.4%.

Exploited in real attacks
Yes. On CISA's exploited list since 26 May 2023
Used in ransomware
Not known
Public exploit code
1 Metasploit module
Chance of exploitation (EPSS)
88.4% in the next 30 days, higher than 99.8% of scored vulnerabilities. Scored 5 December 2026
Severity (CVSS)
9.4 Critical (version 3.1)
Affects
Barracuda Networks Email Security Gateway (ESG) Appliance
Type of flaw
Improper input validation (CWE-20)
Published
24 May 2023
US federal patch deadline
16 June 2023

What it is

Barracuda Email Security Gateway (ESG) appliance contains an improper input validation vulnerability of a user-supplied .tar file, leading to remote command injection.

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.

Description from the CVE record.

Is CVE-2023-2868 being exploited?

Yes. CISA lists a vulnerability as known exploited only when it has reliable evidence of exploitation in real attacks, and it added CVE-2023-2868 on 26 May 2023. That was 2 days after the CVE was published.

Public exploit code

These are public references that anyone, including an attacker, can find. Their existence lowers the skill needed to use the flaw.

SourceEntryPublished
MetasploitBarracuda ESG TAR Filename Command Injection

Affected products

From the CVE record. Check the vendor advisory for the full list of fixed versions.

What to do

CISA's required action: Apply updates per vendor instructions.

Because this flaw has already been used in attacks, patching is only half the job. If an affected system was reachable while unpatched, check it for signs of compromise before trusting it again.

How to check whether you are exposed

  1. Find every copy. List each place Barracuda Networks Email Security Gateway (ESG) Appliance runs, including test systems and anything set up outside IT.
  2. Compare versions. Match what you find against the affected versions in the vendor advisory.
  3. Check reachability. An affected system that faces the internet is urgent; one reachable only from inside still matters once an attacker has a foothold.
  4. Assume low-skill attackers can use it. A Metasploit module exists, which packages the attack into a standard tool.

HackDrill

Find out whether this is reachable in your systems.

A version number tells you a system is affected. A hacking drill tells you whether an attacker can actually get in through a flaw like this one in Email Security Gateway (ESG) Appliance. HackDrill's AI agents attack your product, infrastructure, network and cloud the way modern attackers do, and show you the real, exploitable gaps so you can fix them first.

Other tracked vulnerabilities in Barracuda Networks products

CVEWhat it affectsStatusEPSSPublished
CVE-2026-116606Barracuda Networks Barracuda Email Security Gateway (ESG)Public exploit77.1%2 November 2026
CVE-2026-111560Barracuda Networks Multiple ProductsNo public exploit found66.5%2 November 2026

Sources

Machine-readable: /api/cve/CVE-2023-2868.json