Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB
CVE-2026-79650 Overview
CVE-2026-79650 is an open redirect vulnerability [CWE-601] in Apache CXF's OpenID Connect (OIDC) relying-party component. The flaw allows attackers to redirect authenticated users to attacker-controlled URLs after successful authentication. Attacker-controlled state parameters are preserved and later used as redirect targets without validating that the final decoded URI belongs to the relying party's origin. Both directly encoded and double-encoded external URLs can trigger the issue, depending on which validation path is used.
Critical Impact
Attackers can craft malicious authentication links that redirect victims to phishing or malware-hosting domains after OIDC login, enabling credential theft and session abuse.
Affected Products
- Apache CXF versions prior to 4.2.4
- Apache CXF versions prior to 4.1.9
- Apache CXF versions prior to 3.6.13
Discovery Timeline
- 2026-10-09 - CVE-2026-79650 published to NVD
- 2026-10-15 - Last updated in NVD database
Technical Details for CVE-2026-79650
Vulnerability Analysis
The vulnerability resides in the OIDC relying-party component of Apache CXF. During the OIDC authorization code flow, the state parameter is used to maintain application state between the authorization request and callback. Apache CXF preserves attacker-supplied values embedded in this parameter and later uses them to construct the post-authentication redirect target.
The relying party fails to validate that the final decoded URI resolves to its own origin. An attacker can supply either a directly URL-encoded external destination or a double-encoded payload that bypasses initial validation checks. Different validation paths within the component handle encoding inconsistently, producing a redirect to the attacker-chosen host once the user completes authentication.
Root Cause
The root cause is improper validation of redirect destinations [CWE-601]. The OIDC relying-party logic trusts the decoded output of the state parameter without enforcing an allow-list of origins or verifying that the host matches the relying party's registered domain. Inconsistent decoding between validation and redirect execution enables the double-encoding bypass.
Attack Vector
Exploitation requires user interaction. An attacker crafts a URL that initiates an OIDC authentication flow against the vulnerable relying party, embedding an encoded external URL in the state parameter. The victim clicks the link, authenticates successfully to the legitimate identity provider, and is then redirected to the attacker's domain. The resulting page can mimic the trusted application to harvest credentials or deliver malware.
Technical details are documented in the Apache mailing list thread and the OpenWall oss-security announcement.
Detect Identity Attacks the Moment Authentication Fails
Singularity™ Identity surfaces credential misuse, lateral movement, and privilege escalation in real time, so you can contain the breach before it spreads.
Stop Identity AttacksDetection Methods for CVE-2026-79650
Indicators of Compromise
- OIDC authentication requests containing state parameter values that decode to external URLs or hostnames outside the relying party's origin.
- HTTP 302 responses from the relying-party callback endpoint pointing to third-party domains.
- Repeated use of double URL-encoded sequences (%253A%252F%252F) in the state parameter.
Detection Strategies
- Inspect reverse-proxy and application logs for OIDC callback responses that issue redirects to hosts not on an approved list.
- Parse the state query parameter in authorization requests and flag values that decode to absolute URLs.
- Correlate OIDC login completion events with subsequent navigation to external domains in the same session.
Monitoring Recommendations
- Enable verbose logging on Apache CXF OIDC relying-party endpoints to capture full request and response URIs.
- Alert on anomalous referrer chains where authenticated users leave the application immediately after login.
- Monitor user reports of unexpected redirects following login attempts.
How to Mitigate CVE-2026-79650
Immediate Actions Required
- Upgrade Apache CXF to version 4.2.4, 4.1.9, or 3.6.13 depending on the deployed release branch.
- Audit OIDC relying-party configurations for any custom handling of the state parameter.
- Review web server and application logs for prior exploitation attempts against the OIDC callback endpoint.
Patch Information
Apache has released fixed versions 4.2.4, 4.1.9, and 3.6.13 that validate the decoded redirect URI against the relying party's origin. Patch details are available in the Apache CXF announcement thread.
Workarounds
- Deploy a reverse-proxy rule that strips or sanitizes the state parameter before it reaches the OIDC callback endpoint if immediate patching is not feasible.
- Enforce an allow-list of permitted post-authentication redirect targets at the web application firewall layer.
- Educate users to validate the browser address bar after completing OIDC authentication flows.
# Example WAF rule to block state parameters containing external URLs
# ModSecurity rule - blocks state values that decode to http(s) schemes
SecRule ARGS:state "@rx (?i)(%25)?(3a|%3a):(%25)?(2f|%2f){2}" \
"id:1079650,phase:2,deny,status:400,\
msg:'CVE-2026-79650: Potential open redirect via OIDC state parameter'"
Disclaimer: This content was generated using AI. While we strive for accuracy, please verify critical information with official sources.
Sources: National Vulnerability Database, CISA KEV, Exploit-DB

