Lookup for vulnerable packages by Package URL.

Purlpkg:npm/%40clerk/react-router@1.0.6-snapshot.v20250203200248
Typenpm
Namespace@clerk
Namereact-router
Version1.0.6-snapshot.v20250203200248
Qualifiers
Subpath
Is_vulnerabletrue
Next_non_vulnerable_version2.4.13
Latest_non_vulnerable_version3.1.4
Affected_by_vulnerabilities
0
url VCID-uatw-95dq-tygq
vulnerability_id VCID-uatw-95dq-tygq
summary
Clerk has an authorization bypass when combining organization, billing, or reverification checks
### Summary

`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.

Sessions are not compromised and no existing user can be impersonated. The bypass is limited to the authorization decision returned by the predicate. `clerkMiddleware` continues to authenticate requests correctly, `auth()` reflects the real authentication state, and token verification is unaffected.

### Who is affected

All apps that combine more than one authorization dimension in a single `has()` or `auth.protect()` call should upgrade to the patched versions. Patches are drop-in with no API changes. The information below describes the scope of the bypass and helps developers understand whether their apps are potentially affected, but is not a reason to delay the upgrade.

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.


```ts
// Reverification combined with role / permission / feature / plan
await auth.protect({ permission: 'org:settings:delete', reverification: 'strict' });
const canAct = has({ role: 'org:admin', reverification: 'strict' });

// Billing (feature / plan) combined with role / permission
const canAct = has({ permission: 'org:admin', feature: 'premium' });
```

Single-condition checks are not affected and continue to fail closed as expected:

```ts
await auth.protect({ permission: 'org:settings:delete' });
has({ reverification: 'strict' });
```

The callback form of `auth.protect` is not affected unless the callback itself invokes one of the affected shapes:

```ts
await auth.protect(has => has({ permission: 'org:X' }) && has({ reverification: 'strict' }));
```

App patterns that rely only on single-condition checks, or that combine them via the callback form, are unaffected. Authentication, session state, and token verification continue to work correctly regardless of this bypass.

`@clerk/shared` is usually not imported directly in application code, but the fix lives there and reaches an app through its framework package. If developers import `createCheckAuthorization` from `@clerk/shared` directly, their apps are also affected. Run `npm why @clerk/shared` (or the app's package manager's equivalent) to check the installed version.

### Additional `auth.protect()` bypass

A second, related bypass lives in `@clerk/nextjs`: `auth.protect()` silently discarded authorization params (`role`, `permission`, `feature`, `plan`, `reverification`) whenever the same argument object also contained `unauthenticatedUrl`, `unauthorizedUrl`, or `token`.

### Recommended actions

Upgrade to the latest patch release of the consuming app's framework package on its current major. Both Core 2 and Core 3 release lines have patches. See the "Affected packages" section above for the exact vulnerable ranges and patched versions per package.

If a consuming app pins `@clerk/clerk-js` directly, upgrade it to the patched version. Most apps load `@clerk/clerk-js` from Clerk's CDN through their framework package and will receive the fix automatically, with no upgrade step required.

### Workaround

If developers cannot upgrade immediately, split combined `has()` or `auth.protect()` calls into sequential single-condition checks:

```ts
// Replace
await auth.protect({ permission: 'org:X', reverification: 'strict' });
// With
await auth.protect({ reverification: 'strict' });
await auth.protect({ permission: 'org:X' });
```

Each single-condition check fails closed as expected, so evaluating them independently and denying if either fails produces the correct result.

### Timeline

This issue was reported on 18 APR 2026, patched on 22 APR 2026, and publicly disclosed on 22 APR 2026.

Thanks to AISafe for the responsible disclosure of this vulnerability.
references
0
reference_url https://api.first.org/data/v1/epss?cve=CVE-2026-42349
reference_id
reference_type
scores
0
value 0.00049
scoring_system epss
scoring_elements 0.15536
published_at 2026-06-09T12:55:00Z
1
value 0.00049
scoring_system epss
scoring_elements 0.15642
published_at 2026-06-05T12:55:00Z
2
value 0.00049
scoring_system epss
scoring_elements 0.15632
published_at 2026-06-06T12:55:00Z
3
value 0.00049
scoring_system epss
scoring_elements 0.15593
published_at 2026-06-07T12:55:00Z
4
value 0.00049
scoring_system epss
scoring_elements 0.1551
published_at 2026-06-08T12:55:00Z
url https://api.first.org/data/v1/epss?cve=CVE-2026-42349
1
reference_url https://github.com/clerk/javascript
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value 7.6
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://github.com/clerk/javascript
2
reference_url https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
2
value 7.6
scoring_system cvssv4
scoring_elements 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
3
value HIGH
scoring_system generic_textual
scoring_elements
4
value Track
scoring_system ssvc
scoring_elements SSVCv2/E:P/A:N/T:P/P:M/B:A/M:M/D:T/2026-05-14T18:18:41Z/
url https://github.com/clerk/javascript/security/advisories/GHSA-w24r-5266-9c3c
3
reference_url https://nvd.nist.gov/vuln/detail/CVE-2026-42349
reference_id
reference_type
scores
0
value 8.1
scoring_system cvssv3.1
scoring_elements CVSS:3.1/AV:N/AC:L/PR:L/UI:N/S:U/C:H/I:H/A:N
1
value 7.6
scoring_system cvssv4
scoring_elements 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
2
value HIGH
scoring_system generic_textual
scoring_elements
url https://nvd.nist.gov/vuln/detail/CVE-2026-42349
4
reference_url https://github.com/advisories/GHSA-w24r-5266-9c3c
reference_id GHSA-w24r-5266-9c3c
reference_type
scores
0
value HIGH
scoring_system cvssv3.1_qr
scoring_elements
url https://github.com/advisories/GHSA-w24r-5266-9c3c
fixed_packages
0
url pkg:npm/%40clerk/react-router@2.4.13
purl pkg:npm/%40clerk/react-router@2.4.13
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540clerk/react-router@2.4.13
1
url pkg:npm/%40clerk/react-router@3.1.4
purl pkg:npm/%40clerk/react-router@3.1.4
is_vulnerable false
affected_by_vulnerabilities
resource_url http://public2.vulnerablecode.io/packages/pkg:npm/%2540clerk/react-router@3.1.4
aliases CVE-2026-42349, GHSA-w24r-5266-9c3c
risk_score 4.0
exploitability 0.5
weighted_severity 8.0
resource_url http://public2.vulnerablecode.io/vulnerabilities/VCID-uatw-95dq-tygq
Fixing_vulnerabilities
Risk_score4.0
Resource_urlhttp://public2.vulnerablecode.io/packages/pkg:npm/%2540clerk/react-router@1.0.6-snapshot.v20250203200248