Skip to main content
Press slash or control plus K to focus the search. Use the arrow keys to navigate results and press enter to open a threat.
Reconnecting to live updates…

CVE-2026-25651: CWE-601: URL Redirection to Untrusted Site ('Open Redirect') in tgies client-certificate-auth

0
Medium
VulnerabilityCVE-2026-25651cvecve-2026-25651cwe-601
Published: Fri Feb 06 2026 (02/06/2026, 18:50:26 UTC)
Source: CVE Database V5
Vendor/Project: tgies
Product: client-certificate-auth

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.

AI-Powered Analysis

Machine-generated threat intelligence

AILast updated: 02/14/2026, 12:11:35 UTC

Technical Analysis

CVE-2026-25651 identifies an open redirect vulnerability (CWE-601) in the tgies client-certificate-auth middleware for Node.js, specifically in versions >= 0.2.1 and < 1.0.0. This middleware is designed to enforce client SSL certificate authentication and authorization by redirecting HTTP requests to HTTPS. However, it unconditionally uses the Host header from incoming HTTP requests to construct the redirect URL without validating or sanitizing it. Since the Host header can be manipulated by an attacker, this flaw allows redirection to arbitrary external domains. Such open redirects can be exploited in phishing campaigns, where users are redirected to malicious sites that appear legitimate, potentially leading to credential theft or malware delivery. The vulnerability does not require authentication but does require user interaction (clicking a link). The CVSS 3.1 base score is 6.1, reflecting medium severity due to the potential for confidentiality and integrity impacts but no direct availability impact. The vulnerability is fixed in version 1.0.0 of the middleware. No public exploits have been reported yet, but the flaw presents a risk especially in environments where client-certificate-auth is used to secure sensitive applications.

Potential Impact

For European organizations, this vulnerability poses a risk primarily in the form of phishing and social engineering attacks that leverage the open redirect to bypass user trust. Attackers can craft URLs that appear to originate from legitimate internal services but redirect users to malicious external sites, potentially leading to credential compromise or malware infection. Organizations relying on client-certificate-auth middleware in Node.js for secure access control may see erosion of trust in their authentication mechanisms. While the vulnerability does not directly compromise system availability or allow unauthorized access, it can facilitate attacks that lead to broader security breaches. The impact is heightened in sectors with stringent security requirements such as finance, healthcare, and government, where client certificate authentication is more prevalent. Additionally, the scope includes all affected versions, so organizations running outdated middleware are at risk until they upgrade or implement mitigations.

Mitigation Recommendations

European organizations should immediately upgrade the tgies client-certificate-auth middleware to version 1.0.0 or later, where the open redirect vulnerability is fixed. Until upgrading is possible, implement strict validation of the Host header to ensure it matches a whitelist of trusted domains before performing redirects. Employ web application firewalls (WAFs) with rules to detect and block suspicious redirect patterns. Educate users about the risks of clicking unexpected links and implement multi-factor authentication to reduce the impact of credential theft. Monitor logs for unusual redirect requests and anomalous traffic patterns. Additionally, consider deploying HTTP Strict Transport Security (HSTS) headers to enforce HTTPS usage without relying solely on redirects. Regularly review and update dependency versions in Node.js applications to prevent similar vulnerabilities.

Pro Console: star threats, build custom feeds, automate alerts via Slack, email & webhooks.Upgrade to Pro

Technical Details

Data Version
5.2
Assigner Short Name
GitHub_M
Date Reserved
2026-02-04T05:15:41.792Z
Cvss Version
3.1
State
PUBLISHED

Threat ID: 69863dc0f9fa50a62f29294b

Added to database: 2/6/2026, 7:15:12 PM

Last enriched: 2/14/2026, 12:11:35 PM

Last updated: 3/22/2026, 2:00:42 PM

Views: 60

Community Reviews

0 reviews

Crowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.

Sort by
Loading community insights…

Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.

Actions

PRO

Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.

Please log in to the Console to use AI analysis features.

Need more coverage?

Upgrade to Pro Console for AI refresh and higher limits.

For incident response and remediation, OffSeq services can help resolve threats faster.

Latest Threats

Breach by OffSeqOFFSEQFRIENDS — 25% OFF

Check if your credentials are on the dark web

Instant breach scanning across billions of leaked records. Free tier available.

Scan now
OffSeq TrainingCredly Certified

Lead Pen Test Professional

Technical5-day eLearningPECB Accredited
View courses