Skip to content
skopnix

CVE-2023-2868 · Published 24 May 2023

Barracuda Networks Email Security Gateway (ESG) Appliance

On CISA's KEV list 2 days after disclosure; 5 public exploits; 1 attacker cited in reports.

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

CISA required action (federal due date 16 Jun 2023): Apply updates per vendor instructions.

Signals

KEV, exploited in the wild
yes, added 26 May 2023, due 16 Jun 2023
EPSS, 30-day forecast
87%, 100th percentile (as of 18 Nov 2026)
CVSS, NVD
not stated
Internet exposure
not stated

KEV is an observation, EPSS a forecast; KEV outranks it. No score published by NVD.

Timeline 24 May 2023 to today

984 days from the first proof of concept to the Metasploit module
20242025Disclosed 24 May 2023KEV 26 May 2023First PoC 20 Jun 2023Metasploit 28 Feb 2026today
  1. Disclosed
  2. KEV+2 d
  3. First PoC+25 d
  4. Metasploit+984 d

984 days from the first proof of concept to the Metasploit module

Who exploits it 7 citations

  1. UNC4841
    1. “CVE-2023-2868 & UNC4841”

      cited as exploiting · sansorg.egnyte.com ↗ · 17 Oct 2026

    2. “SLIME 57 (aka. UNC4841) compromised Barracuda ESG (E-mail Security Gateway) against Japan Government & Taiwan Research Institute to retrieve mail content such as attachment. •CVE-2023-2868: Command injection during unpacking attachment”

      cited as exploiting · i.blackhat.com ↗ · 17 Oct 2026

    3. “Since our initial blog post, Mandiant has assembled and analyzed an exhaustive timeline of all identified UNC4841 activity observed at victims impacted by the successful exploitation of CVE-2023-2868.”

      cited as used in a campaign · cloud.google.com ↗ · 17 Oct 2026

    4. “Following up on earlier research into the exploitation of a remote command injection vulnerability affecting the Barracuda Email Security Gateway (ESG) appliance ( CVE-2023-2868 ) by UNC4841”

      cited as exploiting · ics-cert.kaspersky.com ↗ · 17 Oct 2026

    5. “exploitation of a remote command injection vulnerability affecting the Barracuda Email Security Gateway (ESG) appliance (CVE-2023-2868) by UNC4841”

      cited as exploiting · securelist.com ↗ · 17 Oct 2026

    6. + 2 more citations not shown

Each actor is cited by the quoted source, linked under the quote. A citation is that source's claim, not our confirmation.

Linked 5 in our graph

Exploited by

  1. actorUNC4841

Rules that detect it

  1. public ruleAPT_MAL_UNC4841_SEASPY_Jun23_1
  2. public ruleAPT_UNC4841_ESG_Barracuda_CVE_2023_2868_Forensic_Artifacts_Jun23_1
  3. public ruleMAL_ELF_ReverseShell_SSLShell_Jun23_1
  4. public ruleMAL_ELF_SALTWATER_Jun23_1

Links our graph holds for this CVE, strongest first. The same data is in the graph API.

Indicators none tied yet

No threat feed has tied an indicator to this CVE yet. Checked every six hours.

On the wire 1 dispatch

  1. Barracuda warns of active exploitation of two recently patched ESG vulnerabilities · KEV

Public exploit code 5 known · links only

GitHub PoCs 4Metasploit 1Exploit-DB 0

GitHub PoCs, by trust then stars4

  1. created 20 Jun 2023

  2. created 30 Jul 2023

  3. krmxd/CVE-2023-2868Not checked0 stars

    created 25 Aug 2023

  4. first seen by skopnix 18 Oct 2026

Fake proof-of-concept repositories have been used to deliver malware to the researchers who run them. The trust verdict is our engine's heuristic over the repository (account age, what it ships, how its stars arrived); it is a reason to read the code first, not a finding about its author.

Metasploit1

  1. This module exploits CVE-2023-2868, a command injection vulnerability in Barracuda Email Security Gateway (ESG) appliances. The vulnerability exists in how the ESG processes TAR file attachments - filenames containing shell metacharacters (backticks) are passed directly to shell commands during extraction, allowing remote command execution. The exploit sends an email with a specially crafted TAR attachment where the filename contains a

    ruby · first seen by skopnix 18 Oct 2026

References

Watch this one?

KEV additions reach Telegram and the KEV-only RSS as they land.

Telegram ↗KEV RSSAPIStack check