CVE-2025-49006 - CVE House
Back to Database
Status published High CVE-2025-49006

Wasp has case insensitive OAuth ID vulnerability

Vulnerability Description

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.

Impact Analysis

Refer to official advisory for detailed impact metrics.

Remediation

Ensure systems are updated to the latest vendor-supplied patch levels.

THREAT MONITOR

Am I Vulnerable?

Launch our assessment wizard to check if your infrastructure is exposed to • CVE-2025-49006

Credits & Attribution

No credits recorded in the NVD database.

Affected Vendor

Affected Software

wasp
Vulnerable Versions:
< 0.16.6

Timeline

Official Publish: June 9th, 2025
Last Modified: June 9th, 2025
Added to House: July 22nd, 2026

CVSS Vectors

Weaknesses (CWE)