ADVISORIES

GitHub Advisory Database

GHSA-g5v7-jchf-7jrr

Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control

Critical CVE-2026-50628

Details

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.

Affected packages

EcosystemPackageAffected versions
Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2
From 4.2.0 before 4.2.2 (fixed in 4.2.2)
Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2
All versions before 4.1.7 (fixed in 4.1.7)

References