Skip to main content

Apache CXF CVE-2026-50623

| EUVDEUVD-2026-36393 MEDIUM
Improper Authentication (CWE-287)
4.8
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain

  1. Access
    Identify network-exposed /services/oauth2/introspect endpoint
  2. Delivery
    Confirm absence of external authentication layer
  3. Exploit
    Send unauthenticated HTTP POST introspection request
  4. Execution
    Missing 'throw' bypasses internal security context check
  5. Impact
    Receive 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.

This Month Plan within 30 days. Why: MEDIUM severity (CVSS 4.0-6.9).
Patch available 0.0% exploitation probability (EPSS)

Get an e-mail when this CVE is exploited, patched or re-scored. Free account.

Alert me

AnalysisAIv1 – 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

Apache CXF 0 <4.1.7
Apache CXF 4.2.0 <4.2.2

Affected Packages

maven org.apache.cxf:cxf-rt-rs-security-oauth2 fix: 4.1.7, 4.2.2
euvd apache_cxf fix: 4.1.7, 4.2.2

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

Vendor (CNA) PRIMARY 4.8 MEDIUM
AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 5.3 MEDIUM

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.

3.1 AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:N/A:N
4.0 AV:N/AC:L/AT:N/PR:N/UI:N/VC:L/VI:N/VA:N/SC:N/SI:N/SA:N
Red Hat 5.3 MEDIUM

Primary rating from Vendor (CNA).

CVSS VectorVendor

Attack Vector
Network
Attack Complexity
High
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Lifecycle Timeline

3
CVSS changed
Jun 16, 2026 - 15:22 NVD
6.5 (MEDIUM) 4.8 (MEDIUM)
CVSS changed
Jun 12, 2026 - 16:22 NVD
6.5 (MEDIUM)
Patch available
Jun 12, 2026 - 11:01 EUVD

Description PRE-NVD

Disclosed via oss-security. NVD scoring and full description are pending.

Blast Radius

ecosystem impact
† from your stack dependencies † transitive graph · vuln.today resolves 4-path depth
  • 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

Why It Matters

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.

Business Impact: Severe
Compensating Controls

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

EPSS Score
0.0%
Top 88% exploitable
Social Media
1
Sightings
Data Quality
7 sources
Confidence: High
EUVD NVD CVE.org EPSS Vulnrichment Vendor CIRCL VulDB

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.

SignalValue
Severity MEDIUM
CISA KEV No
Public POC No
EPSS 0.0%
Patch available Yes
Active threat No
Deciding rule
MEDIUM severity (CVSS 4.0-6.9)
What every action level means
Emergency Immediate action required. Criteria: CRITICAL + in CISA KEV (actively exploited) without patch, OR CRITICAL + EPSS > 30% without patch, OR CRITICAL + active threat signals without patch.
Act Now Prioritize within 24-48h. Criteria: in KEV with patch available, OR CRITICAL + public POC, OR HIGH + EPSS > 10%, OR CRITICAL + active threat, OR any CRITICAL severity.
This Week Schedule remediation this week. Criteria: HIGH severity (CVSS 7.0-8.9). Patch within normal change window.
This Month Plan within 30 days. Criteria: MEDIUM severity (CVSS 4.0-6.9), lower exploitation probability. Include in regular patch cycle.
Monitor Track and reassess. Criteria: LOW severity (CVSS 0.1-3.9), minimal exploitation risk. No immediate action needed.

SSVC AssessmentENISA

SSVC Decision
Out-of-Cycle
Exploitation
None
System Exposure· derived
Open
Automatable
Yes
Human Impact
Very High
Technical Impact
Partial

Priority Score

24
Low Medium High Critical
KEV: 0
EPSS: 0
CVSS: +24
PoC: 0
Weaponized: 0
Threat intel: 0
Gov advisory: 0

Attack Technique

Authentication bypass attacks exploit flaws in the verification mechanisms that control access to systems and applications.

More in Cxf

View all
CVE-2024-28752 CRITICAL POC
9.3 Mar 15

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

CVE-2013-2160 MEDIUM POC
5.0 Aug 19

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

CVE-2012-2379 CRITICAL
10.0 Jan 03

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-

CVE-2012-0803 CRITICAL
9.8 Aug 08

The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending

CVE-2026-50628 CRITICAL
9.8 Jun 11

Authentication bypass in Apache CXF's OAuthRequestFilter affects versions prior to 4.1.7 and 4.2.0-4.2.1, where an inver

CVE-2026-49875 CRITICAL
9.8 Jun 11

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

CVE-2022-46364 CRITICAL
9.8 Dec 13

A SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.

CVE-2019-12419 CRITICAL
9.8 Nov 06

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

CVE-2021-40690 HIGH
7.5 Sep 19

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 "

CVE-2026-50627 CRITICAL
9.1 Jun 11

Token confusion in Apache CXF's JwtAccessTokenValidator allows an attacker holding a valid JWT issued for one Resource S

CVE-2024-29736 CRITICAL
9.1 Jul 19

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

CVE-2017-3156 HIGH
7.5 Aug 10

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

Vendor StatusVendor

This site uses cookies essential for authentication and security. No tracking or analytics cookies are used. Privacy Policy