Description
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.
Published: 2026-06-12
Score: 5.3 Medium
EPSS: < 1% Very Low
KEV: No
Impact: n/a
Action: n/a
AI Analysis

Impact

The flaw originates when the OAuth2 server concatenates an incoming clientId into warning logs without removing control characters. An attacker can therefore embed newlines or other special sequences to insert arbitrary text into the server’s log files. This capability classifies the weakness as CWE‑93, Log Injection, and permits an attacker to forge or corrupt audit entries, obscuring legitimate activity and hampering forensic investigations.

Affected Systems

Apache CXF, part of the Apache Software Foundation, is affected by this issue. All releases prior to 4.2.2 and 4.1.7 contain the flaw; upgrading to version 4.2.2 or 4.1.7 removes the vulnerability.

Risk and Exploitability

An attacker can exploit the vulnerability remotely by sending a crafted HTTP request containing a malicious clientId to the OAuth2 endpoint. The EPSS score of less than 1% indicates a low probability of widespread exploitation, and the vulnerability is not listed in the CISA KEV catalog. However, the CVSS score of 5.3 denotes moderate severity, reflecting the moderate impact on audit integrity. The fact that no public exploit is documented is inferred from the absence of such reports in the provided references.

Generated by OpenCVE AI on June 12, 2026 at 16:29 UTC.

Remediation

No vendor fix or workaround currently provided.

OpenCVE Recommended Actions

  • Apply the official patch by upgrading to Apache CXF 4.2.2 or 4.1.7.
  • Sanitize the clientId parameter before logging, removing or escaping control characters.
  • Restrict the length of clientId values to mitigate injection impact.
  • Monitor log files for anomalous entries that may indicate an injection attempt.

Generated by OpenCVE AI on June 12, 2026 at 16:29 UTC.

Tracking

Sign in to view the affected projects.

Advisories

No advisories yet.

History

Fri, 12 Jun 2026 15:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

cvssV3_1

{'score': 5.3, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N'}


Fri, 12 Jun 2026 14:30:00 +0000

Type Values Removed Values Added
Metrics cvssV3_1

{'score': 8.2, 'vector': 'CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N'}

ssvc

{'options': {'Automatable': 'yes', 'Exploitation': 'none', 'Technical Impact': 'partial'}, 'version': '2.0.3'}


Fri, 12 Jun 2026 10:45:00 +0000

Type Values Removed Values Added
First Time appeared Apache
Apache cxf
Vendors & Products Apache
Apache cxf

Fri, 12 Jun 2026 10:30:00 +0000

Type Values Removed Values Added
References

Fri, 12 Jun 2026 09:45:00 +0000

Type Values Removed Values Added
Description 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.
Title Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier
Weaknesses CWE-93
References

cve-icon MITRE

Status: PUBLISHED

Assigner: apache

Published:

Updated: 2026-06-12T14:47:44.227Z

Reserved: 2026-06-05T10:55:14.302Z

Link: CVE-2026-50629

cve-icon Vulnrichment

Updated: 2026-06-12T09:28:05.582Z

cve-icon NVD

Status : Undergoing Analysis

Published: 2026-06-12T10:16:22.830

Modified: 2026-06-12T16:16:33.140

Link: CVE-2026-50629

cve-icon Redhat

No data.

cve-icon OpenCVE Enrichment

Updated: 2026-06-12T16:30:14Z

Weaknesses
  • CWE-93

    Improper Neutralization of CRLF Sequences ('CRLF Injection')