{"answers":{"affected":"22 open source packages ship an affected version, including @clerk/astro, @clerk/nextjs and @clerk/nuxt.","exploited":"There is no known exploitation of CVE-2026-41248 in the wild and no public exploit code.","fix":"Upgrade @clerk/astro to a fixed version for your release line: 1.5.7, 2.17.10 or 3.0.15.","what":"CVE-2026-41248 is a critical authentication bypass vulnerability in clerk astro, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-41248 and fix it if it is affected.\n\nWhat it is: CVE-2026-41248 is a critical authentication bypass vulnerability in clerk astro, published on 24 Apr 2026. An attacker can exploit it over the internet without logging in, with no action from the victim.\nExploitation: There is no known exploitation of CVE-2026-41248 in the wild and no public exploit code.\n\nAffected packages and fixed versions:\n- @clerk/astro (npm): affected from 0.0.1; fixed in 1.5.7\n- @clerk/astro (npm): affected from 0.0.1; fixed in 1.5.7\n- @clerk/astro (npm): affected from 2.0.0-snapshot.v20241206174604; fixed in 2.17.10\n- @clerk/astro (npm): affected from 2.0.0-snapshot.v20241206174604; fixed in 2.17.10\n- @clerk/astro (npm): affected from 3.0.0; fixed in 3.0.15\n- @clerk/astro (npm): affected from 3.0.0; fixed in 3.0.15\n- @clerk/nextjs (npm): affected from 5.0.0; fixed in 5.7.6\n- @clerk/nextjs (npm): affected from 5.0.0; fixed in 5.7.6\n- @clerk/nextjs (npm): affected from 6.0.0-snapshot.vb87a27f; fixed in 6.39.2\n- @clerk/nextjs (npm): affected from 6.0.0-snapshot.vb87a27f; fixed in 6.39.2\n- @clerk/nextjs (npm): affected from 7.0.0; fixed in 7.2.1\n- @clerk/nextjs (npm): affected from 7.0.0; fixed in 7.2.1\n\nTask:\n1. Search the dependency manifests and lockfiles (for example package.json, package-lock.json, requirements.txt, poetry.lock, uv.lock, pom.xml, build.gradle, go.mod, Cargo.lock, Gemfile.lock) and any Dockerfiles for the affected packages, including transitive dependencies.\n2. If an affected version is in use, upgrade it to the fixed version for its release line with the project's package manager, so the lockfile is regenerated. Prefer the smallest upgrade that fixes it.\n3. If there is no fix, or the upgrade would break the build, do not guess: explain the risk and the safest workaround instead.\n4. Run the tests and summarise what changed and why.\n5. If nothing in the project is affected, say so and change nothing.\n\nReference: https://insights.sbomify.com/CVE-2026-41248/ (Markdown: https://insights.sbomify.com/CVE-2026-41248/index.md)","id":"CVE-2026-41248","markdown":"https://insights.sbomify.com/CVE-2026-41248/index.md","name":"CVE-2026-41248","record":{"aliases":["GHSA-vqx2-fgx2-5wq9"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Clerk JavaScript SDK","requires_auth":"none","summary":"Attackers can bypass middleware route protection in Clerk JavaScript SDKs to access restricted handlers, requiring an upgrade to patched versions.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[],"cvss":{"score":9.1,"severity":"critical","source":"cna","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:N","version":"3.1"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-436","name":"Interpretation Conflict"}],"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","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"none_known"},"has_fix":true,"headline":"Official Clerk JavaScript SDKs: Middleware-based route protection bypass","id":"CVE-2026-41248","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":22,"n_references":1,"next":{"headline":"CoreShop Vulnerable to Remote Code Execution (RCE) via Insecure `pull_request_target` Configuration","id":"CVE-2026-41249"},"packages":[{"ecosystem":"npm","fixed":["1.5.7"],"introduced":["0.0.1"],"last_affected":[],"package":"@clerk/astro","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["1.5.7"],"introduced":["0.0.1"],"last_affected":[],"package":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.17.10"],"introduced":["2.0.0-snapshot.v20241206174604"],"last_affected":[],"package":"@clerk/astro","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.17.10"],"introduced":["2.0.0-snapshot.v20241206174604"],"last_affected":[],"package":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/astro","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["3.0.15"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["5.7.6"],"introduced":["5.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["5.7.6"],"introduced":["5.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["6.39.2"],"introduced":["6.0.0-snapshot.vb87a27f"],"last_affected":[],"package":"@clerk/nextjs","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["6.39.2"],"introduced":["6.0.0-snapshot.vb87a27f"],"last_affected":[],"package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["7.2.1"],"introduced":["7.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["7.2.1"],"introduced":["7.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["1.13.28"],"introduced":["1.1.0"],"last_affected":[],"package":"@clerk/nuxt","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["1.13.28"],"introduced":["1.1.0"],"last_affected":[],"package":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.2.2"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.2.2"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.22.1"],"introduced":["2.20.17"],"last_affected":[],"package":"@clerk/shared","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["2.22.1"],"introduced":["2.20.17"],"last_affected":[],"package":"@clerk/shared","purl":"pkg:npm/%40clerk/shared","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["3.47.4"],"introduced":["3.0.0-canary.v20250225091530"],"last_affected":[],"package":"@clerk/shared","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["3.47.4"],"introduced":["3.0.0-canary.v20250225091530"],"last_affected":[],"package":"@clerk/shared","purl":"pkg:npm/%40clerk/shared","source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["4.8.1"],"introduced":["4.0.0"],"last_affected":[],"package":"@clerk/shared","purl":null,"source":"GHSA-vqx2-fgx2-5wq9"},{"ecosystem":"npm","fixed":["4.8.1"],"introduced":["4.0.0"],"last_affected":[],"package":"@clerk/shared","purl":"pkg:npm/%40clerk/shared","source":"GHSA-vqx2-fgx2-5wq9"}],"prev":{"headline":"elFinder: Command injection in resize background color parameter when using ImageMagick CLI","id":"CVE-2026-41247"},"products":["astro","nextjs","nuxt","shared"],"published":"2026-04-24","related":[],"sources":[{"class":"attribution","licence":"CVE Terms of Use (MITRE)","name":"CVE List","prefix":"CVE"},{"class":"attribution","licence":"CC BY 4.0","name":"GitHub Advisory Database","prefix":"GHSA"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"none","technical_impact":"total"},"state":"PUBLISHED","updated":"2026-04-27","vendors":["clerk"]},"summary":"Attackers can bypass middleware route protection in Clerk JavaScript SDKs to access restricted handlers, requiring an upgrade to patched versions.","url":"https://insights.sbomify.com/CVE-2026-41248/"}