Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control
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 software
Click a technology to see all vulnerabilities affecting it.
| Platform | Package | Vulnerable versions | Fixed in |
|---|---|---|---|
| Java / Kotlin (Maven) | org.apache.cxf:cxf-rt-rs-security-oauth2 | >= 4.2.0, < 4.2.2, < 4.1.7 | 4.2.2, 4.1.7 |
References
- https://nvd.nist.gov/vuln/detail/CVE-2026-50628
- https://access.redhat.com/errata/RHSA-2026:37390
- https://access.redhat.com/security/cve/CVE-2026-50628
- https://bugzilla.redhat.com/show_bug.cgi?id=2488302
- https://github.com/apache/cxf
- https://lists.apache.org/thread/vb3ho8lf228gh90m1fpnohf2008xrdxk
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50628.json
- http://www.openwall.com/lists/oss-security/2026/06/11/5
- CVSS vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H- Weakness (CWE)
CWE-20, CWE-358- Platform
- Java / Kotlin (Maven)
- Package
org.apache.cxf:cxf-rt-rs-security-oauth2- Disclosed
- 12.06.2026
- Updated
- 11.10.2026 12:22
Sources and licenses
OSV / GitHub Advisory Database - GHSA-g5v7-jchf-7jrr - CC BY 4.0
Vulnerability history: org.apache.cxf:cxf-rt-rs-security-oauth2
All published vulnerabilities of this package (Java / Kotlin (Maven)), newest first. Shows whether this is a one-off slip or a package that needs watching.
- Total entries
- 6
- First → latest
- 06.2026 06.2026
- Without a fix
- 0
- Exploited in attacks
- 0
Severity breakdown
- Critical 2
- High 2
- Medium 2
Disclosures per year
- 2026: 6
-
Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control this entry
Know which vulnerabilities affect your application
With the DockRay integration and software inventory enabled, DockRay checks reported component versions against known vulnerabilities and notifies you about confirmed matches. Coverage depends on the supported technology and available advisory data.