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

- Severity: High 8.2 (CVSS:4.0, scored by GitHub_M) `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`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.46%, higher than 41% of CVEs (2026-12-01)
- Published: 2025-06-09T12:41:51.697Z
- Modified: 2026-06-17T09:30:39.553Z
- Weaknesses: CWE-276
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: GitHub_M

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

(As written by CVE List.)

## Affected

- wasp-lang wasp: < 0.16.6

## References

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

## Sources

- CVE List: [CVE-2025-49006](https://www.cve.org/CVERecord?id=CVE-2025-49006), CVE Terms of Use, modified 2025-06-09
- NVD: [CVE-2025-49006](https://nvd.nist.gov/vuln/detail/CVE-2025-49006), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2025-49006 · Whole record: https://cve.day/CVE-2025-49006.json · Rebuilt by cve.day 2026-11-25T22:58:58.939Z
