# CVE-2026-40968: Spring gRPC SecurityContext leaks across requests on authorization failure

- Priority: **Routine**
- Reason: Not severe (CVSS 4.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-04-28 · Modified: 2026-04-28
- Aliases: GHSA-4g9c-3x4p-mfpp
- Record: https://cvemate.com/vulnerability/CVE-2026-40968 · JSON: https://cvemate.com/vulnerability/CVE-2026-40968/json

## Description

```text
When an authenticated user is denied access to a gRPC method, their authenticated identity remains bound to the gRPC worker thread and can be inherited by a subsequent unauthenticated request on the same thread. This may allow the subsequent user to gain escalated permissions.

Affected versions:
Spring gRPC: 1.0.0 - 1.0.2 (fixed in 1.0.3). Older, unsupported versions are also affected.
```

## Signals

- CVSS: 8.8 high (v3.1, NVD) CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H
- EPSS: 0.174%, percentile 7.192%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- org.springframework.grpc spring-grpc (Maven): \< 1.0.3
- spring spring grpc: ≥ 1.0.0, \< 1.0.3
- vmware spring\_grpc: \< 1.0.3

## References

- <https://spring.io/security/cve-2026-40968>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40968>
- <https://github.com/spring-projects/spring-grpc>

---

Data as of 2026-12-05T04:10:51.133Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
