Loading...
Skip to main content

CVE-2026-41729 — Vulnerability in...

HIGH

Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests

Published June 10, 2026Updated August 12, 2026Source: osv

Summary

Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch (application/json-patch+json) requests. When a persistent entity exposes a Map-typed property, the JSON Pointer path segment used as the map key is embedded directly into a SpEL expression without sanitization or validation. Affected versions: Spring Data REST 3.7.0 through 3.7.19; 4.3.0 through 4.3.16; 4.4.0 through 4.4.14; 4.5.0 through 4.5.11; 5.0.0 through 5.0.5.

Advisory Timeline

  • First published June 10, 2026 (124 days ago).
  • Last revised August 12, 2026 — 64 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.springframework.data:spring-data-rest-core to 4.5.12 or later
<!-- Update pom.xml dependency version to 4.5.12 for org.springframework.data:spring-data-rest-core -->
Maven
Update org.springframework.data:spring-data-rest-core to 5.0.6 or later
<!-- Update pom.xml dependency version to 5.0.6 for org.springframework.data:spring-data-rest-core -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.springframework.data:spring-data-rest-core
maven
1.0.0.RELEASE, 2.0.0.RELEASE, 2.0.1.RELEASE, 2.0.2.RELEASE (+176 more)Range-based data available
org.springframework.data:spring-data-rest-core
maven
4.3.0, 4.3.1, 4.3.10, 4.3.11 (+10 more)Range-based data available
org.springframework.data:spring-data-rest-core
maven
4.4.0, 4.4.1, 4.4.10, 4.4.11 (+10 more)Range-based data available
org.springframework.data:spring-data-rest-core
maven
4.5.0, 4.5.1, 4.5.10, 4.5.11 (+8 more)4.5.12
org.springframework.data:spring-data-rest-core
maven
5.0.0, 5.0.1, 5.0.2, 5.0.3 (+2 more)5.0.6

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.1 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N

Frequently Asked Questions

What is CVE-2026-41729?
Spring Data REST is vulnerable to SpEL expression injection through map-typed properties when processing JSON Patch requests This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.1/10).
How do I check if my project is affected by CVE-2026-41729?
CVE-2026-41729 affects org.springframework.data:spring-data-rest-core. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-41729 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.1

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-j388-8rm5-p97f

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies