Security mailing lists by PureSourceCode

CVE-2026-50630

MEDIUM 6.5CVSS 3.1

Apache CXF OAuth2 HTTP Response Splitting via WWW-Authenticate Realm Injection

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.

Published
12 Jun 2026
Last modified
5 Nov 2026
Assigned by
security@apache.org
NVD status
Analyzed
Weakness
CWE-113
Also known as
GHSA-xf62-wr5p-5p95
Sources
NVDJSONOSV GHSA-xf62-wr5p-5p95JSON

Scores

SourceScored byVersionScoreVector / decision
NVD 134c704f-9b21-4f2e-91b3-4a467353bcc0 (Secondary) CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
OSV GitHub CVSS 3.1 MEDIUM 6.5 CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected

SourceVendor / ecosystemProduct / packageAffected versionsFixed in
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
< 3.6.12 3.6.12
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
>= 4.0.0, < 4.1.7 4.1.7
NVD apache cxf
cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*
>= 4.2.0, < 4.2.2 4.2.2
OSV Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2 4.2.2
OSV Maven org.apache.cxf:cxf-rt-rs-security-oauth2 < 4.1.7 4.1.7

References

History

  • 25 Nov 2026 21:03 UTC · NVD: first stored (published 12 Jun 2026)
  • 25 Nov 2026 20:13 UTC · OSV: first stored (published 12 Jun 2026)
An unhandled error has occurred. Reload ×

Rejoining the server...

Rejoin failed... trying again in seconds.

Failed to rejoin.
Please retry or reload the page.

The session has been paused by the server.

Failed to resume the session.
Please retry or reload the page.