client-certificate-auth has an Open Redirect via Host Header Injection in HTTP-to-HTTPS redirect
Key facts
- Attack vector
- Network
- Privileges required
- None
- User interaction
- Required
- Attack complexity
- Low
- Impact type
- Spoofing
- Confidentiality · integrity · availability
- Low · Low · None
- Fix status
- Fixed
Attack profile from CVSS 3.1 · CNA. Fix status from CNA and GitHub. Impact type from CWE-601.
Summary
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.
Why it matters now
SSVC decision points
CISA ADP · SSVC 2.0.3
- Exploitation
- None
- Automatable
- No
- Technical impact
- Partial
The decision (Track, Attend, Act) also depends on your mission and well-being impact; see CISA's SSVC guide.
Affected products
| Vendor | Product | Affected versions | Fixed in | Status | Source |
|---|---|---|---|---|---|
| tgies | client-certificate-auth | 0.2.1 to before 1.0.0 | 1.0.0 | Patch available | CNA |
| — | client-certificate-auth (npm) | 0.2.1 to before 1.0.0 | 1.0.0 | Patch available | GHSA-m4w9-gch5-c2g4 |
- client-certificate-auth Vendortgies Affected 0.2.1 to before 1.0.0 Fixed in 1.0.0 Patch available CNA
- client-certificate-auth (npm) Vendor— Affected 0.2.1 to before 1.0.0 Fixed in 1.0.0 Patch available GHSA-m4w9-gch5-c2g4
Remediation
- Fix · CNA client-certificate-auth (tgies) Fixed in 1.0.0
- Fix · GHSA-m4w9-gch5-c2g4 client-certificate-auth (npm) Fixed in 1.0.0 Advisory →
Timeline
- 2026-10-02 Threatist record created from CVE-2026-25651
- 2026-10-03 Alias added: GHSA-m4w9-gch5-c2g4
References
Sources
- CVE-2026-25651 · CVE Program
- CVE-2026-25651 · NVD
- FIRST EPSS
- GHSA-m4w9-gch5-c2g4 · GitHub Advisory Database · CC BY 4.0
This product uses the NVD API but is not endorsed or certified by the NVD. Sources and licences