CVE-2026-50628: CWE-20 Improper Input Validation in Apache Software Foundation Apache CXF
A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly allowing requests from any other IP address. Enabling this security feature inadvertently creates an inverse security check. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
AI Analysis
Technical Summary
This vulnerability in Apache CXF's OAuthRequestFilter arises from improper input validation (CWE-20) and a logic error that reverses the intended IP address check. Instead of allowing requests from the bound IP and rejecting others, it rejects legitimate requests from the bound IP and permits requests from any other IP address. This flaw effectively creates an inverse security check, potentially allowing unauthorized access. The issue is fixed in Apache CXF versions 4.2.2 and 4.1.7. The CVSS v3.1 base score is 9.8, indicating critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The Red Hat advisory confirms the vulnerability and recommends upgrading to patched versions.
Potential Impact
The vulnerability allows unauthorized access due to a logic error in IP address validation within the OAuthRequestFilter. This can lead to attackers bypassing intended IP restrictions, potentially compromising confidentiality, integrity, and availability of affected systems running Apache CXF 4.2.0. The critical CVSS score of 9.8 reflects the high impact and ease of exploitation over the network without authentication or user interaction.
Mitigation Recommendations
A fix is available. Users should upgrade Apache CXF to versions 4.2.2 or 4.1.7, which address this logic error in OAuthRequestFilter. The Red Hat advisory confirms the availability of these patched versions. No other mitigations are specifically recommended beyond applying the official fix.
CVE-2026-50628: CWE-20 Improper Input Validation in Apache Software Foundation Apache CXF
Description
A logic error in OAuthRequestFilter rejects legitimate requests originating from the bound IP address, while blindly allowing requests from any other IP address. Enabling this security feature inadvertently creates an inverse security check. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
CVSS v3.1
Score 9.8critical
Affected software
pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2Run on your own infrastructure? Check whether these packages are installed with threat-finder — our free open-source scanner.
AI-Powered Analysis
Machine-generated threat intelligence
Technical Analysis
This vulnerability in Apache CXF's OAuthRequestFilter arises from improper input validation (CWE-20) and a logic error that reverses the intended IP address check. Instead of allowing requests from the bound IP and rejecting others, it rejects legitimate requests from the bound IP and permits requests from any other IP address. This flaw effectively creates an inverse security check, potentially allowing unauthorized access. The issue is fixed in Apache CXF versions 4.2.2 and 4.1.7. The CVSS v3.1 base score is 9.8, indicating critical severity with network attack vector, low attack complexity, no privileges required, no user interaction, and high impact on confidentiality, integrity, and availability. The Red Hat advisory confirms the vulnerability and recommends upgrading to patched versions.
Potential Impact
The vulnerability allows unauthorized access due to a logic error in IP address validation within the OAuthRequestFilter. This can lead to attackers bypassing intended IP restrictions, potentially compromising confidentiality, integrity, and availability of affected systems running Apache CXF 4.2.0. The critical CVSS score of 9.8 reflects the high impact and ease of exploitation over the network without authentication or user interaction.
Mitigation Recommendations
A fix is available. Users should upgrade Apache CXF to versions 4.2.2 or 4.1.7, which address this logic error in OAuthRequestFilter. The Red Hat advisory confirms the availability of these patched versions. No other mitigations are specifically recommended beyond applying the official fix.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-05T10:46:30.931Z
- Cvss Version
- null
- State
- PUBLISHED
- Remediation Level
- null
- Vendor Advisory Urls
- [{"url":"https://access.redhat.com/security/cve/CVE-2026-50628","vendor":"Red Hat"}]
Threat ID: 6a2bd75be617e2d83448bfb2
Added to database: 06/12/2026, 09:54:35 UTC
Last enriched: 07/16/2026, 09:07:04 UTC
Last updated: 07/31/2026, 19:22:59 UTC
Views: 171
Community Reviews
0 reviewsCrowdsource mitigation strategies, share intel context, and vote on the most helpful responses. Sign in to add your voice and help keep defenders ahead.
Want to contribute mitigation steps or threat intel context? Sign in or create an account to join the community discussion.
Actions
Updates to AI analysis require Pro Console access. Upgrade inside Console → Billing.
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
Check if your credentials are on the dark web
Instant breach scanning across billions of leaked records. Free tier available.