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
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
- 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:NExploitation evidence
Disclosed: evidence found.
CVE published 12 Jun 2026
Detectable: no evidence on record.
No public nuclei template indexed
Weaponised: no evidence on record.
No public exploit code indexed in Metasploit or Exploit-DB
Exploited in the wildExploited: no evidence on record.
Not in CISA KEV and no source reports exploitation
Observed by OffSeq MirageSeen by 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
| Product | Affected | Fixed in |
|---|---|---|
| Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2 | Affected
| Fixed in
|
| Mavenorg.apache.cxf:cxf-rt-rs-security-oauth2 | Affected
| Fixed in
|
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.