Vulnerabilities / CVE-2026-50628

critical

CVE-2026-50628

cxf: org.apache.cxf/cxf-rt-rs-security-oauth2: cxf: Unauthorized access due to logic error in OAuthRequestFilter

Published Modified CWE 20, 358
In the Trivy database since at least 24 Oct 2026, 07:11 UTCWhen it arrived before that build is not recorded.

Severity by source

NVD9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
GHSA9.8CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
Red Hat7.4CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:H/I:H/A:N

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

SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.cxf:cxf-rt-rs-security-oauth24.2.2, 4.1.7
Red Hatcxf-rt-rs-security-oauth2, cxf-rt-rs-security-oauth2-samlno fix listed
seal maven::Seal Security Databaseorg.apache.cxf:cxf-bundle, org.apache.cxf:cxf-rt-rs-security-oauth2, seal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth2 and 1 more2.7.18+sp999 and 2 more
Show all 7 entries from 3 sources
SourcePackageFixed in
maven::GitHub Security Advisory Mavenorg.apache.cxf:cxf-rt-rs-security-oauth24.2.2, 4.1.7
Red Hatcxf-rt-rs-security-oauth2no fix listed
Red Hatcxf-rt-rs-security-oauth2-samlno fix listed
seal maven::Seal Security Databaseorg.apache.cxf:cxf-bundle2.7.18+sp999
seal maven::Seal Security Databaseorg.apache.cxf:cxf-rt-rs-security-oauth23.5.11+sp2
seal maven::Seal Security Databaseseal.sp1.org.apache.cxf:cxf-rt-rs-security-oauth23.5.11+sp999
seal maven::Seal Security Databaseseal.sp1p1.org.apache.cxf:cxf-bundle2.7.18+sp999

References

All 9 references

Vulnerability data compiled from the Trivy vulnerability database (trivy-db, Aqua Security, Apache License 2.0), which aggregates third-party advisories. CVE records are published by The MITRE Corporation under the CVE Terms of Use; CVE is a trademark of MITRE. This product uses data from the NVD API but is not endorsed or certified by the NVD. Severity, titles and advisory data from the GitHub Advisory Database (CC BY 4.0), Red Hat security data (CC BY 4.0) and the other sources linked on each entry. Entries may be summarised or re-formatted; the linked original is the authoritative record.