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

- Priority: **Routine**
- Reason: Not severe (CVSS 6.5, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-12 · Modified: 2026-08-07
- Aliases: GHSA-xf62-wr5p-5p95
- Record: https://cvemate.com/vulnerability/CVE-2026-50630 · JSON: https://cvemate.com/vulnerability/CVE-2026-50630/json

## Description

```text
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.
```

## Signals

- CVSS: 6.5 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
- EPSS: 0.375%, percentile 33.525%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cxf: ≥ 4.2.0, \< 4.2.2 \| ≥ 4.0.0, \< 4.1.7 \| \< 3.6.12
- apache cxf: \< 4.1.7 \| \< 3.6.12 \| ≥ 4.0.0, \< 4.1.7 \| ≥ 4.2.0, \< 4.2.2
- org.apache.cxf cxf-rt-rs-security-oauth2 (Maven): ≥ 4.2.0, \< 4.2.2 \| \< 4.1.7

## References

- <https://lists.apache.org/thread/bt7vnjzzkpd6vdhkxv103poor1jy5trm>
- <http://www.openwall.com/lists/oss-security/2026/06/11/7>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50630>
- <https://github.com/apache/cxf>

---

Data as of 2026-12-05T07:37:56.996Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
