Skip to main content

Apache CXF CVE-2026-50630

| EUVDEUVD-2026-36398 MEDIUM
HTTP Response Splitting (CWE-113)
6.5
CVSS 3.1 · Vendor
View

Attack ChainAIDerived

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

  1. Access
    Identify CXF OAuth2 endpoint accepting realm-influencing input
  2. Delivery
    Craft HTTP request embedding CRLF sequences in realm parameter
  3. Exploit
    Trigger OAuth2 authentication challenge response
  4. Execution
    Server concatenates unsanitized realm into WWW-Authenticate header
  5. Persist
    Injected CRLF splits HTTP response
  6. Impact
    Victim HTTP client processes attacker-injected headers

Vulnerability Assessment

Weakness
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization HTTP response header sanitization
Exploitation Conditions

Exploitation requires that an attacker can control or influence the 'realm' parameter value that the OAuth2 AuthorizationUtils class uses when constructing the WWW-Authenticate response header. If the realm is sourced entirely from static server-side configuration with no user-input pathway, exploitation is not possible even on vulnerable versions. Exploitation is further constrained by the need for a downstream HTTP client (browser, proxy, or API consumer) to process and act on the injected headers - a UI:R dependency. The attack does not require authenticated access to the CXF endpoint itself, but does require a data-flow path from attacker-controlled input into the realm value. Deployments on versions outside the affected ranges (4.2.2+ or 4.1.7+, or the 3.6.x line if unaffected) are not vulnerable. No privilege escalation on the server itself is possible; impact is confined to HTTP response manipulation affecting clients.

Impact

The vendor-assigned severity is 'low', consistent with the conditional exploitation requirement - an attacker must be able to control the realm value used by AuthorizationUtils, which is not universally achievable from an unauthenticated external position. No CVSS vector was provided by NVD or the vendor advisory, so metrics are inferred from the description. An independently assessed vector of CVSS:3.1/AV:N/AC:H/PR:N/UI:R/S:C/C:L/I:L/A:N reflects the network delivery, the elevated complexity of controlling the realm parameter, the scope change (affecting downstream HTTP clients or browsers), and low-to-moderate confidentiality and integrity impacts via header injection. EPSS data is not available in the provided input. There is no CISA KEV listing and no public proof-of-concept identified. Real-world risk is context-dependent: deployments that derive the OAuth2 realm from user-supplied or attacker-influenced input (e.g., query parameters, client-controlled request values) face meaningfully higher risk than those where realm is entirely server-side configured. The absence of a scope-change mitigation in the patch (pure input sanitization) suggests the blast radius is contained to HTTP clients processing the poisoned response rather than server-side data integrity.

Exploit ScenarioDerived

An attacker targets a web application that exposes an Apache CXF OAuth2 endpoint where the realm value is dynamically derived from a client-controlled input such as a query parameter or Authorization header field. The attacker crafts a request embedding CRLF sequences in the realm value (e.g., realm="legit\r\nSet-Cookie: session=attacker"), causing the server to emit a malformed WWW-Authenticate header. A downstream HTTP client or caching proxy processing this response treats the injected content as a legitimate header, enabling session fixation, cache poisoning, or redirection to an attacker-controlled resource. No public proof-of-concept code has been identified at time of analysis.

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

HTTP Response Splitting via CRLF injection in Apache CXF's OAuth2 module allows an attacker who controls the WWW-Authenticate realm parameter to inject arbitrary HTTP headers or split HTTP responses entirely. Affected deployments include cxf-rt-rs-security-oauth2 versions 4.2.0 before 4.2.2 and all versions before 4.1.7. No public exploit code has been identified at time of analysis and this vulnerability is not listed in CISA KEV, but successful exploitation could enable cache poisoning, header injection, or redirection of downstream HTTP clients processing the malformed response.

RemediationAI

Upgrade to Apache CXF 4.2.2 or 4.1.7, both released on June 10, 2026, per the official Apache CXF project page at https://cxf.apache.org/. These releases include targeted sanitization of CRLF characters in the OAuth2 realm parameter within AuthorizationUtils. If immediate upgrade is not feasible, a compensating control is to ensure the realm value passed to the OAuth2 WWW-Authenticate header is sourced exclusively from static, administrator-controlled server configuration rather than any user-supplied or request-derived input; this eliminates the attacker's ability to inject CRLF sequences but does not fix the underlying code defect. Additionally, deploying a reverse proxy or WAF rule to strip or block requests containing percent-encoded or literal CRLF sequences (%0d, %0a, \r, \n) in OAuth2-related request parameters can reduce exposure, though this may interfere with legitimate encoded values. The 3.6.x branch was not explicitly addressed in the June 10 release notes - organizations on that branch should consult the Security Advisories page at https://cxf.apache.org/ to determine applicability.

Affected VersionsENISA

Apache CXF 4.2.0 <4.2.2
Apache CXF 0 <4.1.7

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, widely used for building SOAP and RESTful services. The vulnerable component is the Maven artifact org.apache.cxf:cxf-rt-rs-security-oauth2, which implements OAuth2 authorization flows. The flaw resides in the AuthorizationUtils class, which constructs WWW-Authenticate response headers for OAuth2 challenges. The 'realm' parameter - used to identify the protection space per RFC 7235 - is concatenated directly into the header value without stripping or encoding carriage return (CR, \r) and line feed (LF, \n) characters. This is a classic HTTP Response Splitting vulnerability (CWE-113: Improper Neutralization of CRLF Sequences in HTTP Headers), where injected CRLF sequences prematurely terminate one header field and begin another, or split the response into two distinct HTTP messages. An attacker who can influence the realm value passed to AuthorizationUtils can exploit this to inject headers such as Set-Cookie, Location, or arbitrary body content into the HTTP response stream.

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 6.5 LOW
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
vuln.today AI 4.7 MEDIUM

Network vector, high complexity (realm control required), scope change to client, low C/I via header injection; no availability impact.

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

Primary rating from Vendor (CNA).

CVSS VectorVendor

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

Lifecycle Timeline

3
Severity Changed
Jun 12, 2026 - 15:22 NVD
CRITICAL MEDIUM
CVSS changed
Jun 12, 2026 - 15:22 NVD
6.5 (CRITICAL) 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 security module contains a critical HTTP Response Splitting vulnerability (no public exploit identified at time of analysis) that could allow unauthorized attackers to manipulate authentication responses and redirect users or poison cached credentials. Organizations with active OAuth2 deployments risk compromise of authentication infrastructure and potential credential theft affecting all dependent applications. No vendor patch is currently available, creating an immediate need for mitigation and upgrade planning.

Business Impact: Severe
Compensating Controls

No vendor-released patch identified at time of analysis. Interim mitigations: (1) Deploy WAF/API gateway rules to detect and block CRLF sequences in WWW-Authenticate realm parameters; (2) Implement input validation restricting realm parameter values to safe character sets; (3) Restrict OAuth2 endpoint network access to trusted clients and networks only; (4) Enable and monitor OAuth2 service logs for suspicious response manipulation attempts; (5) Establish monitoring for Apache CXF vendor security advisories; (6) Evaluate operational risk tolerance and consider temporary OAuth2 service restriction if alternative authentication methods available.

Threat Intelligence Overview

EPSS Score
0.0%
Top 91% 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

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

Attack Technique

Code Injection CRITICAL

Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.

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