Skip to main content
CVE-2026-50630VulnerabilityPublished Updated

Org.apache.cxf:cxf rt rs security oauth2: Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm

Affects org.apache.cxf:cxf-rt-rs-security-oauth2Source GCVE Database

0
Authoritative record:CVE-2026-50630· Medium 6.5

Not known to be exploited · CVSS 6.5 Medium : upgrade to 4.2.2 when convenient.

Data as of 26 Oct 2026, 12:55 UTC

CVSS 3.1 base score
6.5Medium
How severe the flaw is on the 0–10 CVSS scale.
EPSS
0.3% chance of exploitation in 30 days – higher than 31% of CVEsExploit Prediction Scoring System: the likelihood attackers will use this flaw soon.
Patch
Available – fixed in 4.2.2, 4.1.7
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Exploitation evidence

  1. Disclosed: evidence found.

    CVE published 12 Jun 2026

  2. Detectable: no evidence on record.

    No public nuclei template indexed

  3. Weaponised: no evidence on record.

    No public exploit code indexed in Metasploit or Exploit-DB

  4. Exploited in the wild: no evidence on record.

    Not in CISA KEV and no source reports exploitation

  5. Observed by OffSeq Mirage: no evidence on record.

    No attack traffic recorded by OffSeq Mirage sensors

A missing step is not evidence of safety. Sources: cve.org (opens in a new tab), the Metasploit, Exploit-DB and nuclei-templates index as of 26 Oct 2026.

What to do

Upgrade org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.2.2; org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.1.7.

Affected software

ProductAffectedFixed in
Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2Affected
  • >=4.2.0 <4.2.2
Fixed in
  • 4.2.2
Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2Affected
  • <4.1.7
Fixed in
  • 4.1.7

Check your own hosts for these packages with threat-finder (opens in a new tab), our free open-source scanner.

Description

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

Community reviews

Loading reviews…