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 or 3.6.12, which fixes this issue.
AI Analysis
Technical Summary
This vulnerability arises from a logic error in the OAuthRequestFilter of Apache CXF's cxf-rt-rs-security-oauth2 module. The flawed logic causes an inverse security check that rejects legitimate requests from the bound IP address and allows requests from any other IP address. Consequently, an attacker who has obtained a valid OAuth2 access token via separate attack vectors (e.g., token leakage or interception) can replay the token from any IP address, bypassing sender-constrained token binding controls and gaining unauthorized access to protected resources. The flaw is identified as CWE-20 (Improper Input Validation) and CWE-358 (Improperly Implemented Security Check). The vulnerability has a CVSS v3.1 base score of 9.8 (critical severity). Vendor advisories recommend upgrading to fixed versions 4.2.2, 4.1.7, or 3.6.12. Red Hat currently does not provide a mitigation other than upgrading and rates the impact as Important due to the prerequisite token compromise.
Potential Impact
Successful exploitation allows an attacker to bypass the sender-constrained token binding security control by replaying a stolen OAuth2 access token from any IP address, resulting in unauthorized access to protected resources with the privileges of the legitimate token holder. The vulnerability does not allow token theft directly but requires the attacker to have obtained a valid token through other means. The flaw compromises confidentiality and integrity with high impact, but availability impact is none or low.
Mitigation Recommendations
A fix is available in Apache CXF versions 4.2.2, 4.1.7, and 3.6.12. Users are strongly recommended to upgrade to these versions to remediate the vulnerability. No other effective mitigation is currently available or meets vendor criteria for ease of use and applicability. Red Hat advises applying the update as soon as possible.
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 or 3.6.12, which fixes this issue.
CVSS v3.1
Score 9.8critical
Affected software
Apache Software Foundation
Apache CXF
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 arises from a logic error in the OAuthRequestFilter of Apache CXF's cxf-rt-rs-security-oauth2 module. The flawed logic causes an inverse security check that rejects legitimate requests from the bound IP address and allows requests from any other IP address. Consequently, an attacker who has obtained a valid OAuth2 access token via separate attack vectors (e.g., token leakage or interception) can replay the token from any IP address, bypassing sender-constrained token binding controls and gaining unauthorized access to protected resources. The flaw is identified as CWE-20 (Improper Input Validation) and CWE-358 (Improperly Implemented Security Check). The vulnerability has a CVSS v3.1 base score of 9.8 (critical severity). Vendor advisories recommend upgrading to fixed versions 4.2.2, 4.1.7, or 3.6.12. Red Hat currently does not provide a mitigation other than upgrading and rates the impact as Important due to the prerequisite token compromise.
Potential Impact
Successful exploitation allows an attacker to bypass the sender-constrained token binding security control by replaying a stolen OAuth2 access token from any IP address, resulting in unauthorized access to protected resources with the privileges of the legitimate token holder. The vulnerability does not allow token theft directly but requires the attacker to have obtained a valid token through other means. The flaw compromises confidentiality and integrity with high impact, but availability impact is none or low.
Mitigation Recommendations
A fix is available in Apache CXF versions 4.2.2, 4.1.7, and 3.6.12. Users are strongly recommended to upgrade to these versions to remediate the vulnerability. No other effective mitigation is currently available or meets vendor criteria for ease of use and applicability. Red Hat advises applying the update as soon as possible.
Technical Details
- Data Version
- 5.2
- Assigner Short Name
- apache
- Date Reserved
- 2026-06-05T10:46:30.931Z
- State
- PUBLISHED
- 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: 08/14/2026, 15:40:23 UTC
Last updated: 09/13/2026, 22:01:35 UTC
Views: 211
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.