Arbitrary Code Injection Affecting org.springframework.data:spring-data-elasticsearch package, versions [6.0.0,6.0.9)[6.1.0,6.1.3)


Severity

Recommended
0.0
critical
0
10

CVSS assessment by Snyk's Security Team. Learn more

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 Learn

Learn about Arbitrary Code Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKDATA-22732925
  • published22 Nov 2026
  • disclosed19 Nov 2026
  • creditUnknown

Introduced: 19 Nov 2026

NewCVE-2026-123886  (opens in a new tab)
CWE-94  (opens in a new tab)

How to fix?

Upgrade org.springframework.data:spring-data-elasticsearch to version 6.0.9, 6.1.3 or higher.

Overview

Affected versions of this package are vulnerable to Arbitrary Code Injection via the evaluation of untrusted input in string-based @Query methods with positional placeholders. An attacker can execute arbitrary code and potentially exhaust system memory by submitting specially crafted input that is interpreted as a SpEL expression.

CVSS Base Scores

version 4.0
version 3.1