Skip to main content

CVE-2026-34076

| EUVDEUVD-2026-17974 HIGH
Server-Side Request Forgery (SSRF) (CWE-918)
2026-03-27 https://github.com/clerk/javascript GHSA-gjxx-92w9-8v8f
7.4
CVSS 3.1 · Vendor: https://github.com/clerk/javascript
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Craft request path with repeated slashes
  2. Exploit
    Route through clerkFrontendApiProxy function
  3. Execution
    Bypass path validation logic
  4. Impact
    Proxy 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.

This Week Schedule remediation this week. Why: HIGH severity (CVSS 7.0-8.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – Mar 27, 2026

A SSRF vulnerability (CVSS 7.4). High severity vulnerability requiring prompt remediation.

Earlier versions of this analysis (1)
v1 Mar 27, 2026 - 20:30 CVSS 7.4

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

javascript @clerk/backend 3.0.0, < 3.2.3
javascript @clerk/hono 0.1.0, < 0.1.5
javascript @clerk/express 2.0.0, < 2.0.7
javascript @clerk/fastify 3.1.0, < 3.1.5

Affected Packages

npm @clerk/backend fix: 3.2.3
npm @clerk/express fix: 2.0.7
npm @clerk/fastify fix: 3.1.5
npm @clerk/hono fix: 0.1.5
euvd javascript_clerk_backend_3_0_0 fix: 3.2.3
euvd javascript_clerk_express_2_0_0 fix: 2.0.7
euvd javascript_clerk_fastify_3_1_0 fix: 3.1.5
euvd javascript_clerk_hono_0_1_0 fix: 0.1.5

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

Vendor (https://github.com/clerk/javascript) PRIMARY 7.4 HIGH
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

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
None

Lifecycle Timeline

2
Patch released
Mar 31, 2026 - 21:13 nvd
Patch available
CVE Published
Mar 27, 2026 - 19:58 nvd
HIGH 7.4

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

PackageAffected versionsFixed version
@clerk/backend>= 3.0.0, <= 3.2.23.2.3
@clerk/express>= 2.0.0, <= 2.0.62.0.7
@clerk/hono>= 0.1.0, <= 0.1.40.1.5
@clerk/fastify>= 3.1.0, <= 3.1.43.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

ts
app.use(clerkMiddleware({ frontendApiProxy: { enabled: true } }));

@clerk/hono

ts
app.use('*', clerkMiddleware({ frontendApiProxy: { enabled: true } }));

@clerk/fastify

ts
fastify.register(clerkPlugin, { frontendApiProxy: { enabled: true } });

@clerk/backend

ts
import { clerkFrontendApiProxy } from '@clerk/backend/proxy';

A quick way to check across your entire project:

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

  1. Upgrade to the patched version of @clerk/backend (and @clerk/express, @clerk/hono, etc.)
  2. 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.
  3. 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.

Executive ViewAI

Why It Matters

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.

Business Impact: High
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Threat Intel
1
1 source
Data Quality
6 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment GHSA GitHub VulDB

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.

SignalValue
Severity HIGH
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
HIGH severity (CVSS 7.0-8.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Scheduled
Exploitation
None
System Exposure· derived
Open
Automatable
No
Human Impact
High
Technical Impact
Total

Priority Score

37
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +37
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Server-Side Request Forgery exploits applications that fetch remote resources based on user-supplied URLs.

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy