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

- Severity: Medium 6.5 (CVSS:3.1, scored by CISA-ADP) `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- Known to be exploited: not in CISA's catalogue, which lists only what CISA has confirmed
- Likelihood of exploitation in the next 30 days (EPSS): 0.38%, higher than 33% of CVEs (2026-12-01)
- Published: 2026-06-12T08:58:27.181Z
- Modified: 2026-11-05T15:57:04.820Z
- Also known as: GHSA-xf62-wr5p-5p95
- Weaknesses: CWE-113
- SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial
- Assigned by: apache

## 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.

(As written by CVE List.)

## Affected

- 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
- org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven): from 4.2.0 before 4.2.2; before 4.1.7
- apache cxf: before 3.6.12; from 4.0.0 before 4.1.7; from 4.2.0 before 4.2.2

## Every score

- CISA-ADP: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`
- GitHub: CVSS:3.1 6.5 Medium `CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N`

## 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

- CVE List: [CVE-2026-50630](https://www.cve.org/CVERecord?id=CVE-2026-50630), CVE Terms of Use, modified 2026-08-07
- GitHub Advisory Database: [GHSA-xf62-wr5p-5p95](https://github.com/advisories/GHSA-xf62-wr5p-5p95), CC-BY-4.0, modified 2026-08-20
- NVD: [CVE-2026-50630](https://nvd.nist.gov/vuln/detail/CVE-2026-50630), Public domain, modified 2026-11-05

---

Page: https://cve.day/CVE-2026-50630 · Whole record: https://cve.day/CVE-2026-50630.json · Rebuilt by cve.day 2026-11-25T22:59:24.497Z
