Server-side Request Forgery (SSRF) Affecting org.elasticsearch.plugin:esql-datasource-s3 package, versions [9.5.0, 9.5.6)


Severity

Recommended
0.0
high
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.38% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGELASTICSEARCHPLUGIN-22896686
  • published25 Nov 2026
  • disclosed23 Nov 2026
  • creditUnknown

Introduced: 23 Nov 2026

NewCVE-2026-133935  (opens in a new tab)
CWE-918  (opens in a new tab)

How to fix?

Upgrade org.elasticsearch.plugin:esql-datasource-s3 to version 9.5.6 or higher.

Overview

Affected versions of this package are vulnerable to Server-side Request Forgery (SSRF) in the S3Configuration class of the ES|QL S3 data source, which accepts any absolute http or https URL in the endpoint and sts_endpoint settings and in bucket names that route to non-default hosts (ARN, MRAP, S3 Express, Outposts). A user with data-source management privileges can obtain storage credentials, and on Elastic Cloud Hosted deployments that opt in to workload identity, the node's OIDC workload-identity token, by registering a data source that points the S3 or STS client at a host they control. This affects only deployments with esql.federation.enabled set.

Note: After upgrading, data sources that use a non-AWS endpoint (e.g. MinIO, Ceph) stop serving reads. An operator needs to add the host to esql.external.allowed_endpoint_hosts and restart.

Workaround

This vulnerability can be avoided by leaving esql.federation.enabled disabled, or by reviewing the endpoint and sts_endpoint settings of existing S3 data sources and restricting data-source management privileges to trusted administrators.

CVSS Base Scores

version 4.0
version 3.1