# CVE-2026-25651: client-certificate-auth has an Open Redirect via Host Header Injection in HTTP-to-HTTPS redirect

- Severity: Medium 6.1 (CVSS:3.1, scored by GitHub_M) `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.18%, higher than 8% of CVEs (2026-12-01)
- Public exploit code or proof of concept: one link below, marked "exploit"
- Published: 2026-02-06T18:50:26.046Z
- Modified: 2026-06-17T10:25:01.167Z
- Also known as: GHSA-m4w9-gch5-c2g4
- Weaknesses: CWE-601
- SSVC (CISA-ADP): exploitation none, automatable no, technical impact partial
- Assigned by: GitHub_M

## 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.

(As written by CVE List.)

## Affected

- tgies client-certificate-auth: >= 0.2.1, < 1.0.0; from 0.2.1 before 1.0.0
- client-certificate-auth (npm): from 0.2.1 before 1.0.0

## Every score

- GitHub_M: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.1 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:R/S:C/C:L/I:L/A:N`

## References

- <https://github.com/tgies/client-certificate-auth/security/advisories/GHSA-m4w9-gch5-c2g4> (exploit, vendor-advisory, web)
- <https://github.com/tgies/client-certificate-auth/releases/tag/v1.0.0> (release-notes, web)
- <https://nvd.nist.gov/vuln/detail/CVE-2026-25651> (advisory)
- <https://github.com/tgies/client-certificate-auth/commit/8fc995e953db483495be46862965e50fe9e1cc52> (web)
- <https://github.com/tgies/client-certificate-auth> (package)

## Sources

- CVE List: [CVE-2026-25651](https://www.cve.org/CVERecord?id=CVE-2026-25651), CVE Terms of Use, modified 2026-02-09
- GitHub Advisory Database: [GHSA-m4w9-gch5-c2g4](https://github.com/advisories/GHSA-m4w9-gch5-c2g4), CC-BY-4.0, modified 2026-02-06
- NVD: [CVE-2026-25651](https://nvd.nist.gov/vuln/detail/CVE-2026-25651), Public domain, modified 2026-06-17

---

Page: https://cve.day/CVE-2026-25651 · Whole record: https://cve.day/CVE-2026-25651.json · Rebuilt by cve.day 2026-11-25T22:59:13.567Z
