Skip to main content

Spring gRPC EUVDEUVD-2026-26054

| CVE-2026-40968 MEDIUM
Improper Isolation or Compartmentalization (CWE-653)
2026-04-28 vmware
4.2
CVSS 3.1 · NVD
Share

Severity by source

NVD PRIMARY
4.2 MEDIUM
AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Primary rating from NVD · only source for this CVE.

CVSS VectorNVD

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N
Attack Vector
Network
Attack Complexity
High
Privileges Required
Low
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

7
Patch released
Apr 30, 2026 - 13:32 nvd
Patch available
Patch available
Apr 28, 2026 - 16:02 EUVD
CVSS changed
Apr 28, 2026 - 15:22 NVD
4.3 (MEDIUM) 4.2 (MEDIUM)
Analysis Generated
Apr 28, 2026 - 15:00 vuln.today
EUVD ID Assigned
Apr 28, 2026 - 14:30 euvd
EUVD-2026-26054
Analysis Generated
Apr 28, 2026 - 14:30 vuln.today
CVE Published
Apr 28, 2026 - 13:42 nvd
MEDIUM 4.2

DescriptionCVE.org

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.

AnalysisAI

Spring gRPC 1.0.0 through 1.0.2 inherits authenticated user identity on gRPC worker threads after access denial, allowing a subsequent unauthenticated request on the same thread to gain escalated permissions. The vulnerability requires an authenticated attacker with prior knowledge of thread reuse patterns and affects only configurations where both authenticated and unauthenticated requests share gRPC worker threads. A patch is available in version 1.0.3.

Technical ContextAI

Spring gRPC implements remote procedure call (RPC) handlers using Java worker threads. When a gRPC method denies access to an authenticated user, the vulnerability lies in insufficient context cleanup (CWE-653: Missing Zero-Byte Check Before Using Data) where the authenticated identity object remains bound to the ThreadLocal storage of the worker thread. Subsequent unauthenticated requests routed to the same thread inherit this identity without re-validation, bypassing authorization checks. The affected CPE is cpe:2.3:a:spring:spring_grpc:*:*:*:*:*:*:*:*, indicating all Spring gRPC packages with versions below 1.0.3 are susceptible.

RemediationAI

Upgrade Spring gRPC to version 1.0.3 or later; this is the vendor-released patch that restores proper context cleanup on worker threads. For systems unable to upgrade immediately, implement explicit authentication context validation at the start of every gRPC handler method, using Spring Security's @PreAuthorize or custom SecurityContext checks to verify the authenticated principal matches the current request's credentials rather than relying on ThreadLocal state. Additionally, consider configuring gRPC worker thread pools to terminate and recreate threads after each request (rather than reusing them) by setting appropriate thread pool lifecycle policies, though this carries a performance trade-off. Monitor application logs for authentication mismatch errors that may indicate exploitation attempts. Do not rely on request filtering alone; the vulnerability is in the framework's thread management.

More in Java

View all
CVE-2012-4681 CRITICAL POC
9.8 Aug 28

Oracle Java SE 7 Update 6 and earlier contains multiple sandbox bypass vulnerabilities via the ClassFinder and forName m

CVE-2015-7450 CRITICAL POC
9.8 Jan 02

Remote code execution in IBM Sterling B2B Integrator, Sterling Integrator, and Tivoli Common Reporting allows unauthenti

CVE-2013-2465 CRITICAL POC
9.8 Jun 18

Java Runtime Environment sandbox bypass via incorrect image channel verification in 2D component allows remote unauthent

CVE-2011-3544 CRITICAL POC
9.8 Oct 19

Oracle Java SE JDK/JRE 7 and 6 Update 27 and earlier allows remote code execution with complete system compromise throug

CVE-2010-1871 HIGH POC
8.8 Aug 05

JBoss Seam 2 in Red Hat JBoss EAP 4.3.0 fails to sanitize JBoss Expression Language inputs, allowing remote attackers to

CVE-2012-1723 CRITICAL POC
9.8 Jun 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 update 4 and earlier, 6 up

CVE-2013-0422 CRITICAL POC
9.8 Jan 10

Multiple vulnerabilities in Oracle Java 7 before Update 11 allow remote attackers to execute arbitrary code by (1) using

CVE-2012-0507 CRITICAL POC
9.8 Jun 07

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 2 and earlier, 6 Up

CVE-2015-4852 CRITICAL POC
9.8 Nov 18

The WLS Security component in Oracle WebLogic Server 10.3.6.0, 12.1.2.0, 12.1.3.0, and 12.2.1.0 allows remote attackers

CVE-2012-5076 CRITICAL POC
9.8 Oct 16

Unspecified vulnerability in the Java Runtime Environment (JRE) component in Oracle Java SE 7 Update 7 and earlier allow

CVE-2017-3066 CRITICAL POC
9.8 Apr 27

Remote unauthenticated attackers can execute arbitrary code on Adobe ColdFusion servers through Java deserialization fla

CVE-2012-0391 CRITICAL POC
9.8 Jan 08

The ExceptionDelegator component in Apache Struts before 2.2.3.1 interprets parameter values as OGNL expressions during

Share

EUVD-2026-26054 vulnerability details – vuln.today

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy