{"id":"GHSA-q6w5-jg5q-47vg","revision":"3f2d9654ca494bd5a283eb2c998d8b97","records":[{"revision":"3f2d9654ca494bd5a283eb2c998d8b97","observedAt":"2026-10-24T13:17:17.793+00:00","statement":{"source":"osv","id":"GHSA-q6w5-jg5q-47vg","aliases":["CVE-2024-22206"],"title":"@clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR) ","description":"### 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","state":0,"publishedAt":"2024-01-12T20:27:29+00:00","modifiedAt":"2026-09-10T03:50:05.070391+00:00","affected":[{"ecosystem":"npm","name":"@clerk/nextjs","ranges":[{"type":"SEMVER","events":[{"kind":"introduced","version":"4.7.0"},{"kind":"fixed","version":"4.29.3"}]}],"versions":[],"rawVersionEvidence":null}],"metrics":[{"system":"CVSS_V3","vector":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H","score":null,"severity":null},{"system":"Publisher rating","vector":null,"score":null,"severity":"CRITICAL"}],"references":["https://github.com/clerk/javascript/security/advisories/GHSA-q6w5-jg5q-47vg","https://nvd.nist.gov/vuln/detail/CVE-2024-22206","https://clerk.com/changelog/2024-01-12","https://github.com/clerk/javascript","https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3"],"sourceUrl":"https://github.com/advisories/GHSA-q6w5-jg5q-47vg","license":"GitHub Advisory Database · CC-BY-4.0","key":"osv:GHSA-q6w5-jg5q-47vg","identifiers":["GHSA-q6w5-jg5q-47vg","CVE-2024-22206"]},"retained":false,"historicalAffected":[]}],"coverage":[]}