Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessCraft request path with repeated slashes
-
ExploitRoute through clerkFrontendApiProxy function
-
ExecutionBypass path validation logic
-
ImpactProxy sends Clerk-Secret-Key to attacker server
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A01:2025 - Broken Access Control
ASVS 5.0
V4 - API and Web Service URL allowlisting, SSRF prevention
MITRE ATT&CK
2 techniques across 2 tactics: Initial Access, Credential Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Requires @clerk/backend package with frontendApiProxy feature explicitly enabled (not default). Unauthenticated remote attacker crafts malicious request path to exfiltrate Clerk-Secret-Key to attacker-controlled server. @clerk/nextjs applications unaffected. |
| Impact | CVSS 7.4. No patch confirmed. |
| Exploit ScenarioDerived | An attacker could exploit this vulnerability in the affected application to compromise the security of affected deployments, potentially impacting confidentiality, integrity, or availability. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Mar 27, 2026
A SSRF vulnerability (CVSS 7.4). High severity vulnerability requiring prompt remediation.
Earlier versions of this analysis (1)
The 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 app
RemediationAI
Monitor vendor channels for patch availability.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 8 packages in npm, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
CWE-918 (Server-Side Request Forgery). CVSS 7.4 indicates high severity.
Know when the next one hits your stack
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N
Primary rating from Vendor (https://github.com/clerk/javascript) · only source for this CVE.
CVSS VectorVendor: https://github.com/clerk/javascript
Lifecycle Timeline
2DescriptionCVE.org
Summary
The 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.
Affected packages
Only 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.
| Package | Affected versions | Fixed version |
|---|---|---|
@clerk/backend | >= 3.0.0, <= 3.2.2 | 3.2.3 |
@clerk/express | >= 2.0.0, <= 2.0.6 | 2.0.7 |
@clerk/hono | >= 0.1.0, <= 0.1.4 | 0.1.5 |
@clerk/fastify | >= 3.1.0, <= 3.1.4 | 3.1.5 |
Search your codebase for the frontendApiProxy option. If none of the patterns below appear in your code, you are not affected.
@clerk/express
app.use(clerkMiddleware({ frontendApiProxy: { enabled: true } }));@clerk/hono
app.use('*', clerkMiddleware({ frontendApiProxy: { enabled: true } }));@clerk/fastify
fastify.register(clerkPlugin, { frontendApiProxy: { enabled: true } });@clerk/backend
import { clerkFrontendApiProxy } from '@clerk/backend/proxy';A quick way to check across your entire project:
grep -r "frontendApiProxy\|clerkFrontendApiProxy" .If there are no matches, you are not using this feature.
Recommended actions
Clerk'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.
- Upgrade to the patched version of
@clerk/backend(and@clerk/express,@clerk/hono, etc.) - 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 under API Keys. You should deploy your application with the updated key before revoking the existing key.
- Audit access logs for requests to your proxy endpoint (
/__clerk/by default) containing double slashes in the path.
Credit
Discovered during an internal code audit.
Blast Radius
ecosystem impact- 1 npm packages depend on @clerk/backend (1 direct, 0 indirect)
Ecosystem-wide dependent count for version 3.0.0.
Executive ViewAI
Clerk authentication proxy contains a server-side request forgery vulnerability that allows unauthenticated attackers to steal API secret keys from applications using the optional frontendApiProxy feature, potentially compromising authentication infrastructure and user data across backend, Express, Hono, and Fastify integrations. Organizations using affected Clerk packages risk unauthorized access to their authentication systems and customer data if this vulnerability is exploited before mitigation is deployed.
No vendor-released patch identified at time of analysis. Until patching is available: (1) Disable the frontendApiProxy feature in all affected Clerk packages unless operationally critical; (2) Implement strict network-level access controls to restrict outbound proxy requests to only legitimate backend endpoints; (3) Rotate Clerk API secret keys immediately and monitor for unauthorized API activity; (4) Implement rate-limiting and request validation on authentication endpoints; (5) Monitor for exploitation attempts by logging all requests with Clerk-Secret-Key headers. Actively monitor Clerk security advisories for patch release timeline.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.
EUVD-2026-17974
GHSA-gjxx-92w9-8v8f
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB