CVE-2026-40968

Spring gRPC SecurityContext leaks across requests on authorization failure

Published Apr 28, 2026 CVSS 3.1 · 4.3 Medium EPSS < 1% KEV · Not listed
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.

Remediation

No solution or workaround provided in the CVE record

Tracking

Sign in to view the affected projects.

Advisories

Source ID Title
Github GHSA Github GHSA GHSA-4g9c-3x4p-mfpp Spring gRPC SecurityContext leaks across requests upon authorization failure
References
History
Type Values Removed Values Added
First Time appeared Vmware
Vmware spring Grpc
CPEs cpe:2.3:a:vmware:spring_grpc:*:*:*:*:*:*:*:*
Vendors & Products Vmware
Vmware spring Grpc
Type Values Removed Values Added
First Time appeared Spring
Spring spring
Vendors & Products Spring
Spring spring
Type Values Removed Values Added
Metrics ssvc

{'options': {'Automatable': 'no', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}

Type Values Removed Values Added
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.
Title Spring gRPC SecurityContext leaks across requests on authorization failure
Weaknesses CWE-653
References
Metrics cvssV3_1

{'score': 4.3, 'vector': 'CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N'}

Weaknesses

Sources

Status
PUBLISHED
Assigner
vmware
Published
Updated
Apr 28, 2026, 2:36 PM
Reserved
Apr 16, 2026, 2:18 AM
Status
Analyzed
Published
Apr 28, 2026, 3:16 PM
Modified
Oct 26, 2026, 8:10 PM