6.5medium
Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection
- Severity
- 6.5medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.38% (higher than 33% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-xf62-wr5p-5p95
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 or 3.6.12, which fixes this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.cxf:cxf-rt-rs-security-oauth2 | from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12 | CVE List |
| org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) | from 4.2.0 before 4.2.2, before 4.1.7 | GitHub Advisory Database |
| apache cxf | before 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2 | NVD |
All scores
| CISA-ADP | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
| GitHub | 6.5medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
Una vulnerabilidad de inyección CRLF existe en la clase OAuth2 AuthorizationUtils. Al construir el encabezado de respuesta WWW-Authenticate, el parámetro ’realm’ se concatena sin sanear los caracteres de Retorno de Carro (CR) y Salto de Línea (LF). Si un atacante puede controlar el valor ’realm’, pueden inyectar encabezados HTTP arbitrarios o dividir la respuesta HTTP por completo. Se recomienda a los usuarios actualizar a las versiones 4.2.2 o 4.1.7, lo que soluciona este problema.
References
| https://lists.apache.org/thread/bt7vnjzzkpd6vdhkxv103poor1jy5trm | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/06/11/7 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-50630 | advisory | |
| https://github.com/apache/cxf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50630 changed 2026-08-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-xf62-wr5p-5p95 changed 2026-08-20 | CC-BY-4.0 |
| NVD | CVE-2026-50630 changed 2026-11-05 | Public domain |