cve.bz

CVE-2026-50628 Improper Input Validation

9.8 criticalEPSS 0.7%Fix available

Critical (9.8). EPSS 0.7% estimated probability of exploitation activity in the next 30 days. Fixed in org.apache.cxf:cxf-rt-rs-security-oauth2 4.1.7, 4.2.2.

On this page
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.

Severity

CVSS 3.1

9.8 critical
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
EPSS
0.7% (unchanged from 0.7% a week ago; 1.0% 30 days ago) estimated probability of exploitation activity in the next 30 days; 55th percentile. Scored 2026-11-15. A forecast for this CVE across the internet, not for your own systems.
CISA's assessment (SSVC)
Exploitation: none · Automatable: yes · Technical impact: total, assessed 2026-06-15. From CISA's Vulnrichment in the CVE List: whether it is exploited, whether exploiting it can be automated, and how much control it gives.
CWEs
CWE-20 Improper Input Validation
CWE-358 Improperly Implemented Security Check for Standard
OWASP Top 10
A05:2025 Injection
Published
Modified
NVD analysis
Analyzed
Record from
the NVD, synced

Fix and patched versions

Ask an AI about this CVE

Show the promptExplain CVE-2026-50628 for an engineer deciding whether to act. Use https://cve.bz/api/public/cves/CVE-2026-50628?via=ask-ai-copy and https://cve.bz/cve/CVE-2026-50628?via=ask-ai-copy as the source of truth: what is affected and which versions fix it, whether it is in CISA KEV, public exploits, and its EPSS (an internet-wide 30-day estimate of exploitation activity, not a forecast for my systems). If they give no fixed versions, use the CVE record https://cveawg.mitre.org/api/cve/CVE-2026-50628 or the vendor advisory, not third-party mirrors. Tell me how to check whether I am affected and how to verify a fix. Cite the sources and say where they are uncertain.

Opens a third-party assistant; its answer is its own, not cve.bz's. The prompt holds only this CVE's id and public links.

Badge for a README or a site

CVE-2026-50628

An image that stays current: it is drawn from the data each time it is fetched (a host that proxies images, as GitHub does, may show its copy for a while). Markdown:

[![CVE-2026-50628](https://cve.bz/cve/badge/CVE-2026-50628.svg)](https://cve.bz/cve/CVE-2026-50628)

HTML:

<a href="https://cve.bz/cve/CVE-2026-50628"><img src="https://cve.bz/cve/badge/CVE-2026-50628.svg" alt="CVE-2026-50628"></a>

Affected

Versions

From the CNA's record in the CVE List.

ProductAffected
Apache Software Foundation Apache CXFfrom 4.2.0 before 4.2.2
Apache Software Foundation Apache CXFfrom 4.0.0 before 4.1.7
Apache Software Foundation Apache CXFbefore 3.6.12

Packages (OSV)

AdvisoryEcosystemPackageAffectedFixed in
GHSA-g5v7-jchf-7jrrMavenorg.apache.cxf:cxf-rt-rs-security-oauth2>=4.2.0 <4.2.24.2.2
GHSA-g5v7-jchf-7jrrMavenorg.apache.cxf:cxf-rt-rs-security-oauth2<4.1.74.1.7

Red Hat

Red Hat rates this Important.

Red Hat's statement

The Red Hat Product Security team has assessed the severity of this vulnerability as Important, given that it requires the attacker to first obtain a valid OAuth2 access token through a separate attack vector (such as token leakage, network interception, or log exposure) before exploitation is possible. Successful exploitation allows an attacker to replay a stolen token from any IP address, bypassing the sender-constrained token binding security control and gaining unauthorized access to protected resources as the legitimate token holder. The vulnerability's root cause is an inverted logic check in the IP binding validation of the cxf-rt-rs-security-oauth2 module, which permits token usage from non-matching IP addresses instead of rejecting it.

Red Hat's mitigation

Mitigation for this issue is either not available or the currently available options do not meet the Red Hat Product Security criteria comprising ease of use and deployment, applicability to widespread installation base, or stability.

ProductPackageStateAdvisory
Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16cxf-rt-rs-security-oauth2Fixed 2026-07-09RHSA-2026:37390
Red Hat build of Apache Camel 4.18.1.P1 for Spring Boot 3.5.16cxf-rt-rs-security-oauth2-samlFixed 2026-07-09RHSA-2026:37390
Red Hat Fuse 7cxf-rt-rs-security-oauth2Fix deferred
Red Hat Fuse 7cxf-rt-rs-security-oauth2-samlFix deferred
Red Hat JBoss Enterprise Application Platform Expansion Packcxf-rt-rs-security-oauth2Not affected
Red Hat JBoss Enterprise Application Platform Expansion Packcxf-rt-rs-security-oauth2-samlNot affected
Red Hat JBoss Web Server 5cxf-rt-rs-security-oauth2Fix deferred
Red Hat JBoss Web Server 5cxf-rt-rs-security-oauth2-samlFix deferred

Contains Red Hat Security Data © Red Hat, Inc., licensed under CC BY 4.0. Source: https://access.redhat.com/security/data. Modified: reformatted. Red Hat's page for CVE-2026-50628.

Attack patterns (CAPEC)

The attack patterns MITRE's CAPEC relates to this record's weaknesses, as MITRE names them. Credits. More on the page of CWE-20 (51).

References

Check your stackJSON