Intel

AIKIDO-2026-808118

@descope/nextjs-sdk is vulnerable to Authentication Bypass

CVE-2026-102655Published Jul 31, 2026
July 31, 2026

91

CVE Score

Critical

Authentication Bypass

Are you affected? Scan for Free

TL;DR

The session() and getSession(req) server helpers decode the client-supplied x-descope-session request header from Base64 and return it as trusted authentication data without validating the JWT signature. When this header is present it is returned before the cookie path that would call validateJwt, so signature verification is never reached. An unauthenticated request can forge arbitrary session claims, including user identity and roles such as admin, to bypass authentication in any route handler or server component that relies on these helpers. The fix removes the unvalidated header path so session data is only accepted after JWT validation.

How do I fix this?

Upgrade the @descope/nextjs-sdk library to the patch version.

Who does this affect?

You are affected if you are using a version that falls within the vulnerable range and your application uses the session() or getSession(req) server helpers from @descope/nextjs-sdk/server to make authentication or authorization decisions.

Versions

0.0.1 - 0.15.55

Fixed in 0.15.56

Background info

@descope/nextjs-sdk is vulnerable to Authentication Bypass in versions 0.0.1 - 0.15.55.

Get secure today,
quickly and for free.

Secure your code, cloud, and runtime in one central system. Connect a repo to discover what the reasoning agents find in your codebase.

No credit card required | Scan results in 32 seconds.

Trusted by 150k+ orgs
  • Revolut
  • n8n
  • Lovable
  • Deel
  • Prove
  • Omnea