Loading...
Skip to main content

CVE-2026-50629 — Vulnerability in...

HIGH

Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier

Published June 12, 2026Updated August 20, 2026Source: osv

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 (122 days ago).
  • Last revised August 20, 2026 — 69 days after initial publication.

Remediation

Upgrade to the fixed version using your package manager.

Maven
Update org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.1.7 or later
<!-- Update pom.xml dependency version to 4.1.7 for org.apache.cxf:cxf-rt-rs-security-oauth2 -->
Maven
Update org.apache.cxf:cxf-rt-rs-security-oauth2 to 4.2.2 or later
<!-- Update pom.xml dependency version to 4.2.2 for org.apache.cxf:cxf-rt-rs-security-oauth2 -->

After upgrading, run your dependency scanner again to confirm the vulnerability is resolved.

Affected Packages (2)

Affects 1 ecosystem: maven (1).

PackageEcosystemAffectedFixed In
org.apache.cxf:cxf-rt-rs-security-oauth2
maven
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
4.2.0, 4.2.14.2.2

Vulnerability Classification

Common Weakness Enumeration (CWE) identifiers for this vulnerability type.

CVSS Score Breakdown

What the CVSS (Common Vulnerability Scoring System) 8.2 score means for each attack dimension.

Attack Vector
Network
Attack Complexity
Low
Privileges Required
None
User Interaction
None
Scope
Unchanged
Confidentiality
High
Integrity
Low
Availability
None

CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

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. Use GeekWala's free vulnerability scanner to check your dependencies against CVE-2026-50629 and 200,000+ other known vulnerabilities.

Severity & Exploitability

CVSS Score
8.2

High exploitability or significant impact. Prioritize remediation within days.

Also Known As

GHSA-f8p7-h97q-7vx7

Related CVEs

Check if you're affected

Scan your dependencies to see if this vulnerability affects your projects.

Scan Your Dependencies