{"id":"CVE-2026-50630","aliases":["CVE-2026-50630","GHSA-xf62-wr5p-5p95"],"related":[],"kind":"vulnerability","state":"published","title":"Apache CXF: OAuth2: HTTP Response Splitting via WWW-Authenticate Realm Injection","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.","summarySource":"cvelist","descriptions":[{"lang":"en","text":"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.","source":"cvelist"},{"lang":"en","text":"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.","format":"markdown","source":"ghsa"},{"lang":"es","text":"Una vulnerabilidad de inyección CRLF existe en la clase OAuth2 AuthorizationUtils. Al construir el encabezado de respuesta WWW-Authenticate, el parámetro ’realm’ se concatena sin sanear los caracteres de Retorno de Carro (CR) y Salto de Línea (LF). Si un atacante puede controlar el valor ’realm’, pueden inyectar encabezados HTTP arbitrarios o dividir la respuesta HTTP por completo. Se recomienda a los usuarios actualizar a las versiones 4.2.2 o 4.1.7, lo que soluciona este problema.","source":"nvd"}],"published":"2026-06-12T08:58:27.181Z","modified":"2026-11-05T15:57:04.820Z","severity":{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},"severities":[{"scorer":"CISA-ADP","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"},{"scorer":"GitHub","scheme":"CVSS:3.1","vector":"CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N","score":6.5,"rating":"MEDIUM"}],"cwes":["CWE-113"],"affected":[{"ranges":[{"type":"semver","introduced":"4.2.0","fixed":"4.2.2","status":"affected"},{"type":"semver","introduced":"4.0.0","fixed":"4.1.7","status":"affected"},{"type":"semver","introduced":"0","fixed":"3.6.12","status":"affected"}],"vendor":"Apache Software Foundation","product":"Apache CXF","package":"org.apache.cxf:cxf-rt-rs-security-oauth2","source":"cvelist"},{"ranges":[{"type":"ecosystem","introduced":"4.2.0","status":"affected","fixed":"4.2.2"}],"ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-rs-security-oauth2","purl":"pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2","source":"ghsa"},{"ranges":[{"type":"ecosystem","introduced":"0","status":"affected","fixed":"4.1.7"}],"ecosystem":"Maven","package":"org.apache.cxf:cxf-rt-rs-security-oauth2","purl":"pkg:maven/org.apache.cxf/cxf-rt-rs-security-oauth2","source":"ghsa"},{"ranges":[{"status":"affected","fixed":"3.6.12"},{"status":"affected","introduced":"4.0.0","fixed":"4.1.7"},{"status":"affected","introduced":"4.2.0","fixed":"4.2.2"}],"vendor":"apache","product":"cxf","cpe":"cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*","source":"nvd"}],"references":[{"url":"https://lists.apache.org/thread/bt7vnjzzkpd6vdhkxv103poor1jy5trm","tags":["vendor-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"http://www.openwall.com/lists/oss-security/2026/06/11/7","tags":["mailing-list","third-party-advisory","web"],"sources":["cvelist","ghsa","nvd"]},{"url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50630","tags":["advisory"],"sources":["ghsa"]},{"url":"https://github.com/apache/cxf","tags":["package"],"sources":["ghsa"]}],"credits":["Guanping Zhang reported this vulnerability."],"assigner":"apache","ssvc":{"scorer":"CISA-ADP","exploitation":"none","automatable":"yes","technicalImpact":"partial","date":"2026-06-12T14:03:00.752Z"},"sources":[{"source":"cvelist","name":"CVE List","id":"CVE-2026-50630","url":"https://www.cve.org/CVERecord?id=CVE-2026-50630","licence":"CVE Terms of Use","modified":"2026-08-07T12:43:16.673Z"},{"source":"ghsa","name":"GitHub Advisory Database","id":"GHSA-xf62-wr5p-5p95","url":"https://github.com/advisories/GHSA-xf62-wr5p-5p95","licence":"CC-BY-4.0","modified":"2026-08-20T18:48:07.608Z"},{"source":"nvd","name":"NVD","id":"CVE-2026-50630","url":"https://nvd.nist.gov/vuln/detail/CVE-2026-50630","licence":"Public domain","modified":"2026-11-05T15:57:04.820Z"}],"updatedAt":"2026-11-25T22:59:24.497Z","epss":{"score":0.00375,"percentile":0.33529,"date":"2026-12-01T12:00:22.000Z"}}