Security Digest · Vulnerability record

CVE-2024-22206: @clerk/nextjs auth() and getAuth() methods vulnerable to insecure direct object reference (IDOR)

Clerk helps developers build user management.

CVSS 9.1 Critical EPSS 0.7% · p52

Should you act?

Critical and remotely reachable

No known exploitation yet, but it is network-reachable without credentials. This signal is computed from CISA KEV, EPSS and CVSS data; it is not an editorial verdict.

  • No confirmed exploitation. It is not in CISA’s KEV catalog and CISA’s SSVC assessment records no known exploitation. That can change quickly after a public write-up; re-check if you are affected.
  • EPSS 0.7%, percentile 52: FIRST’s model estimates a 0.7% chance of exploitation activity in the next 30 days, higher than 52% of all scored CVEs (moderate). EPSS is a probability, not a verdict.
  • Remotely reachable with no login and no user interaction. If the vulnerable service is exposed to the internet, prioritize it.
  • Only applies if your dependency tree includes @clerk/nextjs (npm) >= 4.7.0, < 4.29.3, fixed in 4.29.3. Check your lockfile, including transitive dependencies.

What it is

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.

From the GitHub advisory

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,

Patches Fix included in @clerk/nextjs@4.29.3.

References - https://clerk.com/changelog/2024-01-12 - https://github.com/clerk/javascript/releases/tag/%40clerk%2Fnextjs%404.29.3

Weakness type: CWE-284, CWE-287, CWE-639.

Product: @clerk/nextjs (npm) · Assigned by: GitHub_M · Published: 2024-01-12

Affected and fixed versions

EcosystemPackageVulnerableFirst fixed
npm@clerk/nextjs>= 4.7.0, < 4.29.34.29.3
VendorProductAffected versions (per CVE record)
clerkjavascript>= 4.7.0, < 4.29.3

Severity scores

Scored byCVSSScoreVector
GitHub_M3.19.1 CriticalCVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
GitHub3.19.0 CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:C/C:H/I:H/A:H
  • Attack vector: network (remotely reachable)
  • Attack complexity: high (needs special conditions)
  • Privileges required: none (no login)
  • User interaction: none
  • Scope: changed (can affect other components)

CVSS measures how bad a flaw is if exploited, not how likely exploitation is. Read it next to the exploitation data below.

Exploitation and urgency

  • CISA KEV: not listed (no confirmed in-the-wild exploitation known to CISA).
  • CISA SSVC assessment: exploitation none, automatable no, technical impact total.
  • FIRST EPSS (model of 2026-10-21): 0.68% probability of exploitation activity in the next 30 days; percentile 52.

Timeline

  • — CVE record published by GitHub_M
  • — GitHub-reviewed advisory GHSA-q6w5-jg5q-47vg published (critical)
  • — CVE record last updated

Sources and references

Original sources first. Version and fix details should always be confirmed against the vendor or project advisory.

Vulnerability records

  1. GitHub Advisory GHSA-q6w5-jg5q-47vg github.com
  2. CVE.org record CVE-2024-22206 cve.org
  3. NVD entry CVE-2024-22206 nvd.nist.gov

Other references from the CVE record and advisory

  1. github.com github.com
  2. clerk.com clerk.com
  3. github.com github.com

Critical npm advisories · Today’s Security Digest