CVE-2024-22206
JSON

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 packageVersionsReported by
clerk javascript>= 4.7.0, < 4.29.3, from 4.7.0 before 4.29.3CVE List, NVD
@clerk/nextjs (npm)from 4.7.0 before 4.29.3GitHub Advisory Database

All scores

GitHub_M9.1critical CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub9.0critical CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
NVD9.8critical CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Classification

CWE-284CWE-287CWE-639

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

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

Sources

SourceRecordLicence
CVE ListCVE-2024-22206 changed 2024-11-14CVE Terms of Use
GitHub Advisory DatabaseGHSA-q6w5-jg5q-47vg changed 2026-09-10CC-BY-4.0
NVDCVE-2024-22206 changed 2026-06-17Public domain