CVE-2026-50630
Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection
MEDIUM 6.5
At a glance
- Source
- NVD
- EPSS
- EPSS 0.38 % · percentile 31 ()
- State
- PUBLISHED
- Published
- Updated
- Assigner
- apache
- NVD status
- Modified
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.
Weaknesses (CWE)
- CWE-113 — Improper Neutralization of CRLF Sequences in HTTP Headers
References
Scores
| Version | Score | Vector | Scored by |
|---|---|---|---|
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | CISA-ADP |
| CVSS 3.1 | MEDIUM 6.5 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N | NVD · 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) |
Advisories
- GHSA-xf62-wr5p-5p95 — Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection
European references
- ENISA EUVD · EUVD-2026-36398
- GCVE · GCVE-0-2026-50630
Affected configurations (NVD CPE)
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*< 4.1.7cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*≥ 4.2.0 < 4.2.2
Affected products
| Product | Versions |
|---|---|
| Apache Software Foundation · Apache CXF | affected 4.2.0 < 4.2.2 ; affected 4.0.0 < 4.1.7 ; affected 0 < 3.6.12 |
Sources
| Source | Licence |
|---|---|
| CVE List (CVEProject cvelistV5) | CVE Program Terms of Use |
| EPSS (FIRST.org) | FIRST — attribution requested |
| ENISA EUVD | ENISA — reproduction authorised, source acknowledged |
| NVD (NIST) via fkie-cad/nvd-json-data-feeds | Public domain — this product uses data from the NVD API but is not endorsed or certified by the NVD |