CVE-2026-50629 — Vulnerability in cxf-rt-rs-security-oauth2
Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier
What Should I Do?
Address in Next Maintenance Window
Low exploitation probability (0.70%). Schedule for your next planned update.
Does your project use an affected org.apache.cxf:cxf-rt-rs-security-oauth2 version?
Paste your pom.xml to check it for CVE-2026-50629 and every other known vulnerability, with CISA KEV and EPSS on each finding. Free with no signup for up to 10 packages, or up to 500 per scan with a free account, which also keeps up to 200 packages in saved projects.
Summary
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, which fixes this issue.
Advisory Timeline
- First published June 12, 2026 (167 days ago).
- Last revised August 20, 2026 — 69 days after initial publication.
Remediation
Upgrade to the fixed version using your package manager.
<!-- Update pom.xml dependency version to 4.1.7 for org.apache.cxf:cxf-rt-rs-security-oauth2 -->
<!-- Update pom.xml dependency version to 4.2.2 for org.apache.cxf:cxf-rt-rs-security-oauth2 -->
After upgrading, scan your dependencies again to confirm the vulnerability is resolved.
Affected Packages (2)
Affects 1 ecosystem: Maven (1).
| Package | Fixed In |
|---|---|
| org.apache.cxf:cxf-rt-rs-security-oauth2 Maven · Affected: 2.6.0, 2.6.1, 2.6.10, 2.6.11 (+155 more) | 4.1.7 |
| org.apache.cxf:cxf-rt-rs-security-oauth2 Maven · Affected: 4.2.0, 4.2.1 | 4.2.2 |
Vulnerability Classification
Common Weakness Enumeration (CWE) identifiers for this vulnerability type.
- CWE-93
CVSS Score Breakdown
What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N
References
Frequently Asked Questions
- What is CVE-2026-50629?
- Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier. This vulnerability has been assigned a severity rating of HIGH (CVSS score: 8.2/10).
- How do I check if my project is affected by CVE-2026-50629?
- CVE-2026-50629 affects org.apache.cxf:cxf-rt-rs-security-oauth2. It has a 0.7% probability of exploitation within 30 days (EPSS score). Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50629 and 200,000+ other known vulnerabilities.
Severity & Exploitability
Significant impact if exploited, or exploitable with modest effort.
This is a below-median EPSS score — only 48.8% of tracked vulnerabilities score at or below it, so most tracked vulnerabilities are considered more likely to be exploited than this one.
Also Known As
Related CVEs
- CVE-2026-50632CRITICAL
Apache CXF has JNDI Injection Vulnerability in JMSConfigFactory
- CVE-2026-50627CRITICAL
Apache CXF OAuth2 Missing JWT Audience and Issuer Validation in Access Token Validator
- CVE-2026-50628CRITICAL
Apache CXF OAuth2 has Inverted IP Binding Check that Defeats Security Control
- CVE-2026-44930CRITICAL
Apache CXF has an LDAP injection vulnerability
- CVE-2024-28752CRITICAL
SSRF vulnerability using the Aegis DataBinding in Apache CXF
- CVE-2026-50633CRITICAL
Apache CXF JNDI Injection vulnerability in DispatchMDBMessageListenerImpl
- CVE-2022-46364CRITICAL
Apache CXF Server-Side Request Forgery vulnerability
- CVE-2025-48913MEDIUM
Apache CXF: Untrusted JMS configuration can lead to RCE