{"url":"http://public2.vulnerablecode.io/api/packages/963564?format=json","purl":"pkg:npm/%40clerk/backend@3.2.3-snapshot.v20260325172303","type":"npm","namespace":"@clerk","name":"backend","version":"3.2.3-snapshot.v20260325172303","qualifiers":{},"subpath":"","is_vulnerable":true,"next_non_vulnerable_version":"2.4.0","latest_non_vulnerable_version":"3.2.14","affected_by_vulnerabilities":[{"url":"http://public2.vulnerablecode.io/api/vulnerabilities/21262?format=json","vulnerability_id":"VCID-bx8c-9525-jbdj","summary":"Clerk: SSRF in the opt-in clerkFrontendApiProxy feature may leak secret keys to unintended host\n## Summary\n\nThe `clerkFrontendApiProxy` function in `@clerk/backend` is vulnerable to Server-Side Request Forgery (SSRF). An unauthenticated attacker can craft a request path that causes the proxy to send the application's `Clerk-Secret-Key` to an attacker-controlled server.\n\n## Affected packages\n\nOnly applications that have opted into the `frontendApiProxy` feature are affected. This feature is not enabled by default. **Users of `@clerk/nextjs` are not affected** due to how the framework handles repeated `/` in request paths.\n\n| Package | Affected versions | Fixed version |\n|---|---|---|\n| `@clerk/backend` | `>= 3.0.0, <= 3.2.2` | `3.2.3` |\n| `@clerk/express` | `>= 2.0.0, <= 2.0.6` | `2.0.7` |\n| `@clerk/hono` | `>= 0.1.0, <= 0.1.4` | `0.1.5` |\n| `@clerk/fastify` | `>= 3.1.0, <= 3.1.4` | `3.1.5` |\n\nSearch your codebase for the `frontendApiProxy` option. If none of the patterns below appear in your code, you are not affected.\n\n**@clerk/express**\n```ts\napp.use(clerkMiddleware({ frontendApiProxy: { enabled: true } }));\n```\n\n**@clerk/hono**\n```ts\napp.use('*', clerkMiddleware({ frontendApiProxy: { enabled: true } }));\n```\n\n**@clerk/fastify**\n```ts\nfastify.register(clerkPlugin, { frontendApiProxy: { enabled: true } });\n```\n\n**@clerk/backend**\n```ts\nimport { clerkFrontendApiProxy } from '@clerk/backend/proxy';\n```\n\nA quick way to check across your entire project:\n\n```sh\ngrep -r \"frontendApiProxy\\|clerkFrontendApiProxy\" .\n```\n\nIf there are no matches, you are not using this feature.\n\n\n## Recommended actions\n\nClerk's internal logs show no evidence of users utilizing the built-in proxy with the impacted versions. Despite that, if you are on an impacted version and use the built-in proxy we recommend upgrading and rotating your Clerk Secret Key immediately.\n\n1. **Upgrade** to the patched version of `@clerk/backend` (and `@clerk/express`, `@clerk/hono`, etc.)\n2. **Rotate your Clerk Secret Key** after upgrading - if an attacker exploited this vulnerability, they may have captured your key. Rotate it in the [Clerk Dashboard](https://dashboard.clerk.com) under **API Keys**.  You should deploy your application with the updated key before revoking the existing key.\n3. **Audit access logs** for requests to your proxy endpoint (`/__clerk/` by default) containing double slashes in the path.\n\n\n\n## Credit\n\nDiscovered during an internal code audit.","references":[{"reference_url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34076","reference_id":"","reference_type":"","scores":[{"value":"0.00025","scoring_system":"epss","scoring_elements":"0.07542","published_at":"2026-05-29T12:55:00Z"}],"url":"https://api.first.org/data/v1/epss?cve=CVE-2026-34076"},{"reference_url":"https://github.com/clerk/javascript","reference_id":"","reference_type":"","scores":[{"value":"7.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://github.com/clerk/javascript"},{"reference_url":"https://github.com/clerk/javascript/security/advisories/GHSA-gjxx-92w9-8v8f","reference_id":"","reference_type":"","scores":[{"value":"7.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""},{"value":"Track","scoring_system":"ssvc","scoring_elements":"SSVCv2/E:N/A:N/T:T/P:M/B:A/M:M/D:T/2026-04-01T18:00:15Z/"}],"url":"https://github.com/clerk/javascript/security/advisories/GHSA-gjxx-92w9-8v8f"},{"reference_url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34076","reference_id":"","reference_type":"","scores":[{"value":"7.4","scoring_system":"cvssv3.1","scoring_elements":"CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N"},{"value":"HIGH","scoring_system":"generic_textual","scoring_elements":""}],"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-34076"},{"reference_url":"https://github.com/advisories/GHSA-gjxx-92w9-8v8f","reference_id":"GHSA-gjxx-92w9-8v8f","reference_type":"","scores":[],"url":"https://github.com/advisories/GHSA-gjxx-92w9-8v8f"}],"fixed_packages":[{"url":"http://public2.vulnerablecode.io/api/packages/56366?format=json","purl":"pkg:npm/%40clerk/backend@3.2.3","is_vulnerable":false,"affected_by_vulnerabilities":[],"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540clerk/backend@3.2.3"}],"aliases":["CVE-2026-34076","GHSA-gjxx-92w9-8v8f"],"risk_score":null,"exploitability":null,"weighted_severity":null,"resource_url":"http://public2.vulnerablecode.io/vulnerabilities/VCID-bx8c-9525-jbdj"}],"fixing_vulnerabilities":[],"risk_score":null,"resource_url":"http://public2.vulnerablecode.io/packages/pkg:npm/%2540clerk/backend@3.2.3-snapshot.v20260325172303"}