GHSA-9mrv-8pvf-hf4m
Severity by source
AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Network-reachable Resource Server, no user interaction, scope changes to a different RS; PR:L because attacker only needs to be a legitimate client of any peer service to mint a usable JWT, not a high-privilege admin.
Primary rating from NVD.
CVSS VectorNVD
CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H
Lifecycle Timeline
6Description PRE-NVD
AnalysisAI
Token confusion in Apache CXF's JwtAccessTokenValidator allows an attacker holding a valid JWT issued for one Resource Server to replay it against an unrelated Resource Server because the 'aud' (Audience) claim is not validated. Affects Apache CXF 4.2.0 through 4.2.1 and all versions prior to 4.1.7, enabling cross-service authentication bypass with full confidentiality, integrity, and availability impact on the unintended target. No public exploit identified at time of analysis and EPSS is very low (0.02%, 4th percentile), but the fix is straightforward and the issue is structurally severe for federated OAuth2/JWT deployments.
Technical ContextAI
Apache CXF is a widely deployed open-source services framework (SOAP, REST/JAX-RS, WS-*) that includes an OAuth2/JWT subsystem in its RS Security module. The JwtAccessTokenValidator is responsible for verifying inbound bearer JWTs at a Resource Server. RFC 7519 §4.1.3 and RFC 8725 §3.11 require Resource Servers to verify the 'aud' claim so a token minted for service A cannot be presented to service B. Failing to do so realises CWE-289 (Authentication Bypass by Alternate Name / token routing): the recipient trusts the signature and issuer but never confirms that it is the intended audience, collapsing the security boundary between tenants/services that share a common Authorization Server. The CPE strings (cpe:2.3:a:apache:cxf:*) confirm the framework itself is in scope rather than any specific downstream application.
RemediationAI
Vendor-released patch: upgrade to Apache CXF 4.2.2 (for the 4.2.x line) or 4.1.7 (for 4.1.x and earlier), both of which add proper validation of the JWT 'aud' claim in JwtAccessTokenValidator; consult https://lists.apache.org/thread/0jfzz9q992957b99tw7hodcqjfyxwb1m and https://seclists.org/oss-sec/2026/q2/887 for the official notice. If immediate patching is not possible, configure the OAuth2/JWT consumer to enforce a strict expected audience by setting the rs.security.jwt.expected-audiences (and related rs.security.audiences) properties so token validation fails when the 'aud' value does not match the local Resource Server identifier - trade-off is that any client still issuing audience-less tokens will be rejected and must be reconfigured. Alternatively, segment the OAuth2 deployment so each Resource Server uses a dedicated Authorization Server or signing key, which eliminates the cross-server replay but increases operational complexity and key-rotation burden. As a network-layer compensating control, restrict inbound traffic to each CXF Resource Server to clients known to legitimately need it, reducing the population of holders of a 'wrong audience' token; this does not stop insiders or compromised peer services and should not substitute for the patch.
A SSRF vulnerability using the Aegis DataBinding in versions of Apache CXF before 4.0.4, 3.6.3 and 3.5.8 allows an attac
The streaming XML parser in Apache CXF 2.5.x before 2.5.10, 2.6.x before 2.6.7, and 2.7.x before 2.7.4 allows remote att
Apache CXF 2.4.x before 2.4.8, 2.5.x before 2.5.4, and 2.6.x before 2.6.1, when a Supporting Token specifies a child WS-
The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending
Authentication bypass in Apache CXF's OAuthRequestFilter affects versions prior to 4.1.7 and 4.2.0-4.2.1, where an inver
XML External Entity (XXE) processing in Apache CXF versions prior to 4.1.7 and 4.2.0-4.2.1 allows remote attackers to tr
A SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.
Apache CXF before 3.3.4 and 3.2.11 provides all of the components that are required to build a fully fledged OpenId Conn
A SSRF vulnerability in WADL service description in versions of Apache CXF before 4.0.5, 3.6.4 and 3.5.9 allows an attac
The OAuth2 Hawk and JOSE MAC Validation code in Apache CXF prior to 3.0.13 and 3.1.x prior to 3.1.10 is not using a cons
Apache CXF 2.5.x before 2.5.10, 2.6.x before CXF 2.6.7, and 2.7.x before CXF 2.7.4 does not verify that a specified cryp
Remote code execution in Apache CXF's JCA integration module allows attackers to achieve arbitrary code execution via JN
Same weakness CWE-289 – Authentication Bypass by Alternate Name
View allSame technique Information Disclosure
View allVendor StatusVendor
Share
External POC / Exploit Code
Leaving vuln.today
EUVD-2026-36395