HTTP Response Splitting Affecting org.apache.cxf:cxf-rt-rs-security-oauth2 package, versions [,4.1.7)[4.2.0,4.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.4% (33rd percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications
  • Snyk IDSNYK-JAVA-ORGAPACHECXF-17339182
  • published15 Jun 2026
  • disclosed12 Jun 2026
  • creditGuanping Zhang

Introduced: 12 Jun 2026

CVE-2026-50630  (opens in a new tab)
CWE-113  (opens in a new tab)

How to fix?

Upgrade org.apache.cxf:cxf-rt-rs-security-oauth2 to version 4.1.7, 4.2.2 or higher.

Overview

org.apache.cxf:cxf-rt-rs-security-oauth2 is a services framework.

Affected versions of this package are vulnerable to HTTP Response Splitting via improper handling of the realm parameter in the construction of the WWW-Authenticate response header. An attacker can inject arbitrary HTTP headers or split the HTTP response by supplying specially crafted input containing Carriage Return (CR) and Line Feed (LF) characters.

CVSS Base Scores

version 4.0
version 3.1