Vulnerabilities / CVE-2026-41248

critical

CVE-2026-41248

Official Clerk JavaScript SDKs: Middleware-based route protection bypass

Published Modified CWE 436, 863
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

GHSA9.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N

Trivy's own label is CRITICAL. Rated critical by GHSA.

Description

Clerk JavaScript is the official JavaScript repository for Clerk authentication. createRouteMatcher in @clerk/nextjs, @clerk/nuxt, and @clerk/astro can be bypassed by certain crafted requests, allowing them to skip middleware gating and reach downstream handlers. This vulnerability is fixed in @clerk/astro 1.5.7, 2.17.10, and 3.0.15; @clerk/nextjs 5.7.6, 6.39.2, and 7.2.1; @clerk/nuxt 1.13.28 and 2.2.2; and @clerk/shared 2.22.1, 3.47.4, anc 4.8.1

Affected packages and fixed versions

SourcePackageFixed in
npm::GitHub Security Advisory npm@clerk/astro, @clerk/nextjs, @clerk/nuxt and 1 more1.5.7, 2.17.10, 3.0.15 and 3 more
Show all 4 entries from 1 source
SourcePackageFixed in
npm::GitHub Security Advisory npm@clerk/astro1.5.7, 2.17.10, 3.0.15
npm::GitHub Security Advisory npm@clerk/nextjs5.7.6, 6.39.2, 7.2.1
npm::GitHub Security Advisory npm@clerk/nuxt1.13.28, 2.2.2
npm::GitHub Security Advisory npm@clerk/shared2.22.1, 3.47.4, 4.8.1

References

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.