CVE-2026-50630: Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection

Published Jun 11, 2026
·
Updated

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 or 3.6.12, which fixes this issue.

Affected Software

3 affected components
Apache Apache CXF<4.2.2, <4.1.7
Apache CXF<4.1.7
Apache CXF>=4.2.0<4.2.2

Remediation

Recommended actions to resolve this vulnerability, in priority order.

  1. Upgrade

    Upgrade Apache CXF (OAuth2 / AuthorizationUtils) to a version that resolves this vulnerability.

    Fixed in 4.2.2
  2. Upgrade

    Upgrade Apache CXF (OAuth2 / AuthorizationUtils) to a version that resolves this vulnerability.

    Fixed in 4.1.7
  3. Upgrade

    Upgrade Apache CXF (OAuth2 / AuthorizationUtils) to a version that resolves this vulnerability.

    Fixed in 3.6.12
  4. Compensating control

    If upgrading is not immediately possible, prevent attackers from controlling the OAuth2 realm value that is used to construct the 'WWW-Authenticate' header (because CR and LF are concatenated without sanitization, enabling HTTP header injection/response splitting for CVE-2026-50630).

Event History

Jun 12, 2026
CVE Published
via MITRE·08:58 AM
Data Sourced
via MITRE·08:58 AM
DescriptionWeakness
Data Sourced
via NVD·10:16 AM
DescriptionSeverityWeaknessAffected Software
Free Weekly Intel

Don't miss critical vulnerabilities

Join thousands of security professionals who receive our weekly digest of trending CVEs, zero-days, and exploited vulnerabilities.

No spam. Unsubscribe anytime.

Frequently Asked Questions

1

What is the severity of CVE-2026-50630?

The severity of CVE-2026-50630 is rated as medium with a score of 6.5 according to the CVSS 3.1.

2

How do I fix CVE-2026-50630?

To fix CVE-2026-50630, sanitize any user-controlled input before concatenating it into the WWW-Authenticate response header.

3

What systems are affected by CVE-2026-50630?

CVE-2026-50630 affects Apache CXF, particularly versions that utilize the OAuth2 AuthorizationUtils class.

4

What type of vulnerability is CVE-2026-50630?

CVE-2026-50630 is categorized as a CRLF injection vulnerability.

5

What can an attacker achieve with CVE-2026-50630?

An attacker exploiting CVE-2026-50630 can inject malicious content into the HTTP response header by manipulating the 'realm' parameter.

Contact

SecAlerts Pty Ltd.
132 Wickham Terrace
Fortitude Valley,
QLD 4006, Australia
info@secalerts.co
By using SecAlerts services, you agree to our services end-user license agreement. This website is safeguarded by reCAPTCHA and governed by the Google Privacy Policy and Terms of Service. All names, logos, and brands of products are owned by their respective owners, and any usage of these names, logos, and brands for identification purposes only does not imply endorsement. If you possess any content that requires removal, please get in touch with us.
© 2026 SecAlerts Pty Ltd.
ABN: 70 645 966 203, ACN: 645 966 203