CVE-2026-50630Apache Cxf
Medium 6.5 No auth needed
Follow: this CVE · Apache · Apache Cxf We alert you by email or Slack (account required).
- Priority
- 54
- CVSS 3.1
- 6.5
- EPSS
- —
- Auth required
- No
- Published
- Jun 12, 2026
- Updated
- Nov 5, 2026
- Category
- Application · Cross-platform
- Weakness (CWE)
- CWE-113
- SSVC (CISA)
- Exploitation: none · Automatable: yes · Technical impact: partial
- Vector
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N
What happens
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.
What to do
- Apply the vendor's security update for Cxf.
- It can be exploited without authentication: if you cannot patch now, restrict Internet access to the affected service.
Affected packages
| Ecosystem | Package | Affected versions | Fixed in | How to upgrade |
|---|---|---|---|---|
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 |
≥ 4.2.0 < 4.2.2 |
4.2.2 |
— |
| Maven | org.apache.cxf:cxf-rt-rs-security-oauth2 |
< 4.1.7 |
4.1.7 |
— |
Per OSV / GitHub Advisories (GHSA-xf62-wr5p-5p95). Check the version in your lockfile before upgrading.
Affected products (CPE)
| Vendor | Product | Versions |
|---|---|---|
| apache | cxf | < 3.6.12 |
| apache | cxf | ≥ 4.0.0 < 4.1.7 |
| apache | cxf | ≥ 4.2.0 < 4.2.2 |
Official sources
References
Links published by the sources. Open them with care.
- lists.apache.org Vendor Advisory
- www.openwall.com Mailing List Third Party Advisory