Description
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.
Published: 2026-06-09
Score: 5.3 Medium
EPSS: n/a
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

Spring Data REST serializes the full exception cause chain into HTTP error response bodies, which can reveal internal persistence-layer details to HTTP clients. This flaw allows an attacker to gain visibility into database types, table names, and other internal objects, compromising confidentiality as described by CWE-209.

Affected Systems

The vulnerability affects Spring Data REST provided by Spring. Specifically, versions 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, and 5.0.0 through 5.0.5 are affected. Users should verify their deployed version against these ranges.

Risk and Exploitability

The CVSS score of 5.3 indicates moderate severity; the EPSS score is not available and the vulnerability is not listed in CISA's KEV catalog. An attacker likely exploits this by sending requests that trigger exceptions—such as malformed input or unauthorized access—and then capturing the detailed error response. The impact remains limited to informational disclosure and does not enable further code execution or privilege escalation, but the exposed internal details can aid in subsequent attacks.

Generated by OpenCVE AI on June 10, 2026 at 01:50 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Spring Data REST to a version that is not listed in the affected ranges (e.g., 3.7.20 or newer, 4.3.17 or newer, 4.4.15 or newer, 4.5.12 or newer, or 5.0.6 or newer).
  • If an upgrade cannot be performed immediately, configure the application to suppress stack trace details in error responses by disabling the inclusion of the stack trace (e.g., set SERVER_ERROR_INCLUDE_STACKTRACE to never) and implement a custom error handler that omits exception causes.
  • Enable monitoring for unexpected error responses and configure alerts for repeated unauthorized exception exposure attempts.

Generated by OpenCVE AI on June 10, 2026 at 01:50 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

References
History

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

Type Values Removed Values Added
Description 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.
Title Spring Data REST exposes persistence-layer internals in error responses
Weaknesses CWE-209
References
Metrics cvssV3_1

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


Subscriptions

No data.

cve-icon MITRE

Status: PUBLISHED

Assigner: vmware

Published:

Updated: 2026-06-09T23:49:21.572Z

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

Link: CVE-2026-41730

cve-icon Vulnrichment

No data.

cve-icon NVD

Status : Received

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

Modified: 2026-06-10T00:16:52.483

Link: CVE-2026-41730

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-10T02:00:13Z

Weaknesses