CVE-2023-2868
CVE-2023-2868 — Barracuda Networks ESG Appliance Improper Input Validation Vulnerability
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.
Published Updated Sources: NVD, CISA, FIRST EPSS, SOCRadar CTI
Triage
Is it exploited, how likely is exploitation, what does it touch, and how severe do the scoring sources call it.
Exploitation
Confirmed
CISA KEV, listed May 26, 2023
EPSS
46%
ahead of 99.1% of scored CVEs
CVSS base
9.8
critical · 2 sources
CISA SSVC assessment
Three decision points CISA publishes for the CVEs it assesses · SSVC 2.0.3. A stakeholder decision, not a severity score.
Exploitation
Active
none · proof-of-concept · active
Automatable
Yes
can an attacker script all four kill-chain steps
Technical impact
Total
partial · total control of the vulnerable component
Remediation
The vendor's own words where we have them.
Upgrade Email Security Gateway 300 Firmware to a fixed release. Apply vendor patches per advisory and restrict external exposure of the affected component until patched.
CISA required action
Apply updates per vendor instructions.
Federal deadline Jun 16, 2023 — passed 1,267 days ago
First 24 hours
Ordered from the record's own fields — exposure first, because you cannot patch what you have not found.
- Identify exposed assets running affected vendor/product/version combinations.
- Treat as emergency remediation because CISA KEV status is present.
- Search available logs for exploit probes, errors, authentication anomalies, or suspicious child processes matching the vulnerability class.
Affected scope
Vendor, product and version as the advisories word them.
| Vendor | Product | Versions | Status |
|---|---|---|---|
| Barracuda | email security gateway 300 firmware | * | Vulnerable |
| Barracuda | email security gateway 400 firmware | * | Vulnerable |
| Barracuda | email security gateway 600 firmware | * | Vulnerable |
| Barracuda | email security gateway 800 firmware | * | Vulnerable |
| Barracuda | email security gateway 900 firmware | * | Vulnerable |
Attack characteristics
The CVSS vector, decoded. It describes the attack, not your exposure to it.
Availability
High
Confidentiality
High
Integrity
High
Scope
Unchanged
Attack Complexity
Low
Attack Vector
Network
Privileges Req
None
User Interaction
None
Every base score collected
Sources score independently and disagree; each row says who scored it and under which version.
| Score | Version | Severity | Expl. | Impact | Source |
|---|---|---|---|---|---|
| 9.4 | CVSS 3.1 | critical | 3.9 | 5.5 | google.com (CNA) |
| 9.8 | CVSS 3.1 | critical | 3.9 | 5.9 | NVD |
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:L
What this weakness leads to
MITRE's own consequences and mitigations for the weakness class — the authority's wording, not guidance derived from the CVSS vector.
CWE-20 · Improper Input Validation
- DoS: Crash, Exit, or Restart
- DoS: Resource Consumption (CPU)
- DoS: Resource Consumption (Memory)
- Read Memory
Mitigation: Consider using language-theoretic security (LangSec) techniques that characterize inputs using a formal language and build recognizers for that language. This effectively requires parsing to be a distinct layer that effectively enforces a boundary between raw input and internal data representations, instead of allowing parser code to be scattered throughout the program, where it could be subject to errors or inconsistencies that create weaknesses. [REF-1109] [REF-1110] [REF-1111]
CWE-77 · Improper Neutralization of Special Elements used in a Command ('Command Injection')
- Execute Unauthorized Code or Commands
Mitigation: If at all possible, use library calls rather than external processes to recreate the desired functionality.
Weakness & attack patterns
- CWE-20Improper Input Validation
- CWE-77Command Injection
Attack patterns reported against this CVE. The ATT&CK techniques below are inferred from its weakness class.
- T1562.003Impair Defenses: Impair Command History Logging
- T1574.006Hijack Execution Flow: Dynamic Linker Hijacking
- T1574.007Hijack Execution Flow: Path Interception by PATH Environment Variable
CISA KEV details
CISA lists a CVE here once it has evidence of exploitation against real targets.
Listed
May 26, 2023
Federal deadline
Jun 16, 2023
passed 1,267 days ago
Ransomware use
Unknown
CISA records ransomware use only for campaigns it has confirmed, so “Unknown” means unrecorded, not ruled out. The deadline binds US federal agencies; for everyone else it is a date to argue against.
Public exploit
Capability, not use: code existing is a different claim from anyone running it.
PoC repos
13
1 of the 5 sampled are weaponized
Exploit entries
7
Exploit-DB and CTI exploit indexes
Malware
Families a CTI source ties to this CVE. One named, with the total it tracks.
Families tracked
5
Named
Akira
akira, elf.akira, win.akira
Social mentions
Posts naming this CVE. Attention, not evidence of exploitation — it spikes on disclosure and decays whether or not anything is exploited.
2/ Firewalls/VPNs: Fortinet CVE-2022-42475, Palo Alto CVE-2024-3400. Both exploited for RCE pre auth. Barracuda ESG CVE-2023-2868: malicious email attachments compromised the security gateway. Barracuda's advice? Replace the appliance.
@julianor· Nov 6, 2026
Barracuda pushed a patch for CVE-2023-2868 in May 2023. It worked. Customers still had to replace the entire appliance anyway. Here's why the patch wasn't enough. https://t.co/GIA791Uq0J
@patchdayalert· Jun 24, 2026
Metasploit adds 3 new exploit modules including CVE-2026-23767 (ESC/POS printer RCE), CVE-2025-12548 (Eclipse Che unauthenticated RCE), and CVE-2023-2868 (Barracuda ESG command injection). Enhanced NTLM relay compatibility with Linux smbclient. #DFIR_Radar https://t.co/kTThThSAHp
@DFIR_Radar· Mar 28, 2026
The latest #Metasploit Wrapup is here! 🎉 This week brings enhanced SMB NTLM relaying for better client compatibility (including smbclient), plus new modules for RCE in Eclipse Che (CVE-2025-12548), Barracuda ESG command injection (CVE-2023-2868), and an ESC/POS printer injector.
@metasploit· Mar 27, 2026
Early 2026 reports show rising cloud compromises via misconfigured services and CVE-2023-3519, CVE-2023-2868, CVE-2021-43798 exploitation, expanding victim impact across sectors. #CloudSecurity https://t.co/JtGxVn3keB
@threatcluster· Feb 19, 2026
Detection
Read off the CVSS vector and the weakness class. Starting points, not rules we have tested.
- Prioritize edge telemetry for network-reachable Email Security Gateway 300 Firmware, Email Security Gateway 400 Firmware, Email Security Gateway 600 Firmware, Email Security Gateway 800 Firmware, Email Security Gateway 900 Firmware.
- Monitor for scanner or exploit-pattern traffic after 20 public PoC repositories were reported.
Groups associated with this CVE
Groups reported in connection with this vulnerability. A reported association, not a confirmed observation of that group using it — and not scoped to any sector or campaign.
10 more threat groups on this CVEShowing 5 of 15 · Attribution, campaigns and the malware each one runsUnlock free- hostnamegesturefavour.com89
Maltrail Malware Feeds · Jun 17, 2023
- ip45.86.229.11184
Threatview.io Feeds · Jul 8, 2026
- ip137.175.53.17054
Maltrail Malware Feeds · Jun 1, 2023
- hostnamebestfindthetruth.com66
Maltrail Malware Feeds · Jun 17, 2023
- ip137.175.78.6653
Maltrail Malware Feeds · Jun 17, 2023
5 more indicators on this CVEShowing 5 of 10 · Hashes, addresses and domains from a live threat exchangeUnlock freeTimeline
What happened to this CVE, newest first — with the readings a source repeats on a schedule counted underneath rather than listed.
- 2026
Added · CVSS 3.1 9.8 (AV:N)
Jun 17, 2026 · NVD
- 2023
Added to CISA KEV catalog
May 26, 2023 · CISA
Initial · CVE published
May 24, 2023 · NVD
Source activity
Readings a source repeats on a schedule, counted rather than listed.
- 19×TweetsDec 29, 2023 – Nov 7, 2026 · SOCRadar CTI
- 5×ModifiedOct 21, 2025 – Oct 24, 2025 · SOCRadar CTI
- 4×SVRS was changedMar 28, 2026 – Apr 2, 2026 · SOCRadar CTI
- 1×CVE appeared in the Cve Trends.Mar 28, 2026 · SOCRadar CTI
References
4 on the record
- status.barracuda.com/incidents/34kx82j5n4q9
Vendor Advisory, NIST
- www.barracuda.com/company/legal/esg-vulnerability
Mitigation, Vendor Advisory, NIST
- www.cisa.gov/known-exploited-vulnerabilities-catalog?field_cve=CVE-2023-2868
US Government Resource
- nvd.nist.gov/vuln/detail/CVE-2023-2868
Vendor Advisory
Coverage
10 stories from the feeds we poll
Barracuda Email Gateway Flaws Exploited, Singapore Issues Patch Alert - SQ Magazine
sqmagazine.co.uk · Nov 16, 2026
Barracuda Networks Issues Urgent Security Warning Over Critical Vulnerabilities
cybersafe.news · Nov 4, 2026
Critical Barracuda Security Flaws Could Let Hackers Bypass Authentication and Gain Root Access
cybersecuritynews.com · Nov 4, 2026
Barracuda warns of critical flaws allowing root access to devices - BleepingComputer
bleepingcomputer.com · Nov 3, 2026
Stealth Mode: Chinese Cyber Espionage Actors Continue to Evolve Tactics to Avoid Detection - Google Cloud
cloud.google.com · Jul 18, 2023
5 more reports on this CVEShowing 5 of 10 · Vendor research and security press coverageUnlock freeRelated CVEs
Same product first, then the same weakness or threat actor.
- CVE-2026-105134 Ahsay AhsayCBS Replication Receiver UpdateReceivers.do os command injectionCVSS 10.0 · CISA KEV
- CVE-2026-93952 Security Advisory 0183CVSS 10.0 · CISA KEV
- CVE-2026-34910 Ubiquiti UniFi OS Improper Input Validation VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2025-20393 Cisco Secure Email Gateway and Cisco Secure Email and Web Manager Remote Command Execution VulnerabilityCVSS 10.0 · CISA KEV
- CVE-2024-3400 PAN-OS: Arbitrary File Creation Leads to OS Command Injection Vulnerability in GlobalProtectCVSS 10.0 · CISA KEV
- CVE-2022-24086 Adobe Commerce and Magento Open Source Improper Input Validation VulnerabilityCVSS 10.0 · CISA KEV
Elsewhere on this site
- Barracudaevery CVE for this vendor
- email security gateway 300 firmwareevery page on this product
- email security gateway 400 firmwareevery page on this product
- May 2023what else CISA listed
- Remote Code Execsame class
- CWE-20other pages naming this weakness
Not in any source we poll
Listed rather than left blank: an empty field and an unmeasured one look identical on screen, and only one is a reason to look elsewhere.
- Only the 5 indicator(s) reported for this CVE are available; no packet-level or host-forensic artifacts supplied.
- No organization-specific asset inventory, compensating-control status, or patch deployment evidence supplied.
- No exploit packet captures, log samples, or incident case IDs supplied.
Answered from this record1
What should defenders know first?
CVE-2023-2868 is Barracuda Networks ESG Appliance Improper Input Validation Vulnerability, a critical vulnerability affecting Email Security Gateway 300 Firmware, Email Security Gateway 400 Firmware, Email Security Gateway 600 Firmware, Email Security Gateway 800 Firmware, Email Security Gateway 900 Firmware from Barracuda. The current evidence lists it in CISA KEV, and the exploit status is: Yes: CISA KEV signal present. Public exploit evidence is: 20 public PoC repositories reported; 1 marked weaponized in current dataset. The affected-version evidence is listed in the key facts and affected products tables. Defenders should first verify whether exposed or business-critical assets run those versions, then apply vendor patches or mitigations, restrict reachable attack surface, and preserve logs for detection review. CVSS 9.8 describes technical severity, while EPSS 46% helps estimate near-term exploit likelihood; neither replaces asset context. Unknown fields should remain explicit in tickets, and threat actor, IOC, victimology, or payload claims should not be added unless a cited source supports them. Monitor CISA KEV, vendor advisories, NVD changes, public PoC repositories, and internal telemetry for update triggers.