Advisory Database
  • Advisories
  • Dependency Scanning
  1. maven
  2. ›
  3. org.apache.cxf/cxf-rt-rs-security-oauth2
  4. ›
  5. CVE-2026-50630

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

June 12, 2026 (updated August 20, 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.

References

  • github.com/advisories/GHSA-xf62-wr5p-5p95
  • lists.apache.org/thread/bt7vnjzzkpd6vdhkxv103poor1jy5trm
  • nvd.nist.gov/vuln/detail/CVE-2026-50630

Code Behaviors & Features

Detect and mitigate CVE-2026-50630 with GitLab Dependency Scanning

Secure your software supply chain by verifying that all open source dependencies used in your projects contain no disclosed vulnerabilities. Learn more about Dependency Scanning →

Affected versions

All versions before 4.1.7, all versions starting from 4.2.0 before 4.2.2

Fixed versions

  • 4.1.7
  • 4.2.2

Solution

Upgrade to versions 4.1.7, 4.2.2 or above.

Impact 6.5 MEDIUM

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Learn more about CVSS

Weakness

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

Source file

maven/org.apache.cxf/cxf-rt-rs-security-oauth2/CVE-2026-50630.yml

Spotted a mistake? Edit the file on GitLab.

  • Site Repo
  • About GitLab
  • Terms
  • Privacy Statement
  • Contact

Page generated Thu, 10 Sep 2026 00:17:14 +0000.