CVE-2025-49006 in Discord products
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 / fetchi...
Affects 0 products from 6 vendors. Facts below cite their sources.
Affected products and versions
A product listed here is affected only at the versions shown. Use the free check to test the exact version you run.
Fix and vendor advisory
Exploitation
| CISA known-exploited | Not in the CISA KEV catalog |
|---|---|
| Public exploit | Not confirmed |
Official 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.
Source: NIST NVD / MITRE CVE.
Record details
| CVE ID | CVE-2025-49006 |
|---|---|
| BreachSpider ID | BS-2025-GLOBAL-246044-I |
| Published | 2025-06-09 |
| Last modified | 2026-06-17 |
| Weakness (CWE) | |
| Source | NVD |
Weakness definitions
CWE-276: Incorrect Default Permissions
Software sets overly permissive default access rights during installation or resource creation.
Related attack patterns (CAPEC)
CAPEC-81 Web Server Logs Tampering via CWE-276
CAPEC-127 Directory Indexing via CWE-276
CAPEC-1 Accessing Functionality Not Properly Constrained by ACLs via CWE-276
Mapping is CWE to CAPEC per MITRE CAPEC 3.9.
Analysis AI-written, not human-reviewed
Wasp, a Rails-like framework for React, Node.js, and Prisma, has a vulnerability in its OAuth authentication implementation affecting Keycloak with a specific configuration. The framework lowercases OAuth user IDs before storing or fetching them, which violates OAuth and OpenID Connect specifications and can lead to authentication issues.
An attacker could exploit this vulnerability by creating a user account with a case-sensitive OAuth user ID that matches an existing user's ID when lowercased. This could potentially allow unauthorized access to the existing user's account.
Questions
What is CVE-2025-49006?
Wasp, a Rails-like framework for React, Node.js, and Prisma, has a vulnerability in its OAuth authentication implementation affecting Keycloak with a specific configuration. The framework lowercases OAuth user IDs before storing or fetching them, which violates OAuth and OpenID Connect specifications and can lead to authentication issues.
Is CVE-2025-49006 actively exploited?
No confirmed active exploitation of CVE-2025-49006 as of 2026-09-25.
How do I remediate CVE-2025-49006?
Priority: HIGH. Advisory: https://github.com/wasp-lang/wasp/commit/433b9b7f491c172db656fb94cc85e5bd7d614b74
What systems are affected by CVE-2025-49006?
CVE-2025-49006 affects Discord; Github; Google; Keycloak; Openid; Prisma.
For developers and AI agents
Run this check from your own code or agent
REST API
curl -s https://breachspider.com/api/v1/assets/correlate-cves \
-H "Authorization: Bearer $BREACHSPIDER_API_KEY" \
-H "Content-Type: application/json" \
-d '{"assets":[{"asset_id":"dev-1","vendor":"Discord","product":"EDS-518A","version":"1.0"}]}'
MCP for AI agents
# hosted: add as a connector
https://mcp.breachspider.com/mcp
# local
pipx install breachspider-mcp
Free trial: 14 days, 750 device checks, no card.
Page facts from NVD, MITRE, CISA and vendor advisories, record last modified 2026-06-17.