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-71575 Overview
Apache CXF contains a flaw in the OidcClientCodeRequestFilter where the max_age authentication-freshness check fails to execute correctly. A unit mismatch between milliseconds and seconds, combined with an inverted comparison polarity, renders the check inoperative. Relying parties that call setMaxAgeOffset to enforce re-authentication silently accept sessions of any age. This defeats step-up authentication policies tied to OpenID Connect (OIDC) flows. The weakness is tracked under [CWE-613: Insufficient Session Expiration].
Critical Impact
Any OIDC relying party relying on max_age for session freshness accepts stale sessions, bypassing step-up and re-authentication controls intended to protect sensitive operations.
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 CVE-2026-71575 published to NVD
- 2026-10-16 - Last updated in NVD database
Technical Details for CVE-2026-71575
Vulnerability Analysis
The OidcClientCodeRequestFilter in Apache CXF implements the OIDC max_age parameter, which instructs the authorization server to require fresh authentication when the user's existing session exceeds a configured age. The filter compares the elapsed time since the last authentication (auth_time claim) against the configured maximum age. Two defects break this check.
First, the filter mixes time units. One side of the comparison uses seconds (as specified by OIDC), while the other side uses milliseconds. The resulting numeric comparison is meaningless for its intended purpose.
Second, the comparison operator is inverted. Even when units aligned, the filter would evaluate freshness in the wrong direction. The combined effect is that no session is ever rejected for being too old.
Relying parties that call setMaxAgeOffset to require re-authentication for sensitive flows receive no protection. Attackers who obtain or reuse an old session token can access resources that policy intended to gate behind fresh authentication.
Root Cause
The root cause is a logic defect in the authentication-freshness comparison inside OidcClientCodeRequestFilter. The code treats one time value in milliseconds and the other in seconds, and the inequality is written in the wrong direction. Both defects must be corrected for the max_age enforcement to function.
Attack Vector
The flaw is network-reachable and requires no privileges or user interaction. An attacker who holds a valid but stale session, or who replays an old authentication artifact, can access protected endpoints that depend on max_age for step-up assurance. Step-up flows guarding administrative actions, financial transactions, or privileged configuration are the primary targets.
No verified public proof-of-concept code is available. See the Apache Mailing List Thread and Openwall OSS-Security Update for vendor details.
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-71575
Indicators of Compromise
- Successful access to step-up-protected endpoints by sessions whose auth_time claim is older than the configured max_age window.
- Absence of fresh authentication redirects to the OIDC provider when max_age enforcement is expected.
- Audit log entries showing privileged OIDC-authenticated actions from sessions established hours or days earlier.
Detection Strategies
- Inventory Java services using apache:cxf and identify those invoking setMaxAgeOffset on OidcClientCodeRequestFilter.
- Compare the auth_time claim in received ID tokens against access timestamps for sensitive endpoints to find sessions that should have been rejected.
- Review OIDC provider logs for the expected volume of prompt=login or max_age-driven re-authentication events and investigate unexpected drops.
Monitoring Recommendations
- Alert on privileged OIDC transactions where the token auth_time exceeds the application's configured freshness threshold.
- Track Apache CXF version strings across the fleet and flag any instance below 3.6.13, 4.1.9, or 4.2.4.
- Correlate authentication timestamps with sensitive business actions in the SIEM to surface silent policy failures.
How to Mitigate CVE-2026-71575
Immediate Actions Required
- Upgrade Apache CXF to version 4.2.4, 4.1.9, or 3.6.13, matching the active release branch.
- Audit all relying parties that call setMaxAgeOffset and treat recent step-up-protected activity as potentially unverified until patched.
- Rotate or invalidate long-lived OIDC sessions after upgrading to force fresh authentication for sensitive flows.
Patch Information
The Apache CXF project corrected the unit mismatch and comparison polarity in versions 4.2.4, 4.1.9, and 3.6.13. Full details are available in the Apache Mailing List Thread announcing the fix. Operators should align upgrades with their current branch rather than mixing release lines.
Workarounds
- Enforce short OIDC provider-side session lifetimes so stale sessions expire regardless of relying-party checks.
- Require prompt=login on sensitive flows as an interim measure until the CXF upgrade is deployed.
- Add server-side authorization checks that re-validate auth_time from the ID token before authorizing step-up operations.
# Example Maven dependency pinned to a fixed version
# Replace with 4.1.9 or 3.6.13 as appropriate for your branch
mvn versions:set-property -Dproperty=cxf.version -DnewVersion=4.2.4
mvn versions:commit
mvn clean verify
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

