CVE-2025-49006 Details
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.
A vulnerability exists in the Wasp framework's OAuth authentication implementation, specifically affecting Keycloak when configured to be case sensitive. Prior to version 0.16.6, Wasp lowercased OAuth user IDs before storing or retrieving them, contrary to OAuth and OpenID Connect specifications. This flaw could lead to user impersonation, account collisions, and privilege escalation. While Wasp's OAuth support includes providers like Google, GitHub, and Discord, which use numerical IDs and are not affected, Keycloak's default lowercase UUID can be configured to be case sensitive, making it vulnerable.
Users should update to Wasp version 0.16.6, which addresses this vulnerability. Keycloak users can also avoid the issue by not using a case-sensitive user ID in their realm configuration.
Metrics
CVSS 4.0 Severity and Vector Strings:
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
Volerion
Assessed Jun 9, 2025CISA-ADP
Assessed Jun 9, 2025References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-276 | Incorrect Default Permissions | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| wasp | All versions |
CPE
Remediation
| |
| Keycloak | All versions |
CPE
Remediation
| |
Change History
3 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Jun 9, 2025 | New CVE Received | [email protected] |
Volerion