
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-34076 is a Server-Side Request Forgery (SSRF) vulnerability in the clerkFrontendApiProxy function of Clerk's JavaScript SDK. An unauthenticated attacker can craft a malicious request path that causes the proxy to forward the application's Clerk-Secret-Key to an attacker-controlled server. The vulnerability affects @clerk/backend (>=3.0.0, <=3.2.2), @clerk/express (>=2.0.0, <=2.0.6), @clerk/hono (>=0.1.0, <=0.1.4), and @clerk/fastify (>=3.1.0, <=3.1.4). It was published on March 26, 2026, and carries a CVSS v3.1 base score of 7.4 (High) (GitHub Advisory, Github Advisory).
The root cause is classified as CWE-918 (Server-Side Request Forgery), where the clerkFrontendApiProxy function fails to sufficiently validate or sanitize the destination of proxied requests. An attacker can craft a request path — likely exploiting double slashes or path traversal sequences — that redirects the proxy to an attacker-controlled host while the application's Clerk-Secret-Key is included in the outbound request headers. No authentication is required to trigger the vulnerability. The flaw is only exploitable in applications that have explicitly opted into the frontendApiProxy feature (not enabled by default), and @clerk/nextjs users are not affected due to how that framework normalizes repeated / characters in request paths (GitHub Advisory).
Successful exploitation results in the exfiltration of the application's Clerk-Secret-Key to an attacker-controlled server, with high impact to both confidentiality and integrity. With the stolen secret key, an attacker could impersonate the application, perform unauthorized API operations, access user data managed by Clerk, and potentially take over user accounts. Availability is not directly impacted, but the compromise of the secret key could enable persistent unauthorized access until the key is rotated (GitHub Advisory, Github Advisory).
No public proof-of-concept exploit code has been identified, and Clerk's internal logs showed no evidence of exploitation in the wild at the time of disclosure. The vulnerability was discovered during an internal code audit. The EPSS score is approximately 0.033% (0.000380 per Feedly data), indicating a low near-term exploitation probability. The vulnerability is not listed in the CISA Known Exploited Vulnerabilities (KEV) catalog. Exploitation requires the target application to have explicitly enabled the frontendApiProxy feature, which limits the attack surface (GitHub Advisory).
@clerk/express, @clerk/hono, @clerk/fastify, or @clerk/backend) that expose a frontend API proxy endpoint (typically /__clerk/ by default)./__clerk/ and observing whether the application responds with Clerk API data, indicating the frontendApiProxy feature is active./__clerk//attacker-controlled-host.com/path) that causes the proxy to redirect the outbound request to an attacker-controlled server instead of Clerk's legitimate API.Clerk-Secret-Key will be included in the request headers forwarded by the vulnerable proxy.Clerk-Secret-Key to authenticate against Clerk's backend API, enabling account enumeration, user data access, token generation, or other unauthorized administrative actions (GitHub Advisory)./__clerk/ by default); requests to attacker-controlled domains containing Clerk API authentication headers./__clerk/) containing double slashes or unusual path sequences (e.g., /__clerk//external-host.com/); unexpected HTTP requests to non-Clerk domains from the backend service.Upgrade to the patched versions immediately: @clerk/backend 3.2.3, @clerk/express 2.0.7, @clerk/hono 0.1.5, and @clerk/fastify 3.1.5. After upgrading, rotate the Clerk-Secret-Key via the Clerk Dashboard under API Keys — deploy the application with the new key before revoking the old one to avoid downtime. If upgrading is not immediately possible, disable the frontendApiProxy feature by removing the frontendApiProxy: { enabled: true } configuration. To check if your codebase is affected, run: grep -r "frontendApiProxy\|clerkFrontendApiProxy" . — if there are no matches, you are not using the vulnerable feature (GitHub Advisory, Github Advisory).
The vulnerability was discovered through an internal code audit by Clerk and disclosed by nikosdouvlis on March 26, 2026. Clerk noted in the advisory that their internal logs showed no evidence of exploitation in the wild at the time of disclosure, and the feature affected is opt-in and not enabled by default, limiting the practical impact. No significant external researcher commentary or broad media coverage has been identified (GitHub Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."