CVE-2025-59689 Libraesva Email Security Gateway Command Injection
Attackers can execute arbitrary commands via malicious compressed email attachments in Libraesva ESG, requiring an upgrade to patched versions.
- Exploited in the wild
- Since 29 Sep 2025
- Login needed
- Not needed
- Attackable
- Over the internet
- Victim action needed
- A user has to click or open something
- Fix
- None listed
What is CVE-2025-59689?
CVE-2025-59689 is a medium-severity command injection vulnerability in Libraesva Email Security Gateway, published on 19 Sep 2025. An attacker can exploit it over the internet without logging in, and only if a user opens a file or follows a link.
Official description
Libraesva ESG 4.5 through 5.5.x before 5.5.7 allows command injection via a compressed e-mail attachment. For ESG 5.0 a fix has been released in 5.0.31. For ESG 5.1 a fix has been released in 5.1.20. For ESG 5.2 a fix has been released in 5.2.31. For ESG 5.4 a fix has been released in 5.4.8. For ESG 5.5. a fix has been released in 5.5.7.
Weakness: CWE-77
Which versions are affected by CVE-2025-59689?
It affects 1 product.
Products include Libraesva Email Security Gateway.
How do I fix CVE-2025-59689?
No fix has been published for CVE-2025-59689 yet. Limit exposure of the affected software until one is available. US federal agencies must fix it by 20 Oct 2025.
Upgrade, and pass arguments to programs as a list instead of through a shell. More about Command injection.
Is CVE-2025-59689 being exploited?
Yes. Attackers have exploited CVE-2025-59689 in the wild since at least 29 Sep 2025.
Sources
Also known as GHSA-363h-22w6-hcrm.