Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.springframework.grpc/spring-grpc
  4. ›
  5. CVE-2026-40968

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

April 28, 2026 (updated May 6, 2026)

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.

References

  • github.com/advisories/GHSA-4g9c-3x4p-mfpp
  • nvd.nist.gov/vuln/detail/CVE-2026-40968
  • spring.io/security/cve-2026-40968

Code Behaviors & Features

Detect and mitigate CVE-2026-40968 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Dependency Scanning using SBOM also detects vulnerabilities from proprietary advisories that this site does not include. Learn more about Dependency Scanning using SBOM →

Affected versions

All versions before 1.0.3

Fixed versions

  • 1.0.3

Solution

Upgrade to version 1.0.3 or above.

Impact 4.2 MEDIUM

CVSS:3.1/AV:N/AC:H/PR:L/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

  • CWE-653: Improper Isolation or Compartmentalization

Source file

maven/org.springframework.grpc/spring-grpc/CVE-2026-40968.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Sun, 08 Nov 2026 00:17:22 +0000.