Quick answers
- Is CVE-2026-50628 exploited in the wild?
- No. Junglewise Threat Intelligence has no report of CVE-2026-50628 being exploited in the wild.
- How severe is CVE-2026-50628?
- Critical severity, with a CVSS score of 9.8, published 12 June 2026.
- Which products and versions are affected?
- Apache Software Foundation CXF 4.2.0 to 4.2.1, all versions before 4.1.7; org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) ECOSYSTEM:introduced=4.2.0,fixed=4.2.2.
- Is there a fix for CVE-2026-50628?
- Yes. org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven): upgrade to 4.2.2 or later. Junglewise finds every place you run it, drafts the upgrade and applies it once you approve.
- How is CVE-2026-50628 attacked?
- It is attacked over the network, in a software library.
- Am I affected by CVE-2026-50628?
- Check whether you run Apache Software Foundation CXF or org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) at an affected version. Junglewise does that check for you around the clock: connect your code, cloud and domains, and it matches new vulnerabilities like this one against what you actually run and tells you when one reaches you.
How to fix
- org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven): upgrade to 4.2.2 or later
# set org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.2.2 in your pom.xml or build.gradle
Technical details
The vulnerability is a logic error (CWE-358) in the OAuthRequestFilter component of Apache CXF's cxf-rt-rs-security-oauth2 module. When IP binding validation is enabled as a security feature, the inverted conditional logic rejects legitimate requests originating from the configured bound IP address while blindly allowing requests from any other IP address. The attack requires the attacker to first obtain a valid OAuth2 access token through a separate vector (token leakage, network interception, or log exposure), but no additional authentication or privileges are required for exploitation. An attacker can then replay the stolen token from any IP address, bypassing the intended sender-constrained token binding protection. Affected versions are 4.2.0 through 4.2.1 and all versions prior to 4.1.7. Fixes are available in Apache CXF versions 4.2.2 and 4.1.7.
Affected products
- Apache CXF 4.2.0 to 4.2.1, before 4.1.7
Identifiers
- CVE-2026-50628
- GHSA-g5v7-jchf-7jrr
Timeline
- 2026-06-12: disclosed: Vulnerability disclosed publicly
- 2026-06-12: patched: Patches released in versions 4.2.2 and 4.1.7