# CVE-2026-50629: Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier

- Priority: **Routine**
- Reason: Not severe (CVSS 5.3, network access); no exploitation reported by the 5 checked sources
- Next step: Fix in the normal cadence
- Status: published
- Published: 2026-06-12 · Modified: 2026-08-07
- Aliases: GHSA-f8p7-h97q-7vx7
- Record: https://cvemate.com/vulnerability/CVE-2026-50629 · JSON: https://cvemate.com/vulnerability/CVE-2026-50629/json

## Description

```text
The 'clientId' parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing control characters. This allows an attacker to inject arbitrary content, including fake log entries, into the server's log files. Users are recommended to upgrade to versions 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.
```

## Signals

- CVSS: 5.3 medium (v3.1, CVE.org) CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
- EPSS: 0.437%, percentile 39.706%, as of 2026-12-04
- Known exploited (KEV): CISA not listed, ENISA not listed, CIRCL not listed
- Ransomware use: none recorded
- Public exploits: 0

## Affected

- apache software foundation apache cxf: ≥ 4.2.0, \< 4.2.2 \| ≥ 4.0.0, \< 4.1.7 \| \< 3.6.12
- apache cxf: \< 4.1.7 \| \< 3.6.12 \| ≥ 4.0.0, \< 4.1.7 \| ≥ 4.2.0, \< 4.2.2
- org.apache.cxf cxf-rt-rs-security-oauth2 (Maven): ≥ 4.2.0, \< 4.2.2 \| \< 4.1.7

## References

- <https://lists.apache.org/thread/xw95po30p8th58ms1no6b0f2375cql00>
- <http://www.openwall.com/lists/oss-security/2026/06/11/6>
- <https://nvd.nist.gov/vuln/detail/CVE-2026-50629>
- <https://github.com/apache/cxf>

---

Data as of 2026-12-05T07:37:39.584Z. The priority label is CveMate's own model from public evidence, not an official rating, and it knows nothing about your assets. How labels are decided: https://cvemate.com/faq#priority
