Description
A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker can control the realm value, they can inject arbitrary HTTP headers or split the HTTP response entirely. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
Published: 2026-06-12
Score: 6.5 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw is a CRLF injection in the OAuth2 AuthorizationUtils class of Apache CXF. When the WWW-Authenticate header is built, the realm value is concatenated without escaping Carriage Return or Line Feed characters. If an attacker can influence the realm, the resulting header can contain injected CRLF sequences that create additional HTTP headers or split the response, allowing tampering with the response sent to a client. This can lead to manipulation of client behavior or content loading, and may enable phishing or other attacks via header injection.

Affected Systems

Applies to Apache CXF versions prior to 4.2.2 and 4.1.7. Users running these releases should upgrade to the fixed versions to eliminate the vulnerability. No other vendor or product was listed in the CNA data, so only the Apache CXF community is affected.

Risk and Exploitability

The CVSS score is 6.5, indicating a medium severity. The vulnerability is a classic HTTP response splitting flaw (CWE‑113) with potentially serious impact on confidentiality and integrity of HTTP responses. The EPSS score is < 1%, indicating low exploitation probability, and the issue is not listed in the CISA KEV catalog. Because the attack requires controlling the realm parameter in an OAuth2 authentication flow, the attack vector is likely internal or requires HTTP request manipulation. No publicly documented exploit exists, but the low EPSS score suggests that exploitation is uncommon; nevertheless, the nature of header injection makes the vulnerability high risk if the affected code is exposed to untrusted inputs.

Generated by OpenCVE AI on June 12, 2026 at 15:30 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Upgrade Apache CXF to version 4.2.2 or 4.1.7, which contains the fix for the CRLF injection.
  • Validate and escape any user‑controlled values used in the WWW-Authenticate realm parameter before inclusion in HTTP headers.
  • Configure upstream web proxies or reverse‑proxy layers to reject or strip header values containing CRLF characters, adding an additional defense layer.

Generated by OpenCVE AI on June 12, 2026 at 15:30 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 12 Jun 2026 19:15:00 +0000

Type Values Removed Values Added
CPEs cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*

Fri, 12 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 6.5, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Jun 2026 11:15:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf

Fri, 12 Jun 2026 10:30:00 +0000

Type Values Removed Values Added
References

Fri, 12 Jun 2026 09:45:00 +0000

Type Values Removed Values Added
Description A CRLF injection vulnerability exists in the OAuth2 AuthorizationUtils class. When constructing the WWW-Authenticate response header, the 'realm' parameter is concatenated without sanitizing Carriage Return (CR) and Line Feed (LF) characters. If an attacker can control the realm value, they can inject arbitrary HTTP headers or split the HTTP response entirely. Users are recommended to upgrade to versions 4.2.2 or 4.1.7, which fixes this issue.
Title Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection
Weaknesses CWE-113
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-12T14:03:22.085Z

Reserved: 2026-06-05T10:57:56.617Z

Link: CVE-2026-50630

cve-icon Vulnrichment

Updated: 2026-06-12T09:28:07.644Z

cve-icon NVD

Status : Analyzed

Published: 2026-06-12T10:16:22.950

Modified: 2026-06-12T19:04:00.513

Link: CVE-2026-50630

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T15:45:09Z

Weaknesses
  • CWE-113

    Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting')