{"id":"CVE-2024-22206","aliases":["CVE-2024-22206","GHSA-q6w5-jg5q-47vg"],"related":[],"kind":"vulnerability","state":"published","title":"@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)","summary":"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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"### Impact\nUnauthorized access or privilege escalation due to a logic flaw in `auth()` in the App Router or `getAuth()` in the Pages Router.\n\n### Affected Versions\nAll 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.\n\n### Patches\nFix included in `@clerk/nextjs@4.29.3`.\n\n### References\n- https://clerk.com/changelog/2024-01-12\n- https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","format":"markdown","source":"ghsa"},{"lang":"es","text":"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.","source":"nvd"}],"published":"2024-01-12T20:07:40.402Z","modified":"2026-09-10T03:50:05.070Z","severity":{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},"severities":[{"scorer":"GitHub_M","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9.1,"rating":"CRITICAL"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":9,"rating":"CRITICAL"},{"scorer":"NVD","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H","score":9.8,"rating":"CRITICAL"}],"cwes":["CWE-284","CWE-287","CWE-639"],"affected":[{"ranges":[{"version":">= 4.7.0, < 4.29.3","status":"affected"}],"vendor":"clerk","product":"javascript","source":"cvelist"},{"ranges":[{"type":"semver","introduced":"4.7.0","status":"affected","fixed":"4.29.3"}],"ecosystem":"npm","package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"ghsa"},{"ranges":[{"status":"affected","introduced":"4.7.0","fixed":"4.29.3"}],"vendor":"clerk","product":"javascript","cpe":"cpe:2.3:a:clerk:javascript:*:*:*:*:*:node.js:*:*","source":"nvd"}],"references":[{"url":"https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","tags":["patch","vendor-advisory","web","x-refsource-confirm","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://clerk.com/changelog/2024-01-12","tags":["release-notes","vendor-advisory","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3","tags":["patch","release-notes","web","x-refsource-misc","x-transferred"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22206","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/clerk/javascript","tags":["package"],"sources":["ghsa"]}],"credits":[],"assigner":"GitHub_M","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"no","technicalImpact":"total","date":"2024-11-14T15:42:26.578Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2024-22206","url":"https://www.cve.org/CVERecord?id=CVE-2024-22206","licence":"CVE Terms of Use","modified":"2024-11-14T15:42:39.402Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-q6w5-jg5q-47vg","url":"https://github.com/advisories/GHSA-q6w5-jg5q-47vg","licence":"CC-BY-4.0","modified":"2026-09-10T03:50:05.070Z"},{"source":"nvd","name":"NVD","id":"CVE-2024-22206","url":"https://nvd.nist.gov/vuln/detail/CVE-2024-22206","licence":"Public domain","modified":"2026-06-17T07:10:56.537Z"}],"updatedAt":"2026-11-25T22:58:36.079Z","epss":{"score":0.00682,"percentile":0.53757,"date":"2026-12-01T12:00:22.000Z"}}