{"id":"GHSA-4g9c-3x4p-mfpp","summary":"Spring gRPC SecurityContext leaks across requests upon authorization failure","details":"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.\n\nAffected versions:\nSpring gRPC: 1.0.0 - 1.0.2 (fixed in 1.0.3). Older, unsupported versions are also affected.","aliases":["CVE-2026-40968"],"modified":"2026-05-06T20:26:26.506854Z","published":"2026-04-28T15:30:51Z","database_specific":{"github_reviewed":true,"github_reviewed_at":"2026-05-06T19:59:34Z","nvd_published_at":"2026-04-28T15:16:30Z","cwe_ids":["CWE-653"],"severity":"MODERATE"},"references":[{"type":"ADVISORY","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-40968"},{"type":"PACKAGE","url":"https://github.com/spring-projects/spring-grpc"},{"type":"WEB","url":"https://spring.io/security/cve-2026-40968"}],"affected":[{"package":{"name":"org.springframework.grpc:spring-grpc","ecosystem":"Maven","purl":"pkg:maven/org.springframework.grpc/spring-grpc"},"ranges":[{"type":"ECOSYSTEM","events":[{"introduced":"0"},{"fixed":"1.0.3"}]}],"versions":["0.1.0","0.10.0","0.11.0","0.12.0","0.2.0","0.3.0","0.4.0","0.5.0","0.6.0","0.7.0","0.8.0","0.9.0","1.0.0","1.0.0-RC1","1.0.1","1.0.2"],"database_specific":{"source":"https://github.com/github/advisory-database/blob/main/advisories/github-reviewed/2026/04/GHSA-4g9c-3x4p-mfpp/GHSA-4g9c-3x4p-mfpp.json"}}],"schema_version":"1.9.0","severity":[{"type":"CVSS_V3","score":"CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N"}]}