Vulnerability · Published Feb 6, 2026 · Assigned by GitHub_M
CVE-2026-25651client-certificate-auth has an Open Redirect via Host Header Injection in HTTP-to-HTTPS redirect
Medium 6.1
In plain English
A medium-severity open redirect in client-certificate-auth from tgies. There are no confirmed reports of exploitation so far. The chance it is exploited in the next 30 days is estimated at 0.2% (higher than 8% of all known vulnerabilities). Fixed versions are available - upgrade the affected package.
Official description
client-certificate-auth is middleware for Node.js implementing client SSL certificate authentication/authorization. Versions 0.2.1 and 0.3.0 of client-certificate-auth contain an open redirect vulnerability. The middleware unconditionally redirects HTTP requests to HTTPS using the unvalidated Host header, allowing an attacker to redirect users to arbitrary domains. This vulnerability is fixed in 1.0.0.
Affected packages & fixed versions
| Ecosystem | Package | Fixed in | Advisory |
|---|---|---|---|
| npm | client-certificate-auth | 1.0.0 | GHSA-m4w9-gch5-c2g4 |
Affected products (as reported)
| Vendor | Product | Versions |
|---|---|---|
| tgies | client-certificate-auth | >= 0.2.1, < 1.0.0 |
Weakness: CWE-601 · Vector: CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N