Skip to main content

Spring Data REST CVE-2026-41730

| EUVDEUVD-2026-35907 MEDIUM
Error Message Information Leak (CWE-209)
2026-06-10 security@vmware.com GHSA-p5mm-xwgq-whfr
5.3
CVSS 3.1 · Vendor: vmware
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Send crafted HTTP request to Spring Data REST endpoint
  2. Delivery
    Trigger persistence-layer exception via invalid input
  3. Exploit
    Spring Data REST serializes full exception cause chain
  4. Execution
    HTTP error response returns ORM internals to attacker
  5. Persist
    Attacker maps database schema from leaked messages
  6. Impact
    Craft targeted follow-on injection or enumeration attack

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A10:2025 - Mishandling of Exceptional Conditions
ASVS 5.0
V16 - Security Logging and Error Handling Error message sanitization
MITRE ATT&CK

1 technique across 1 tactic: Discovery

The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up.

Exploitation Conditions

No special configuration is required beyond a default Spring Data REST deployment - the CVSS vector (AV:N/AC:L/PR:N/UI:N) confirms remote unauthenticated exploitation against default configurations of Spring Data REST. The vulnerable behavior activates whenever a persistence-layer exception propagates to the framework's error serialization layer, which occurs by default unless overridden by custom exception handling. The primary limiting factors are: (1) the attacker must be able to reach the Spring Data REST HTTP endpoint over the network; (2) the attacker must be able to craft a request that triggers a persistence-layer exception - if robust input validation in the application layer prevents exceptions from reaching the ORM, the leak may not be consistently triggerable; and (3) the information disclosed is read-only schema reconnaissance (C:L), not credentials or session tokens. Applications placed behind authentication middleware or restricted to internal networks have reduced practical exposure, but the underlying flaw is present regardless of those perimeter controls.

Impact

The CVSS 3.1 vector (AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N) scores 5.3 medium, accurately characterizing this as a remotely exploitable, zero-friction information disclosure with bounded confidentiality impact and no integrity or availability consequence. The attack vector is Network, complexity is Low, and no privileges or user interaction are required - meaning any publicly reachable Spring Data REST endpoint is a candidate target without adversary setup cost. The scope is Unchanged, confirming impact is confined to the vulnerable component. No EPSS score was provided in the input data, so exploitation probability cannot be quantified numerically. The vulnerability is not in CISA KEV, and no POC code has been identified at time of analysis, indicating no confirmed opportunistic or widespread exploitation. Despite the medium CVSS, the real-world priority should be elevated for internet-facing deployments: the leak provides schema reconnaissance that directly enables more severe follow-on attacks such as injection or enumeration, and the lack of any access barrier means automated scanners could harvest this data passively. Internal-only deployments with network controls face meaningfully lower risk.

Exploit ScenarioDerived

An unauthenticated attacker sends a boundary-testing or malformed HTTP request - such as an invalid filter expression, a type-mismatched parameter, or a request that violates a database constraint - to a network-accessible Spring Data REST endpoint, deliberately triggering a persistence-layer exception. Spring Data REST's default error handler serializes the full Java exception cause chain into the HTTP response body, returning Hibernate or JPA exception messages, embedded SQL fragments, or ORM-generated query text that reveals table names, column names, and database schema structure. The attacker harvests this schema information to construct more precise injection payloads or targeted enumeration requests against the same application. No public exploit code has been identified at time of analysis.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Jun 10, 2026

Spring Data REST leaks persistence-layer internals - including database schema details, Hibernate/JPA exception messages, and query structures - by serializing the full exception cause chain directly into HTTP error response bodies. All five active release lines are affected (3.7.x, 4.3.x, 4.4.x, 4.5.x, and 5.0.x), and the CVSS vector confirms unauthenticated remote exploitation against default configurations with no user interaction required. No public exploit code has been identified and the vulnerability is not listed in CISA KEV; however, the zero-friction access conditions make any network-exposed Spring Data REST deployment a realistic target for automated reconnaissance that could enable follow-on, more damaging attacks.

RemediationAI

The primary remediation is upgrading Spring Data REST to a fixed release; exact patched versions are not included in the provided input data and must be confirmed directly in the vendor advisory at https://spring.io/security/cve-2026-41730 before deploying a fix. As an interim compensating control, implement a custom Spring @ControllerAdvice or ResponseEntityExceptionHandler that intercepts persistence-layer exceptions and returns sanitized, generic error responses - stripping the cause chain before serialization; note this requires application code changes and regression testing of error-handling paths. Alternatively, deploy a WAF or API gateway configured to redact or normalize HTTP error response bodies, though this adds operational complexity and risks interfering with legitimate client error-handling logic. Restricting Spring Data REST endpoints to authenticated sessions or internal network segments reduces exposure by limiting who can trigger and observe the leak, but does not eliminate the underlying serialization flaw and should be treated as defense-in-depth rather than a standalone fix.

Affected VersionsENISA

Spring Data REST 4.3.0 <4.3.17
Spring Data REST 5.0.0 <5.0.6
Spring Data REST 3.7.0 <3.7.20
Spring Data REST 4.5.0 <4.5.12
Spring Data REST 4.4.0 <4.4.15

Affected Packages

maven org.springframework.data:spring-data-rest-core fix: 4.5.12, 5.0.6
euvd spring_data_rest fix: 3.7.20, 4.3.17, 4.4.15, 4.5.12, 5.0.6

Source: OSV (Open Source Vulnerabilities)

Affects your stack

Affects 2 packages in maven, euvd

Checking this CVE against your own stacks and servers is part of the Basic plan and up.

Technical ContextAI · show details

Spring Data REST is a Spring Framework component (maintained by VMware/Broadcom) that automatically exposes JPA and Spring Data repositories as RESTful HTTP endpoints with minimal configuration. The vulnerability maps to CWE-209 (Generation of Error Message Containing Sensitive Information), a class where error-handling code inadvertently leaks internal state. When a persistence-layer exception - such as a Hibernate constraint violation, a JPA query error, or a JDBC exception - propagates through the request-handling stack, Spring Data REST's default error serializer writes the complete Java exception cause chain, including nested exception class names, messages, and potentially embedded SQL fragments or ORM-generated query text, into the HTTP response body returned to the client. No CPE strings were provided in the input data, but affected products are identified by vendor as Spring Data REST across five release lines. The reporter is security@vmware.com, confirming official vendor acknowledgment.

Know when Spring Data Rest gets its next vulnerability

  • Watch products and get an email when something new is published
  • Check this CVE against your own stack and servers
  • Exploit and PoC references, threat intelligence from 22 sources

No credit card · 7-day full trial

Severity by source

Vendor (vmware) PRIMARY 5.3 MEDIUM
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N

Primary rating from Vendor (vmware) · only source for this CVE.

CVSS VectorVendor: vmware

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

Lifecycle Timeline

1
Patch available
Jun 10, 2026 - 02:01 EUVD

DescriptionCVE.org

Spring Data REST serializes the full exception cause chain into HTTP error response bodies, potentially exposing persistence-layer internals to HTTP clients.

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.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 6 maven packages depend on org.springframework.data:spring-data-rest-core (1 direct, 5 indirect)

Ecosystem-wide dependent count for version 5.0.0.

Threat Intelligence Overview

EPSS Score
0.0%
Top 92% exploitable
Data Quality
5 sources
Confidence: Medium

How this decision was reached

The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision· derived
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact· derived
Medium
Technical Impact
Partial

Priority Score

26
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +26
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Information disclosure occurs when an application unintentionally exposes sensitive data that aids attackers in reconnaissance or directly compromises security.

Related Vulnerabilities in Spring Data REST Access Control and Injection Flaws

View all 4

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy