CVE-2026-50628
cxf: org.apache.cxf/cxf-rt-rs-security-oauth2: cxf: Unauthorized access due to logic error in OAuthRequestFilter
Severity by source
Trivy's own label is CRITICAL. Rated critical by NVD, GHSA. Rated lower by Red Hat (high).
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.
Affected packages and fixed versions
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.2.2, 4.1.7 |
| Red Hat | cxf-rt-rs-security-oauth2, cxf-rt-rs-security-oauth2-saml | no fix listed |
| seal maven::Seal Security Database | org.apache.cxf:cxf-bundle, org.apache.cxf:cxf-rt-rs-security-oauth2, seal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth2 and 1 more | 2.7.18+sp999 and 2 more |
Show all 7 entries from 3 sources
| Source | Package | Fixed in |
|---|---|---|
| maven::GitHub Security Advisory Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | 4.2.2, 4.1.7 |
| Red Hat | cxf-rt-rs-security-oauth2 | no fix listed |
| Red Hat | cxf-rt-rs-security-oauth2-saml | no fix listed |
| seal maven::Seal Security Database | org.apache.cxf:cxf-bundle | 2.7.18+sp999 |
| seal maven::Seal Security Database | org.apache.cxf:cxf-rt-rs-security-oauth2 | 3.5.11+sp2 |
| seal maven::Seal Security Database | seal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth2 | 3.5.11+sp999 |
| seal maven::Seal Security Database | seal.sp1p1.org.apache.cxf:cxf-bundle | 2.7.18+sp999 |
References
- http://www.openwall.com/lists/oss-security/2026/06/11/5
- 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://nvd.nist.gov/vuln/detail/CVE-2026-50628
- https://security.access.redhat.com/data/csaf/v2/vex/2026/cve-2026-50628.json