Improper Isolation or Compartmentalization Affecting org.springframework.grpc:spring-grpc-core package, versions [,1.0.3)


Severity

Recommended
0.0
low
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.03% (10th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGSPRINGFRAMEWORKGRPC-16321424
  • published29 Apr 2026
  • disclosed28 Apr 2026
  • creditUnknown

Introduced: 28 Apr 2026

NewCVE-2026-40968  (opens in a new tab)
CWE-653  (opens in a new tab)

How to fix?

Upgrade org.springframework.grpc:spring-grpc-core to version 1.0.3 or higher.

Overview

Affected versions of this package are vulnerable to Improper Isolation or Compartmentalization due to improper isolation of the SecurityContext. When an authenticated user experiences an authorization failure, their security context is not properly cleared from the underlying gRPC worker thread. If a subsequent unauthenticated request is processed by this exact same thread, it can inadvertently inherit the previous user's authenticated identity. This flaw allows an unauthenticated attacker to bypass security controls and perform unauthorized actions.

CVSS Base Scores

version 4.0
version 3.1