CVE-2025-49006CWE-276

Wasp has case insensitive OAuth ID vulnerability

High · published June 9, 2025

CVSS v4.0
8.2
EPSS
0%
Percentile
37.5
In the wild
Unconfirmed
What it is

Wasp (Web Application Specification) is a Rails-like framework for React, Node.js, and Prisma. Prior to version 0.16.6, Wasp authentication has a vulnerability in the OAuth authentication implementation (affecting only Keycloak with a specific config). Wasp currently lowercases OAuth user IDs before storing / fetching them. This behavior violates OAuth and OpenID Connect specifications and can result in user impersonation, account collisions, and privilege escalation. In practice, out of the OAuth providers that Wasp auth supports, only Keycloak is affected. Keycloak uses a lowercase UUID by default, but users can configure it to be case sensitive, making it affected. Google, GitHub, and Discord use numerical IDs, making them not affected. Users should update their Wasp version to `0.16.6` which has a fix for the problematic behavior. Users using Keycloak can work around the issue by not using a case sensitive user ID in their realm configuration.

The record
Technical detail
CVSS v4.0
8.2 · HIGH
Vector
CVSS:4.0/AV:N/AC:L/AT:P/PR:N/UI:N/VC:N/VI:H/VA:N/SC:N/SI:N/SA:N
EPSS
0.00443 · 37.5th percentile
Weakness
CWE-276 · Incorrect Default Permissions
Published
2025-06-09T12:41Z
EPSS history
Timeline
  • 09 JUN 12:41Z
    Wasp has case insensitive OAuth ID vulnerability
    cvelistv5