{"answers":{"affected":"40 open source packages ship an affected version, including @clerk/astro, @clerk/backend and @clerk/chrome-extension. It affects 17 products.","exploited":"It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42349 exists.","fix":"Upgrade @clerk/astro to a fixed version for your release line: 2.17.11 or 3.0.18.","what":"CVE-2026-42349 is a high-severity authentication bypass vulnerability in @clerk astro, published on 11 May 2026. Any signed-in user can exploit it over the network, with no action from the victim."},"fix_prompt":"Check this codebase for CVE-2026-42349 and fix it if it is affected.\n\nWhat it is: CVE-2026-42349 is a high-severity authentication bypass vulnerability in @clerk astro, published on 11 May 2026. Any signed-in user can exploit it over the network, with no action from the victim.\nExploitation: It is not confirmed as exploited in the wild, but public exploit code for CVE-2026-42349 exists.\n\nAffected packages and fixed versions:\n- @clerk/astro (npm): affected from 2.0.0; fixed in 2.17.11\n- @clerk/astro (npm): affected from 2.0.0; fixed in 2.17.11\n- @clerk/astro (npm): affected from 3.0.0; fixed in 3.0.18\n- @clerk/astro (npm): affected from 3.0.0; fixed in 3.0.18\n- @clerk/backend (npm): affected from 2.0.0; fixed in 2.33.3\n- @clerk/backend (npm): affected from 2.0.0; fixed in 2.33.3\n- @clerk/backend (npm): affected from 3.0.0; fixed in 3.2.14\n- @clerk/backend (npm): affected from 3.0.0; fixed in 3.2.14\n- @clerk/chrome-extension (npm): affected from 1.3.5; fixed in 2.9.15\n- @clerk/chrome-extension (npm): affected from 1.3.5; fixed in 2.9.15\n- @clerk/chrome-extension (npm): affected from 3.0.0; fixed in 3.1.15\n- @clerk/chrome-extension (npm): affected from 3.0.0; fixed in 3.1.15\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-42349/ (Markdown: https://insights.sbomify.com/CVE-2026-42349/index.md)","id":"CVE-2026-42349","markdown":"https://insights.sbomify.com/CVE-2026-42349/index.md","name":"CVE-2026-42349","record":{"aliases":["GHSA-w24r-5266-9c3c"],"analysis":{"component_type":"library","fix_type":"upgrade","impacts":["security_bypass"],"network_reachable":"yes","non_default_config":false,"product_category":"Clerk JavaScript SDK","requires_auth":"low_privilege","summary":"Attackers can bypass combined authorization checks in Clerk SDKs, allowing unauthorized access to gated actions when specific conditions are met.","user_interaction":"not_required","vuln_class":"auth_bypass"},"analysis_generated_by":"qwen3.8-flash-next","assigner":"GitHub_M","cpe":[{"product":"clerk\\/astro","vendor":"clerk"},{"product":"clerk\\/backend","vendor":"clerk"},{"product":"clerk\\/chrome-extension","vendor":"clerk"},{"product":"clerk\\/clerk-expo","vendor":"clerk"},{"product":"clerk\\/clerk-js","vendor":"clerk"},{"product":"clerk\\/clerk-react","vendor":"clerk"},{"product":"clerk\\/expo","vendor":"clerk"},{"product":"clerk\\/express","vendor":"clerk"},{"product":"clerk\\/fastify","vendor":"clerk"},{"product":"clerk\\/hono","vendor":"clerk"},{"product":"clerk\\/nextjs","vendor":"clerk"},{"product":"clerk\\/nuxt","vendor":"clerk"},{"product":"clerk\\/react","vendor":"clerk"},{"product":"clerk\\/react-router","vendor":"clerk"},{"product":"clerk\\/shared","vendor":"clerk"},{"product":"clerk\\/tanstack-react-start","vendor":"clerk"},{"product":"clerk\\/vue","vendor":"clerk"}],"cvss":{"score":7.6,"severity":"high","source":"cna","vector":"CVSS:4.0/AV:N/AC:L/AT:P/PR:L/UI:N/VC:H/VI:H/VA:N/SC:N/SI:N/SA:N","version":"4.0"},"cwes":[{"id":"CWE-863","name":"Incorrect Authorization"},{"id":"CWE-754","name":"Improper Check for Unusual or Exceptional Conditions"}],"description":"Clerk JavaScript is the official JavaScript repository for Clerk authentication. has(), auth.protect(), and related authorization predicates in @clerk/shared, @clerk/nextjs, @clerk/backend, and other framework SDKs can return true for certain combined authorization checks when the result should be false, allowing a gated action to proceed for a user who does not satisfy the full set of requested conditions. This call shape can be bypassed if certain conditions are met: a has() or auth.protect() call that combines a reverification check with any of role, permission, feature, or plan, or that combines a billing check (feature or plan) with a role or permission check. This vulnerability is fixed in  @clerk/clerk-js 5.125.10 and 6.7.5.","ecosystems":["npm"],"exploits":{"exploitdb":0,"first_seen":null,"github_poc":0,"max_poc_stars":null,"metasploit":0,"nuclei":0,"refs":[],"tier":"weaponised"},"has_fix":true,"headline":"Clerk: Authorization bypass when combining organization, billing, or reverification checks","id":"CVE-2026-42349","indexable":true,"kev":null,"kind":"cve","links":{"ecosystem":"npm","product":null,"products":[],"type":"auth_bypass","year":"2026"},"n_packages":58,"n_references":1,"next":{"headline":"Kargo: Open Redirect in UI OIDC Login Flow via redirectTo Query Parameter","id":"CVE-2026-42350"},"packages":[{"ecosystem":"npm","fixed":["2.17.11"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/astro","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.17.11"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.0.18"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/astro","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.0.18"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/astro","purl":"pkg:npm/%40clerk/astro","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.33.3"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/backend","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.33.3"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/backend","purl":"pkg:npm/%40clerk/backend","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.2.14"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/backend","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.2.14"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/backend","purl":"pkg:npm/%40clerk/backend","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.9.15"],"introduced":["1.3.5"],"last_affected":[],"package":"@clerk/chrome-extension","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.9.15"],"introduced":["1.3.5"],"last_affected":[],"package":"@clerk/chrome-extension","purl":"pkg:npm/%40clerk/chrome-extension","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.1.15"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/chrome-extension","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.1.15"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/chrome-extension","purl":"pkg:npm/%40clerk/chrome-extension","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.19.36"],"introduced":["2.2.11"],"last_affected":[],"package":"@clerk/clerk-expo","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.19.36"],"introduced":["2.2.11"],"last_affected":[],"package":"@clerk/clerk-expo","purl":"pkg:npm/%40clerk/clerk-expo","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["5.125.10"],"introduced":["5.22.0"],"last_affected":[],"package":"@clerk/clerk-js","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["5.125.10"],"introduced":["5.22.0"],"last_affected":[],"package":"@clerk/clerk-js","purl":"pkg:npm/%40clerk/clerk-js","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["6.7.5"],"introduced":["6.0.0"],"last_affected":[],"package":"@clerk/clerk-js","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["6.7.5"],"introduced":["6.0.0"],"last_affected":[],"package":"@clerk/clerk-js","purl":"pkg:npm/%40clerk/clerk-js","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["5.61.6"],"introduced":["5.9.0"],"last_affected":[],"package":"@clerk/clerk-react","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["5.61.6"],"introduced":["5.9.0"],"last_affected":[],"package":"@clerk/clerk-react","purl":"pkg:npm/%40clerk/clerk-react","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.2.2"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/expo","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.2.2"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/expo","purl":"pkg:npm/%40clerk/expo","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["1.7.79"],"introduced":["0.1.0"],"last_affected":[],"package":"@clerk/express","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["1.7.79"],"introduced":["0.1.0"],"last_affected":[],"package":"@clerk/express","purl":"pkg:npm/%40clerk/express","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.1.6"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/express","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.1.6"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/express","purl":"pkg:npm/%40clerk/express","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.6.31"],"introduced":["1.0.42"],"last_affected":[],"package":"@clerk/fastify","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.6.31"],"introduced":["1.0.42"],"last_affected":[],"package":"@clerk/fastify","purl":"pkg:npm/%40clerk/fastify","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.1.16"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/fastify","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["3.1.16"],"introduced":["3.0.0"],"last_affected":[],"package":"@clerk/fastify","purl":"pkg:npm/%40clerk/fastify","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["0.1.16"],"introduced":["0.0.2"],"last_affected":[],"package":"@clerk/hono","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["0.1.16"],"introduced":["0.0.2"],"last_affected":[],"package":"@clerk/hono","purl":"pkg:npm/%40clerk/hono","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["6.39.3"],"introduced":["6.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["6.39.3"],"introduced":["6.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["7.2.4"],"introduced":["7.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["7.2.4"],"introduced":["7.0.0"],"last_affected":[],"package":"@clerk/nextjs","purl":"pkg:npm/%40clerk/nextjs","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["1.13.29"],"introduced":["1.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["1.13.29"],"introduced":["1.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":null,"source":"GHSA-w24r-5266-9c3c"},{"ecosystem":"npm","fixed":["2.2.5"],"introduced":["2.0.0"],"last_affected":[],"package":"@clerk/nuxt","purl":"pkg:npm/%40clerk/nuxt","source":"GHSA-w24r-5266-9c3c"}],"prev":{"headline":"OpAMP client reads unbounded HTTP response bodies","id":"CVE-2026-42348"},"products":["astro","backend","chrome-extension","clerk-expo","clerk-react","expo","express","fastify","hono","javascript","nextjs","nuxt","react","react-router","shared","tanstack-react-start","vue"],"published":"2026-05-11","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":"US public information, NVD API terms","name":"NVD"},{"class":"attribution","licence":"CWE Terms of Use","name":"CWE (MITRE)"},{"class":"attribution","licence":"FIRST CVSS licence","name":"CVSS (FIRST)"}],"ssvc":{"automatable":"no","exploitation":"poc","technical_impact":"partial"},"state":"PUBLISHED","updated":"2026-05-14","vendors":["@clerk","clerk"]},"summary":"Attackers can bypass combined authorization checks in Clerk SDKs, allowing unauthorized access to gated actions when specific conditions are met.","url":"https://insights.sbomify.com/CVE-2026-42349/"}