CVE-2026-50630

published 12 Jun 2026 · updated 5 Nov 2026

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

6.5MediumCVSS 6.5EPSS 0%

No exploitation in the wild has been reported. EPSS puts the chance of exploitation in the next 30 days at 0%. Fixed in CXF 3.6.12, CXF 4.1.7, CXF 4.2.2 and 3 more.

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

Vendors, products and packages with version ranges

VendorProductVersionsFixed
ApacheCXF<3.6.12, >=4.0.0 <4.1.7, >=4.2.0 <4.2.23.6.12, 4.1.7, 4.2.2
Apache Software Foundation<3.6.12, >=4.0.0 <4.1.7, >=4.2.0 <4.2.23.6.12, 4.1.7, 4.2.2

Timeline

Every event on this vulnerability

Related

Other vulnerabilities in Apache, strongest first

Embed

A live severity badge for an advisory, README or ticket

CVE-2026-50630 severity on Zeptric[![CVE-2026-50630](https://zeptric.io/badge/cve/CVE-2026-50630.svg)](https://zeptric.io/cve/CVE-2026-50630)