CVE-2026-25651 Details
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.
A open redirect vulnerability has been identified in the client-certificate-auth middleware for Node.js, specifically in versions 0.2.1 and 0.3.0. The vulnerability arises because the middleware redirects HTTP requests to HTTPS using an unvalidated Host header. This flaw allows attackers to redirect users to arbitrary domains. The issue has been resolved in version 1.0.0.
Upgrade to client-certificate-auth version 1.0.0, which removes the vulnerable redirect behavior. If an immediate upgrade is not possible, block HTTP traffic at the network or load balancer level, ensure that the reverse proxy sets 'x-forwarded-proto: https', or add middleware to validate the Host header against an allowlist.
Metrics
CVSS 4.0 Severity and Vector Strings:
No CVSS 4.0 data is available for this CVE.
CVSS 3.x Severity and Vector Strings:
No data available for CVSS Version 2.0 on this CVE.
CISA-ADP
Assessed Feb 9, 2026References to Advisories, Solutions, and Tools
By selecting these links, you will be leaving this site. These are references gathered from the official CVE record and are not endorsed by Volerion.
| URL | Source(s) | Tag(s) |
|---|---|---|
| https://github.com/tgies/client-certificate-auth/releases/tag/v1.0.0 | [email protected] | Release Notes |
| https://github.com/tgies/client-certificate-auth/security/advisories/GHSA-m4w9-gch5-c2g4 | [email protected] | ExploitVendor Advisory |
Weakness Enumeration
| CWE-ID | CWE Name | Source |
|---|---|---|
| CWE-601 | URL Redirection to Untrusted Site ('Open Redirect') | [email protected] |
Affected Products
| Product | Versions |
|---|---|
| tgies client-certificate-auth | >= 0.2.1, < 1.0.0 |
CPE
Remediation
| |
Change History
4 change records found show changes
| Date | Action | Recorded By |
|---|---|---|
| Jun 17, 2026 | CVE Modified | [email protected] |
| Jun 17, 2026 | CVE Modified | CISA-ADP |
| Feb 24, 2026 | Initial Analysis | [email protected] |
| Feb 6, 2026 | New CVE Received | [email protected] |