CVE-2026-41719: CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection) in Spring Spring Data KeyValue
A SpEL Injection vulnerability exists in the Spring Data KeyValue if unsanitized user input is passed as Sort into a repository query method that delegates evaluation to the SpelPropertyComparator. Affected versions: Spring Data KeyValue / Spring Data Redis 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.7.0 through 2.7.19.
AI Analysis
Technical Summary
This vulnerability involves improper neutralization of special elements used in an Expression Language statement (CWE-917) within Spring Data KeyValue. Specifically, when user input is passed unsanitized as a Sort parameter into repository query methods, it is evaluated by the SpelPropertyComparator, allowing potential injection of malicious SpEL expressions. The affected versions include Spring Data KeyValue and Spring Data Redis versions 2.7.0 through 2.7.19, 3.0.0 through 3.0.15, 3.1.0 through 3.1.14, 3.2.0 through 3.2.15, 3.3.0 through 3.3.16, 3.4.0 through 3.4.14, 3.5.0 through 3.5.11, and 4.0.0 through 4.0.5. No official patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could lead to high confidentiality impact, low integrity impact, and low availability impact. This means an attacker could potentially access sensitive information due to the injection of malicious expressions but with limited ability to alter data or disrupt service significantly. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing unsanitized user input as Sort parameters in repository query methods that use SpelPropertyComparator. Implement input validation and sanitization to neutralize special characters in user input before it reaches the expression evaluation context.
CVE-2026-41719: CWE-917: Improper Neutralization of Special Elements used in an Expression Language Statement (Expression Language Injection) in Spring Spring Data KeyValue
Description
A SpEL Injection vulnerability exists in the Spring Data KeyValue if unsanitized user input is passed as Sort into a repository query method that delegates evaluation to the SpelPropertyComparator. Affected versions: Spring Data KeyValue / Spring Data Redis 4.0.0 through 4.0.5; 3.5.0 through 3.5.11; 3.4.0 through 3.4.14; 3.3.0 through 3.3.16; 3.2.0 through 3.2.15; 3.1.0 through 3.1.14; 3.0.0 through 3.0.15; 2.7.0 through 2.7.19.
CVSS v3.1
Score 6.4medium
Affected software
pkg:maven/org.springframework.data/spring-data-keyvalueRun on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
Weaknesses
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability involves improper neutralization of special elements used in an Expression Language statement (CWE-917) within Spring Data KeyValue. Specifically, when user input is passed unsanitized as a Sort parameter into repository query methods, it is evaluated by the SpelPropertyComparator, allowing potential injection of malicious SpEL expressions. The affected versions include Spring Data KeyValue and Spring Data Redis versions 2.7.0 through 2.7.19, 3.0.0 through 3.0.15, 3.1.0 through 3.1.14, 3.2.0 through 3.2.15, 3.3.0 through 3.3.16, 3.4.0 through 3.4.14, 3.5.0 through 3.5.11, and 4.0.0 through 4.0.5. No official patch or remediation level has been published yet, and no known exploits are reported in the wild.
Potential Impact
Successful exploitation could lead to high confidentiality impact, low integrity impact, and low availability impact. This means an attacker could potentially access sensitive information due to the injection of malicious expressions but with limited ability to alter data or disrupt service significantly. The CVSS vector indicates the attack requires network access, high attack complexity, low privileges, and no user interaction.
Mitigation Recommendations
Patch status is not yet confirmed — check the vendor advisory for current remediation guidance. Until an official fix is available, avoid passing unsanitized user input as Sort parameters in repository query methods that use SpelPropertyComparator. Implement input validation and sanitization to neutralize special characters in user input before it reaches the expression evaluation context.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- vmware
- Date Reserved
- 2026-04-22T06:21:37.021Z
- Cvss Version
- 3.1
- State
- PUBLISHED
- Remediation Level
- null
Threat ID: 6a28a8068dd33fbd8595efc9
Added to database: 06/09/2026, 23:55:50 UTC
Last enriched: 06/30/2026, 23:38:12 UTC
Last updated: 07/31/2026, 19:22:58 UTC
Views: 61
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
External Links
Need more coverage?
Upgrade to Pro Console for AI refresh and higher limits.
For incident response and remediation, OffSeq services can help resolve threats faster.
Latest Threats
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.