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

- Severity: Medium 4.3 (CVSS:3.1, scored by vmware) `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.17%, higher than 7% of CVEs (2026-12-01)
- Published: 2026-04-28T13:42:35.525Z
- Modified: 2026-10-26T20:10:00.160Z
- Also known as: GHSA-4g9c-3x4p-mfpp
- Weaknesses: CWE-653
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: vmware

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

(As written by CVE List.)

## Affected

- Spring Spring gRPC: from 1.0.0 before 1.0.3
- org.springframework.grpc:spring-grpc (Maven): before 1.0.3
- vmware spring_grpc: before 1.0.3

## Every score

- vmware: CVSS:3.1 4.3 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 4.2 Medium `CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N`
- NVD: CVSS:3.1 8.8 High `CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:H`

## References

- <https://spring.io/security/cve-2026-40968> (vendor-advisory, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-40968> (advisory)
- <https://github.com/spring-projects/spring-grpc> (package)

## Sources

- CVE List: [CVE-2026-40968](https://www.cve.org/CVERecord?id=CVE-2026-40968), CVE Terms of Use, modified 2026-04-28
- GitHub Advisory Database: [GHSA-4g9c-3x4p-mfpp](https://github.com/advisories/GHSA-4g9c-3x4p-mfpp), CC-BY-4.0, modified 2026-05-06
- NVD: [CVE-2026-40968](https://nvd.nist.gov/vuln/detail/CVE-2026-40968), Public domain, modified 2026-10-26

---

Page: https://cve.day/CVE-2026-40968 · Whole record: https://cve.day/CVE-2026-40968.json · Rebuilt by cve.day 2026-11-25T22:59:19.909Z
