CVE-2026-50630 PUBLISHED

Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection

Assigner: apache
Reserved: 05.06.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache CXF
Versions Default: unaffected
  • affected from 4.2.0 to 4.2.2 (excl.)
  • affected from 0 to 4.1.7 (excl.)

Credits

  • Guanping Zhang reported this vulnerability. finder

References

Problem Types

  • CWE-113 Improper Neutralization of CRLF Sequences in HTTP Headers ('HTTP Request/Response Splitting') CWE