9.1critical
@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)
- Severity
- 9.1critical CVSS:3.1 by GitHub_M
- Exploit likelihood
- 0.68% (higher than 53% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- GitHub_M
- Also known as
- GHSA-q6w5-jg5q-47vg
Description
Clerk helps developers build user management. Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router. This vulnerability was patched in version 4.29.3.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| clerk javascript | >= 4.7.0, < 4.29.3, from 4.7.0 before 4.29.3 | CVE List, NVD |
| @clerk/nextjs (npm) | from 4.7.0 before 4.29.3 | GitHub Advisory Database |
All scores
| GitHub_M | 9.1critical CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| GitHub | 9.0critical CVSS:3.1 | CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H |
| NVD | 9.8critical CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H |
Classification
What each source says
CVE List
Clerk helps developers build user management. Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router. This vulnerability was patched in version 4.29.3.
GitHub Advisory Database
Impact
Unauthorized access or privilege escalation due to a logic flaw in auth() in the App Router or getAuth() in the Pages Router.
Affected Versions
All applications that that use @clerk/nextjs versions in the range of >= 4.7.0,< 4.29.3 in a Next.js backend to authenticate API Routes, App Router, or Route handlers. Specifically, those that call auth() in the App Router or getAuth() in the Pages Router. Only the @clerk/nextjs SDK is impacted. Other SDKs, including other Javascript-based SDKs, are not impacted.
Patches
Fix included in @clerk/nextjs@4.29.3.
References
NVD (es)
Clerk ayuda a los desarrolladores a crear gestión de usuarios. Acceso no autorizado o escalada de privilegios debido a un fallo lógico en auth() en App Router o getAuth() en Pages Router. Esta vulnerabilidad fue parcheada en la versión 4.29.3.
References
| https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg | patch, vendor-advisory, web | |
| https://clerk.com/changelog/2024-01-12 | release-notes, vendor-advisory, web | |
| https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3 | patch, release-notes, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2024-22206 | advisory | |
| https://github.com/clerk/javascript | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2024-22206 changed 2024-11-14 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-q6w5-jg5q-47vg changed 2026-09-10 | CC-BY-4.0 |
| NVD | CVE-2024-22206 changed 2026-06-17 | Public domain |