GHSA-xf62-wr5p-5p95
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessIdentify CXF OAuth2 endpoint accepting realm-influencing input
-
DeliveryCraft HTTP request embedding CRLF sequences in realm parameter
-
ExploitTrigger OAuth2 authentication challenge response
-
ExecutionServer concatenates unsanitized realm into WWW-Authenticate header
-
PersistInjected CRLF splits HTTP response
-
ImpactVictim 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. |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – 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
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, 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
AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
Network vector, high complexity (realm control required), scope change to client, low C/I via header injection; no 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 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.
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
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
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
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-36398
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB