CVE-2026-50630
MEDIUM 6.5CVSS 3.1Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection
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.
- Published
- 12 Jun 2026
- Last modified
- 5 Nov 2026
- Assigned by
- security@apache.org
- NVD status
- Analyzed
- Weakness
- CWE-113
- Also known as
- GHSA-xf62-wr5p-5p95
- Sources
- NVDJSONOSV GHSA-xf62-wr5p-5p95JSON
Scores
| Source | Scored by | Version | Score | Vector / decision |
|---|---|---|---|---|
| NVD | 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) | 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 |
| OSV | GitHub | 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 |
Affected
| Source | Vendor / ecosystem | Product / package | Affected versions | Fixed in |
|---|---|---|---|---|
| NVD | apache | cxfcpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* |
< 3.6.12 | 3.6.12 |
| NVD | apache | cxfcpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* |
>= 4.0.0, < 4.1.7 | 4.1.7 |
| NVD | apache | cxfcpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:* |
>= 4.2.0, < 4.2.2 | 4.2.2 |
| OSV | Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | >= 4.2.0, < 4.2.2 | 4.2.2 |
| OSV | Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 | < 4.1.7 | 4.1.7 |
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
History
- 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
- 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2026)