High

@clerk/backend Performs Insufficient Verification of Data Authenticity

  • Disclosed: 09.07.2025
  • Updated: 11.10.2026 10:22

Impact

Applications that use the verifyWebhook() helper to verify incoming Clerk webhooks are susceptible to accepting improperly signed webhook events.

Patches

  • @clerk/backend: the helper has been patched as of 2.4.0
  • @clerk/astro: the helper has been patched as of 2.10.2
  • @clerk/express: the helper has been patched as of 1.7.4
  • @clerk/fastify: the helper has been patched as of 2.4.4
  • @clerk/nextjs: the helper has been patched as of 6.23.3
  • @clerk/nuxt: the helper has been patched as of 1.7.5
  • @clerk/react-router: the helper has been patched as of 1.6.4
  • @clerk/remix: the helper has been patched as of 4.8.5
  • @clerk/tanstack-react-start: the helper has been patched as of 0.18.3

Resolution

The issue was resolved in @clerk/backend 2.4.0 by:

  • Properly parsing the webhook request's signatures and comparing them against the signature generated from the received event

Workarounds

If unable to upgrade, developers can workaround this issue by verifying webhooks manually, per this documentation.

Affected software

Click a technology to see all vulnerabilities affecting it.

PlatformPackageVulnerable versionsFixed in
npm package @clerk/astro >= 2.9.0, < 2.10.2 2.10.2
npm package @clerk/backend >= 2.0.0, < 2.4.0 2.4.0
npm package @clerk/express >= 1.6.0, < 1.7.4 1.7.4
npm package @clerk/fastify >= 2.3.0, < 2.4.4 2.4.4
npm package @clerk/nextjs >= 6.2.10, < 6.23.3 6.23.3
npm package @clerk/nuxt >= 1.7.0, < 1.7.5 1.7.5
npm package @clerk/react-router >= 1.5.0, < 1.6.4 1.6.4
npm package @clerk/remix >= 4.8.0, < 4.8.5 4.8.5
npm package @clerk/tanstack-react-start >= 0.16.0, < 0.18.3 0.18.3

References

CVSS score 7.5/10
CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:H/A:N
Weakness (CWE)
CWE-345
Platform
npm
Package
@clerk/astro, @clerk/backend, @clerk/express
Disclosed
09.07.2025
Updated
11.10.2026 10:22

Sources and licenses

OSV / GitHub Advisory Database - GHSA-9mp4-77wg-rwx9 - CC BY 4.0

Vulnerability history: @clerk/nextjs

All published vulnerabilities of this package (npm package), newest first. Shows whether this is a one-off slip or a package that needs watching.

Total entries
4
First → latest
01.2024 04.2026
Without a fix
0
Exploited in attacks
0

Severity breakdown

  • Critical 2
  • High 2

Disclosures per year

  1. 2024: 1
  2. 2025: 1
  3. 2026: 2
  1. High · 8.1 CVE-2026-42349 >= 6.0.0, < 6.39.3, >= 7.0.0, < 7.2.4 6.39.3, 7.2.4
  2. Critical · 9.1 CVE-2026-41248 >= 5.0.0, < 5.7.6, >= 6.0.0-snapshot.vb87a27f, < 6.39.2, >= 7.0.0, < 7.2.1 5.7.6, 6.39.2, 7.2.1
  3. @clerk/backend Performs Insufficient Verification of Data Authenticity this entry
    High · 7.5 CVE-2025-53548 >= 6.2.10, < 6.23.3 6.23.3

Know which vulnerabilities affect your application

With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.

Connect your application
DockRay newsletter

Application security in your inbox

Important vulnerabilities, actionable guidance and practical advice for your applications. Choose your technologies and follow what matters to your project.

  • A daily digest of new vulnerabilities, critical ones included.
  • Notifications about important updates.
  • Practical advice on application security and monitoring.

Leave empty to receive updates for every technology.

Free to subscribe. Unsubscribe with one click in any email.