CVE-2023-2868
Remote Code injection in Barracuda Email Security Gateway
Mitigation
- Upgrade Barracuda Email Security Gateway to 9.2.0.006 or later.
Who should check
- Anyone running Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006
Vulnerability facts
- Affected
- Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006
- Fixed in
- Barracuda Email Security Gateway 9.2.0.006
- Exploited in the wild
- Yes: in CISA KEV since 2023-05-26; federal due date 2023-06-16
- Public exploit / PoC
- None known
- Remote exploitation
- Remote, no login needed
- CVSS
- 9.4 (v3.1, CNA)CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:LOpen in CVSS calculator
Show all 8 CVSS metrics
- Attack vector: Network
- Attack complexity: Low
- Privileges required: None
- User interaction: None
- Scope: Unchanged
- Confidentiality impact: High
- Integrity impact: High
- Availability impact: Low
- EPSS
- 45.90% chance of exploitation in 30 days (percentile 99, 2026-11-26)
- CWE
- CWE-20
- Modified
Description
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.
Affected and fixed versions
| Package / product | Affected | Fixed | Source |
|---|---|---|---|
| Barracuda Email Security Gateway | >= 5.1.3.001, < 9.2.0.006 | — | cvelist |
Timeline
- 2023-05-24 Published
- 2023-05-26 Added to CISA KEV (exploited in the wild)
- 2023-06-16 CISA remediation due date for US federal agencies
- 2026-06-17 Last modified
Check your systems with an agent
Paste this into Claude Code, Cursor or another coding agent. It only reads; it changes nothing.
Check whether anything I run is affected by CVE-2023-2868. Work read-only: do not install, upgrade, delete or change anything. Details: https://flawdb.com/CVE-2023-2868.md Affected: Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006 Fixed in: Barracuda Email Security Gateway 9.2.0.006 Steps: 1. Search this machine and project for Barracuda Email Security Gateway: dependency manifests and lockfiles, installed packages, container images and running services. 2. For each match, note the installed version and whether it is inside the affected range. 3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
References
Vendor advisories
FAQ
Is CVE-2023-2868 being exploited?
Yes. CISA lists CVE-2023-2868 in its Known Exploited Vulnerabilities catalog since 2023-05-26, which means attacks have been seen. No public exploit code is known. EPSS estimates a 45.90% chance of exploitation in the next 30 days (as of 2026-11-26).
How serious is CVE-2023-2868?
Critical: CVSS 9.4 (v3.1, scored by CNA). Remote, no login needed.
Which versions are affected by CVE-2023-2868?
Barracuda Email Security Gateway >= 5.1.3.001, < 9.2.0.006.
Is there a fix for CVE-2023-2868?
Yes. Fixed in Barracuda Email Security Gateway 9.2.0.006. Upgrade Barracuda Email Security Gateway to 9.2.0.006 or later.
How do I check if I'm affected by CVE-2023-2868?
Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.