Skip to main content
EPSS 0.7%top 50%

CVE-2026-50628: CWE-20 Improper Input Validation in Apache Software Foundation Apache CXF

0
Critical
Published: 06/12/2026 (06/12/2026, 08:56:28 UTC)
Source: CVE Database V5
Vendor/Project: Apache Software Foundation
Product: 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

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
High
Availability
High
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H

Affected software

Apache Software Foundation

Apache CXF

Affected versions
>=4.2.0 <4.2.2>=4.0.0 <4.1.7>=0 <3.6.12
Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2
pkg:maven/Apache Software Foundation/org.apache.cxf:cxf-rt-rs-security-oauth2
Affected versions
>=4.2.0 <4.2.2>=4.0.0 <4.1.7>=0 <3.6.12

Run 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

AILast updated: 08/14/2026, 15:40:23 UTC

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.

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
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 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