Skip to content
High 8.8

Spring Data Elasticsearchに遠隔からコードを実行される脆弱性

CVE-2026-123886 First seen on SecPulse

Summary

@Queryで位置指定のプレースホルダーを使うリポジトリのメソッドに、外部から入力された値を渡すと、SpELの式として評価され、遠隔からアプリケーション内でコードを実行されるおそれがあります。影響するのは6.1.0以上6.1.3未満と6.0.0以上6.0.9未満のSpring Data Elasticsearchで、6.1.3と6.0.9で修正されています。該当するアプリケーションでは、修正版への更新を急いでください。

AI summary

Produced by SecPulse using an external AI model; it may contain mistakes. Check the original description and references below before acting on it.

@Queryで位置指定のプレースホルダーを使うリポジトリのメソッドに、外部から入力された値を渡すと、SpELの式として評価され、遠隔からアプリケーション内でコードを実行されるおそれがあります。影響するのは6.1.0以上6.1.3未満と6.0.0以上6.0.9未満のSpring Data Elasticsearchで、6.1.3と6.0.9で修正されています。該当するアプリケーションでは、修正版への更新を急いでください。

Affected packages

PackageAffected → Fixed
SpringSpring Data Elasticsearch
≥ 6.1.0, < 6.1.3→ 6.1.3
≥ 6.0.0, < 6.0.9→ 6.0.9
Original description The description as published by the source.

Spring Data Elasticsearch replaces positional placeholders in string-based @Query methods with the method arguments before it evaluates SpEL expressions in the resulting query string.

As a result, an argument that contains a SpEL expression is evaluated as part of the query, even if the declared query does not use SpEL.

An application is affected if it passes untrusted input as an argument to a repository query method that declares a @Query with positional placeholders.

In that case, a remote attacker can execute arbitrary code in the application, and repeated requests can exhaust memory through the unbounded expression cache.

Source: CVE.org (CVE Program・cvelistV5) NVD GitHub Advisory

References

We use cookies for analytics and ad measurement. This setting applies to all Game co., Ltd. sites. Details