Skip to main content
← All vulnerabilities
CVE-2026-50630GHSA-XF62-WR5P-5P95

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

Published
Last modified
published
Not listed in CISA KEV
Low (apache)
Fix
Fixed in 4.2.2, 4.1.7, 3.6.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

Summary

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.

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • org.apache.cxf:cxf-rt-rs-security-oauth2

    From 4.2.0 · fixed in 4.2.2; From 4.0.0 · fixed in 4.1.7; fixed in 3.6.12

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    From 4.2.0 · fixed in 4.2.2

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    fixed in 4.1.7

References 1

lists.apache.org