Lucene search
+L

Libraesva ESG 4.5 < 5.0.31 / 5.1.20 / 5.2.31 / 5.3.16 / 5.4.8 / 5.5.7 Command Injection (CVE-2025-59689)

🗓️ 08 Jan 2026 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 4 Views

Libraesva ESG is vulnerable to CVE-2025-59689 command injection via unsanitized removal from archive attachments.

Related
Refs
Code
#%NASL_MIN_LEVEL 80900
##
# (C) Tenable, Inc.
##

include('compat.inc');

if (description)
{
  script_id(282475);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/02/17");

  script_cve_id("CVE-2025-59689");
  script_xref(name:"CISA-KNOWN-EXPLOITED", value:"2025/10/20");

  script_name(english:"Libraesva ESG 4.5 < 5.0.31 / 5.1.20 / 5.2.31 / 5.3.16 / 5.4.8 / 5.5.7 Command Injection (CVE-2025-59689)");

  script_set_attribute(attribute:"synopsis", value:
"The remote Libraesva ESG host is affected by a command injection vulnerability.");
  script_set_attribute(attribute:"description", value:
"The version of Libraesva ESG installed on the remote host is affected by a command injection flaw as 
referenced in the CVE-2025-59689 advisory. The vulnerability is triggered by an improper sanitization 
mechanism when removing active code from specific compressed archive formats.

An attacker can exploit this by sending a malicious email containing a specially crafted compressed 
attachment. Successful exploitation allows the potential execution of arbitrary shell commands under 
a non-privileged user account. This vulnerability has been identified as being used in at least one 
confirmed incident by a foreign hostile state entity.

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://docs.libraesva.com/knowledgebase/security-advisory-command-injection-vulnerability-cve-2025-59689/
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?6e6329f7");
  script_set_attribute(attribute:"solution", value:
"Update Libraesva ESG to version 5.0.31, 5.1.20, 5.2.31, 5.3.16, 5.4.8, 5.5.7 or later.");
  script_set_cvss3_base_vector("CVSS:3.0/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N");
  script_set_cvss3_temporal_vector("CVSS:3.0/E:F/RL:O/RC:C");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-59689");

  script_set_attribute(attribute:"exploitability_ease", value:"Exploits are available");
  script_set_attribute(attribute:"exploit_available", value:"true");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/09/19");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/09/19");
  script_set_attribute(attribute:"plugin_publication_date", value:"2026/01/08");

  script_set_attribute(attribute:"plugin_type", value:"remote");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:libraesva:email_security_gateway");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"CGI abuses");

  script_copyright(english:"This script is Copyright (C) 2026 and is owned by Tenable, Inc. or an Affiliate thereof.");

  script_dependencies("libraesva_email_security_gateway_detect.nbin");
  script_require_ports("Services/www", 443);

  exit(0);
}


include('vcf.inc');
include('http.inc');

var port = get_http_port(default:443);

var app_info = vcf::get_app_info(app:'Libraesva Email Security Gateway', port:port, webapp:TRUE);

var constraints = [
  {'min_version':'4.5', 'fixed_version' : '5.0','fixed_display':'see vendor advisory'},
  {'min_version':'5.0', 'fixed_version':'5.0.31'},
  {'min_version':'5.1', 'fixed_version':'5.1.20'},
  {'min_version':'5.2', 'fixed_version':'5.2.31'},
  {'min_version':'5.3', 'fixed_version':'5.3.16'},
  {'min_version':'5.4', 'fixed_version':'5.4.8'},
  {'min_version':'5.5', 'fixed_version':'5.5.7'}
];

vcf::check_version_and_report(
    app_info:app_info,
    constraints:constraints,
    severity:SECURITY_WARNING
);

Data

Build on a solid foundation with Vulners data

We provide the essential building blocks for cybersecurity solutions with comprehensive, structured, and constantly updated vulnerability and exploits data

Api

Power your application with Vulners API

The Vulners REST API offers reliable, high-performance access to vulnerability intelligence, with 99.9% SLA uptime and CDN-backed data delivery for seamless global access

App

Assess and manage vulnerabilities with Vulners tools

Built on top of Vulners' database and SDK, end-user solutions give security professionals and developers lightweight and powerful tools for vulnerability remediation

17 Feb 2026 00:00Current
9.1High risk
Vulners AI Score9.1
CVSS 3.16.1
EPSS0.01864
SSVC
4