GHSA-xf62-wr5p-5p95
Dashboard / Vulnerabilities / GHSA-xf62-wr5p-5p95
Summary: Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection
Details: 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: https://nvd.nist.gov/vuln/detail/CVE-2026-50630, https://github.com/apache/cxf, https://lists.apache.org/thread/bt7vnjzzkpd6vdhkxv103poor1jy5trm, http://www.openwall.com/lists/oss-security/2026/06/11/7
Affected packages
Package
Name: org.apache.cxf:cxf-rt-rs-security-oauth2
Purl: pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2
Affected ranges
Type: ECOSYSTEM
Events:
