Lucene search
K

Elasticsearch 7.0.x <= 7.17.29 / 8.0.x < 8.18.8 / 8.19.x < 8.19.5 / 9.0.x < 9.0.8 / 9.1.x < 9.1.5 (ESA-2025-18)

🗓️ 10 Oct 2025 00:00:00Reported by TenableType 
nessus
 nessus
🔗 www.tenable.com👁 19 Views

Elasticsearch older than 8.18.8, 8.19.5, 9.0.8, or 9.1.5 is vulnerable to log leakage during reindex auditing (CVE-2025-37727).

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

include('compat.inc');

if (description)
{
  script_id(269983);
  script_version("1.2");
  script_set_attribute(attribute:"plugin_modification_date", value:"2026/01/21");

  script_cve_id("CVE-2025-37727");
  script_xref(name:"IAVA", value:"2025-A-0725-S");

  script_name(english:"Elasticsearch 7.0.x <= 7.17.29 / 8.0.x < 8.18.8 / 8.19.x < 8.19.5 / 9.0.x < 9.0.8 / 9.1.x < 9.1.5 (ESA-2025-18)");

  script_set_attribute(attribute:"synopsis", value:
"The remote host is missing a security update.");
  script_set_attribute(attribute:"description", value:
"The version of Elasticsearch installed on the remote host is prior to 8.18.8, 8.19.5, 9.0.8, or 9.1.5. It is,
therefore, affected by a vulnerability as referenced in the ESA-2025-18 advisory.

  - Insertion of sensitive information in log file in Elasticsearch can lead to loss of confidentiality under
    specific preconditions when auditing requests to the reindex API. (CVE-2025-37727)

Note that Nessus has not tested for this issue but has instead relied only on the application's self-reported version
number.");
  # https://discuss.elastic.co/t/elasticsearch-8-18-8-8-19-5-9-0-8-9-1-5-security-update-esa-2025-18/382453
  script_set_attribute(attribute:"see_also", value:"http://www.nessus.org/u?4e06e332");
  script_set_attribute(attribute:"solution", value:
"Upgrade to Elasticsearch version 8.18.8, 8.19.5, 9.0.8, or 9.1.5 or later as appropriate for your release branch.");
  script_set_attribute(attribute:"agent", value:"unix");
  script_set_cvss_base_vector("CVSS2#AV:A/AC:L/Au:S/C:C/I:N/A:N");
  script_set_cvss3_base_vector("CVSS:3.0/AV:A/AC:L/PR:L/UI:N/S:U/C:H/I:N/A:N");
  script_set_attribute(attribute:"cvss_score_source", value:"CVE-2025-37727");

  script_set_attribute(attribute:"vuln_publication_date", value:"2025/10/06");
  script_set_attribute(attribute:"patch_publication_date", value:"2025/10/06");
  script_set_attribute(attribute:"plugin_publication_date", value:"2025/10/10");

  script_set_attribute(attribute:"plugin_type", value:"combined");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:elasticsearch:elasticsearch");
  script_set_attribute(attribute:"cpe", value:"cpe:/a:elastic:elasticsearch");
  script_set_attribute(attribute:"stig_severity", value:"II");
  script_set_attribute(attribute:"thorough_tests", value:"true");
  script_end_attributes();

  script_category(ACT_GATHER_INFO);
  script_family(english:"Misc.");

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

  script_dependencies("elasticsearch_detect.nbin", "elastic_elasticsearch_nix_installed.nbin");
  script_require_keys("installed_sw/Elasticsearch");

  exit(0);
}

include('vcf.inc');

var app_info = vcf::get_app_info(app:'Elasticsearch');

# no patched version for 7.x branch yet
var constraints = [
  { 'min_version' : '7.0.0', 'max_version' : '7.17.29', 'fixed_display' : 'Refer to vendor advisory' },
  { 'min_version' : '8.18.0', 'fixed_version' : '8.18.8' },
  { 'min_version' : '8.19.0', 'fixed_version' : '8.19.5' },
  { 'min_version' : '9.0.0', 'fixed_version' : '9.0.8' },
  { 'min_version' : '9.1.0', 'fixed_version' : '9.1.5' }
];

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

21 Jan 2026 00:00Current
8.1High risk
Vulners AI Score8.1
CVSS 3.15.7
EPSS0.00225
SSVC
19