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.
Advisories
Source ID Title
Github GHSA Github GHSA GHSA-xg2j-3hj6-pc24 Spring Data KeyValue: Remote code execution via SpEL Injection in Sort-based repository queries
Fixes

Solution

No solution given by the vendor.


Workaround

No workaround given by the vendor.

References
History

Wed, 10 Jun 2026 13:30:00 +0000

Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Wed, 10 Jun 2026 11:30:00 +0000

Type Values Removed Values Added
First Time appeared Spring
Spring spring Data Keyvalue
Spring spring Data Redis
Vendors & Products Spring
Spring spring Data Keyvalue
Spring spring Data Redis

Wed, 10 Jun 2026 00:00:00 +0000

Type Values Removed Values Added
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.
Title Spring Data KeyValue - SpEL Injection vulnerability in SpelPropertyComparator
Weaknesses CWE-917
References
Metrics cvssV3_1

{'score': 6.4, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:H/I:L/A:L'}


Projects

Sign in to view the affected projects.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-06-30T21:42:20.148Z

Reserved: 2026-04-22T06:21:37.021Z

Link: CVE-2026-41719

cve-icon Vulnrichment

Updated: 2026-06-10T12:54:29.966Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-10T00:16:51.800

Modified: 2026-07-23T09:10:00.113

Link: CVE-2026-41719

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T11:21:40Z

Weaknesses