Open Redirect Affecting client-certificate-auth package, versions >=0.2.1 <1.0.0


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.01% (4th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about Open Redirect vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JS-CLIENTCERTIFICATEAUTH-15248346
  • published8 Feb 2026
  • disclosed6 Feb 2026
  • creditUnknown

Introduced: 6 Feb 2026

CVE-2026-25651  (opens in a new tab)
CWE-601  (opens in a new tab)

How to fix?

Upgrade client-certificate-auth to version 1.0.0 or higher.

Overview

client-certificate-auth is an Express/Connect middleware for mTLS client certificate authentication with reverse proxy support (AWS ALB, Envoy, Cloudflare, Traefik)

Affected versions of this package are vulnerable to Open Redirect via the redirect process. An attacker can cause users to be redirected to arbitrary domains by injecting a malicious Host header in HTTP requests. This can lead to phishing, credential theft, referer leakage, or cache poisoning. This is only exploitable if HTTP traffic reaches the application without TLS termination setting x-forwarded-proto: https.

Workaround

This vulnerability can be mitigated by blocking HTTP traffic at the network or load balancer level, ensuring the reverse proxy always sets x-forwarded-proto: https, or adding middleware to validate the Host header against an allowlist before processing.

CVSS Base Scores

version 4.0
version 3.1