CVE-2026-25651 client-certificate-auth has an Open Redirect via Host Header Injection in HTTP-to-HTTPS redirect
MediumCVSS 6.1
EPSS 0.18%
- Published
- Updated
- Exploit status
- No public exploit known
- CISA SSVC
- No known exploitation · automatable: no · technical impact: partial
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.
Upgrade path
2 packages: 2 fixed.
| Package | Affected | Fixed in | Status |
|---|---|---|---|
| npm client-certificate-auth(npm) | >= 0.2.1, < 1.0.0 | 1.0.0 | Fixed |
| tgies client-certificate-auth | = >= 0.2.1, < 1.0.0; >= 0.2.1, < 1.0.0 | 1.0.0 | Fixed |
Affected products
| Product | Affected versions | Fixed in |
|---|---|---|
| tgies client-certificate-auth | = >= 0.2.1, < 1.0.0 | No fix listed |
| npm client-certificate-auth(npm) | >= 0.2.1, < 1.0.0 | 1.0.0 |
| tgies client-certificate-auth | >= 0.2.1, < 1.0.0 | 1.0.0 |
References
- https://github.com/tgies/client-certificate-auth/security/advisories/GHSA-m4w9-gch5-c2g4 exploit vendor-advisory
- https://github.com/tgies/client-certificate-auth/releases/tag/v1.0.0 release-notes
- github.com patch
- nvd.nist.gov third-party-advisory vendor-advisory
- github.com
- github.com product