# CVE-2025-49006: Wasp has case insensitive OAuth ID vulnerability

> Archived entry. Full-text search covers entries since 2026-11-10; exact IDs work for all years.

- **Severity:** HIGH 8.2
- **CVSS:** 8.2 (v4.0, CNA) `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`
- **CVSS metrics:** Attack vector: Network; Attack complexity: Low; Attack requirements: Present; Privileges required: None; User interaction: None; Confidentiality impact: None; Integrity impact: High; Availability impact: None; Confidentiality impact on other systems: None; Integrity impact on other systems: None; Availability impact on other systems: None
- **Exploited in the wild:** Not in CISA KEV
- **Public exploit / PoC:** None known
- **Remote exploitation:** Remote, no login needed
- **EPSS:** 0.92% (percentile 58, 2026-11-26)
- **CWE:** CWE-276
- **Published:** 2025-06-09T12:41:51.697Z
- **Modified:** 2026-06-17T09:30:39.553Z

## Who should check

- Anyone running wasp-lang wasp \< 0.16.6

## 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.

## Affected and fixed versions

- wasp-lang wasp: \< 0.16.6 (cvelist)

## Mitigation

- Upgrade wasp to 0.16.6 or later.

## Check your systems with an agent

Paste this into a coding agent:

```text
Check whether anything I run is affected by CVE-2025-49006. Work read-only: do not install, upgrade, delete or change anything.

Details: https://flawdb.com/CVE-2025-49006.md
Affected: wasp-lang wasp < 0.16.6
Fixed in: wasp-lang wasp 0.16.6

Steps:
1. Search this machine and project for wasp-lang wasp: dependency manifests and lockfiles, installed packages, container images and running services.
2. For each match, note the installed version and whether it is inside the affected range.
3. Report a table: location, installed version, affected (yes / no / unsure), evidence. If affected, say which fixed version or mitigation from the details link applies, but don't apply it.
```

## FAQ

### Is CVE-2025-49006 being exploited?

There is no confirmed exploitation: CVE-2025-49006 is not in the CISA Known Exploited Vulnerabilities catalog. No public exploit code is known. EPSS estimates a 0.92% chance of exploitation in the next 30 days (as of 2026-11-26).

### How serious is CVE-2025-49006?

High: CVSS 8.2 (v4.0, scored by CNA). Remote, no login needed.

### Which versions are affected by CVE-2025-49006?

wasp-lang wasp \< 0.16.6.

### Is there a fix for CVE-2025-49006?

Yes. Fixed in wasp-lang wasp 0.16.6. Upgrade wasp to 0.16.6 or later.

### How do I check if I'm affected by CVE-2025-49006?

Find where you use the affected software (dependency lockfiles, installed packages, container images, servers) and compare the installed version with the affected range above. The agent prompt on this page does this read-only.

## References

- vendor: <https://github.com/wasp-lang/wasp/security/advisories/GHSA-qvjc-6xv7-6v5f>
- patch: <https://github.com/wasp-lang/wasp/commit/433b9b7f491c172db656fb94cc85e5bd7d614b74>
- other: <https://wasp-lang.notion.site/PUB-Case-insensitive-OAuth-ID-vulnerability-20018a74854c8064a2bfebe4eaf5fceb>

## Attribution

- CVE Program: CVE® is a registered trademark of The MITRE Corporation. CVE records © 1999–2026 The MITRE Corporation. <https://www.cve.org/Legal/TermsOfUse>
- NVD: This product uses data from the NVD API but is not endorsed or certified by the NVD. <https://nvd.nist.gov/vuln/detail/CVE-2025-49006>

HTML: <https://flawdb.com/CVE-2025-49006> · JSON: <https://flawdb.com/api/v1/entries/CVE-2025-49006>
