GHSA-542g-m3fx-q86f
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify network-exposed /services/oauth2/introspect endpoint
-
DeliveryConfirm absence of external authentication layer
-
ExploitSend unauthenticated HTTP POST introspection request
-
ExecutionMissing 'throw' bypasses internal security context check
-
ImpactReceive OAuth2 token metadata (validity, scopes, subject, client ID)
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A07:2025 - Authentication Failures
ASVS 5.0
V6 - Authentication Authentication mechanism validation
MITRE ATT&CK
2 techniques across 2 tactics: Defense Evasion, Initial Access The technique list with ATT&CK links and the kill-chain view is part of the Basic plan and up. |
| Exploitation Conditions | Exploitation requires both of the following conditions to be simultaneously true: (1) the Apache CXF cxf-rt-rs-security-oauth2 TokenIntrospectionService is deployed and the /services/oauth2/introspect endpoint is reachable over the network from the attacker, AND (2) no authentication mechanism other than CXF's internal security context check protects the endpoint - meaning no servlet filter, Spring Security rule, API gateway policy, or container-managed authentication is in place. The Apache advisory explicitly confirms this bypass is 'a safeguard only in the case that someone forgot to enable authentication on the service,' directly establishing the exploitation precondition as a missing external auth layer rather than a universally exposed flaw. Factors that limit exploitation: any independently configured authentication on the endpoint eliminates the risk entirely; non-public network exposure reduces attacker reachability; only cxf-rt-rs-security-oauth2 versions 4.2.0-4.2.1 and all 4.1.x before 4.1.7 are confirmed affected. |
| Impact | Apache rated this 'moderate', consistent with the conditional nature of exploitability. No CVSS vector or EPSS score was provided in the available data, so risk signals are limited to the advisory text and vendor severity rating. Critically, the Apache advisory explicitly states the internal CXF check 'is a safeguard only in the case that someone forgot to enable authentication on the service,' meaning any deployment with authentication enforced at the servlet filter, Spring Security, API gateway, or container level is entirely unaffected. This substantially narrows real-world risk compared to a universal AV:N/PR:N flaw: exploitation is entirely contingent on an operational oversight (missing external authentication). There is no CISA KEV listing and no publicly known POC, further supporting a lower urgency posture for well-configured deployments. The primary risk population is organizations that deployed the introspection endpoint without independent authentication, trusting the CXF-internal check as their sole control. |
| Exploit ScenarioDerived | An unauthenticated attacker who can reach the /services/oauth2/introspect endpoint on a CXF deployment lacking external authentication sends a standard RFC 7662 HTTP POST introspection request with an arbitrary access token value. Because the missing 'throw' causes the internal security check to silently succeed, the service returns token metadata - including validity status, associated scopes, client ID, and subject username - to the unauthenticated caller. No publicly known exploit code exists at time of analysis; the attack requires only standard HTTP tooling. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Authentication bypass in Apache CXF's OAuth2 TokenIntrospectionService allows unauthenticated network access to the token introspection endpoint due to a missing 'throw' keyword in the internal security context check, causing the guard to silently pass rather than reject unauthorized callers. Affected are deployments using cxf-rt-rs-security-oauth2 versions 4.2.0-4.2.1 and all 4.1.x releases before 4.1.7 that relied solely on CXF's built-in check without independent authentication at the container or gateway layer. No public exploit code or active exploitation has been identified; vendor-confirmed patches (4.2.2 and 4.1.7) were released June 10, 2026.
RemediationAI
Upgrade to Apache CXF 4.2.2 (from the 4.2.x branch) or 4.1.7 (from the 4.1.x branch), both released June 10, 2026 and available via the Apache CXF download page at https://cxf.apache.org/. For Maven projects, update the version of org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.2.2 or 4.1.7 accordingly. If an immediate upgrade is not feasible, enforce independent authentication on the /services/oauth2/introspect endpoint using a servlet filter, Spring Security access rule, or API gateway policy - this compensating control removes all reliance on the broken CXF-internal check and fully eliminates the attack surface regardless of patch status. Restricting network access to the introspection endpoint to known trusted resource servers (IP allowlist or network segmentation) also substantially limits exposure as an interim measure. No side effects are expected from either compensating control, as independent authentication on introspection endpoints is architecturally recommended regardless of this CVE.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache CXF is an open-source Java services framework supporting JAX-WS and JAX-RS, used broadly to build SOAP and RESTful services. The affected Maven artifact is org.apache.cxf:cxf-rt-rs-security-oauth2, which implements RFC 7662 OAuth2 Token Introspection. The root cause is a programming defect - a missing 'throw' keyword in the security context validation path within TokenIntrospectionService - meaning the conditional logic that should raise an exception to reject unauthenticated callers evaluates correctly but never enforces its result. No CWE was formally assigned in the available data, but the flaw most closely matches CWE-284 (Improper Access Control) combined with CWE-390 (Detection of Error Condition Without Action), where a guard clause executes but has no enforcement effect due to the omitted throw statement.
Know when Cxf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
Network-reachable endpoint bypassed without credentials when external auth is absent; only low confidentiality impact as exposure is limited to OAuth2 token metadata, with no integrity or availability impact.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Blast Radius
ecosystem impact- 15 maven packages depend on org.apache.cxf:cxf-rt-rs-security-oauth2 (8 direct, 7 indirect)
Ecosystem-wide dependent count for version 4.2.0.
Executive ViewAI
Apache CXF's OAuth2 token introspection service contains a critical authentication bypass vulnerability that permits unauthenticated attackers to access the token endpoint, risking exposure of OAuth2 tokens and potential unauthorized API access for organizations using affected versions. Organizations deploying cxf-rt-rs-security-oauth2 versions 4.2.0-4.2.1 or 4.1.x (before 4.1.7) without additional container-level authentication face direct exposure to token introspection attacks. Vendor patches were released June 10, 2026, enabling immediate remediation.
Vendor-released patch: version 4.2.2 (for 4.2.x) and version 4.1.7 (for 4.1.x). Deploy immediately. No public exploit identified at time of analysis.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.
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
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "
Token confusion in Apache CXF's JwtAccessTokenValidator allows an attacker holding a valid JWT issued for one Resource S
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
EUVD-2026-36393
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB