What’s Vulnerable › Vulnerabilities
CVE-2026-40968: Spring gRPC SecurityContext leaks across requests on authorization failure
- Severity: high (CVSS 8.8 v3.1)
- Exploited in the wild: not listed in CISA KEV
- EPSS: 0.2% probability of exploitation in the next 30 days
- Public exploit or detection template: none known
- Published: 2026-04-28 · updated 2026-10-26
- Weakness: CWE-653
Description
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.
Affected products
- Spring gRPC: before 1.0.3 — fixed in 1.0.3
- Spring gRPC: from 1.0.0 before 1.0.3 — fixed in 1.0.3
How to fix
Upgrade to a fixed version: Spring gRPC 1.0.3; Spring gRPC 1.0.3. Check the vendor advisory for mitigations.
References
Get alerted when CVE-2026-40968 or the next vulnerability affects your stack