Quick answers
- Is CVE-2026-41695 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-41695 being exploited in the wild.
- How severe is CVE-2026-41695?
- High severity, with a CVSS score of 7.5, published 10 June 2026.
- Which products and versions are affected?
- org.springframework.data:spring-data-commons (Maven) ECOSYSTEM:introduced=4.0.0,fixed=4.0.6.
- Is there a fix for CVE-2026-41695?
- Yes. org.springframework.data:spring-data-commons (Maven): upgrade to 4.0.6 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-41695 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-41695?
- Check whether you run org.springframework.data:spring-data-commons (Maven) or Spring Data Commons at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.springframework.data:spring-data-commons (Maven): upgrade to 4.0.6 or later
# set org.springframework.data:spring-data-commons to 4.0.6 in your pom.xml or build.gradle
Technical details
The vulnerability exists in `PersistentPropertyPathFactory.java` where an unbounded `ConcurrentHashMap` is used to cache property paths. When `MappingContext.getPersistentPropertyPath` is called with user-supplied strings (such as sort or projection parameters), every unique string—including invalid ones—is stored in the cache indefinitely without eviction. A remote, unauthenticated attacker can exploit this by sending millions of requests with unique, random path strings, eventually exhausting the JVM heap and causing an OutOfMemoryError (OOM). The issue is particularly reachable when using Spring Data REST or store-specific query mappers that pass HTTP-derived strings directly to the mapping context. Patches have been released in versions 4.0.6 and 3.5.12.
Affected products
- Spring spring-data-commons >= 4.0.0, <= 4.0.5
- Spring spring-data-commons >= 3.5.0, <= 3.5.11
- Spring spring-data-commons >= 3.4.0, <= 3.4.13
Identifiers
- CVE-2026-41695
- GHSA-88fw-v6x4-3f58
Timeline
- 2026-06-09: disclosed
- 2026-06-10: advisory: NVD publication date
- 2026-07-31: patched: GitHub Advisory reviewed and updated with patch versions
References
- https://github.com/spring-projects/security-advisories/security/advisories/GHSA-88fw-v6x4-3f58
- https://github.com/spring-projects/spring-data-commons/commit/96e9475b963218bb702959524187342671f6b080
- https://github.com/spring-projects/spring-data-commons/commit/a4f893b66c18c70f2b22f29a2b55097b73c89941
- https://github.com/spring-projects/spring-data-commons/releases/tag/3.5.12
- https://github.com/spring-projects/spring-data-commons/releases/tag/4.0.6