CVE-2026-123886
Last modified
CVE-2026-123886 is a high-severity vulnerability rated 8.8/10 on the CVSS scale. 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.. EPSS estimates a 0.78% chance of exploitation in the next 30 days.
Description
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.
Metrics
Weakness Enumeration
Affected Software
Source: CNA advisory (CVE.org). NVD analysis pending.
| Vendor | Product | Versions |
|---|---|---|
| Spring | Spring Data Elasticsearch | >= 6.1.0, < 6.1.3; >= 6.0.0, < 6.0.9 |
References
Timeline
- Published
- Last Modified
- Status
- Awaiting Analysis
Frequently Asked Questions
What is CVE-2026-123886?
How severe is CVE-2026-123886?
How do I fix CVE-2026-123886?
How Strix Helps
- How Strix found a critical auth bypass in etcdStrix autonomously discovered a critical authentication bypass in etcd, later designated CVE-2026-33413.
- Autonomous PentestingAI agents that find and validate exploitable vulnerabilities like this one across your applications.
- PR ReviewsPentest every pull request so vulnerable code is caught before it ships to production.
- AI Penetration TestingHow AI-driven penetration testing continuously covers your attack surface.
Related CVEs from 2026
- CVE-2026-123875A NULL pointer dereference in Node.js HTTP/2 lets an unauthe…5.9
- CVE-2026-123876A flaw was found in the default seccomp profile used by Podm…4.4
- CVE-2026-123877A certificate validation bypass in Node.js https.Agent lets …6.8
- CVE-2026-123879In authd before 0.7.2, an improper access control vulnerabil…7.2
- CVE-2026-12388A flaw was found in the Identity Provider (IdP) mapper compo…6.5
- CVE-2026-123881A vulnerability was found in OpenBMB Internet of Agents up t…7.3
- CVE-2026-12389A vulnerability that could lead to a high privileged authent…8.4
- CVE-2026-123890VMware vCenter contains an authentication bypass vulnerabili…9.8
- CVE-2026-123891SDDC Manager contains an SQL-injection vulnerability due to …8.1
- CVE-2026-123892SDDC Manager contains an authenticated command-injection vul…7.2
- CVE-2026-123893SDDC Manager contains a local privilege-escalation vulnerabi…6.7
- CVE-2026-123894VMware Tools for Windows contains a SAML token signature byp…6.7
Are you affected by CVE-2026-123886?
Run a free Strix scan to check your systems for this vulnerability.
Scan your code nowSource: NVD / NIST
