Skip to main content

CVE-2026-41729 — Vulnerability in spring-data-rest-core — CVE Details

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

What Should I Do?

Address in Next Maintenance Window

Low exploitation probability (0.40%). Schedule for your next planned update.

Does your project use an affected org.springframework.data:spring-data-rest-core version?

Paste your pom.xml to check it for CVE-2026-41729 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.

Check my pom.xml

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 (169 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, scan your dependencies again to confirm the vulnerability is resolved.

Affected Packages (5)

Affects 1 ecosystem: Maven (1).

PackageFixed In
org.springframework.data:spring-data-rest-core Maven · Affected: 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 · Affected: 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 · Affected: 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 · Affected: 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 · Affected: 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. It has a 0.4% probability of exploitation within 30 days (EPSS score). 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

Significant impact if exploited, or exploitable with modest effort.

EPSS Score (30-day exploit probability)
0.40%
EPSS percentile: 25.9

This is a below-median EPSS score — only 25.9% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.

Also Known As

GHSA-j388-8rm5-p97f

Related CVEs

  • CVE-2017-8046
    CRITICAL

    Remote code execution in PATCH requests in Spring Data REST

  • CVE-2026-41717
    HIGH

    Spring Data MongoDB is vulnerable to SpEL (Spring Expression Language) expression injection

  • CVE-2026-61689
    HIGH

    XWiki Platform: HQL injection in search allows unauthenticated database extraction including password hashes

  • CVE-2026-107725
    HIGH

    Hazelcast has an authorization bypass in IMap Predicates API

Check your own dependencies

Free, with no signup for up to 10 packages.

Check my pom.xml