Skip to content
OpenAdvisories
Medium · 5.3 CVE-2026-50629 EUVD-2026-36397GHSA-f8p7-h97q-7vx7

Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier

Published Jun 12, 2026 · Updated Aug 7, 2026 · Assigned by apache

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 or 3.6.12, which fixes this issue.

Affected products

VendorProductAffectedFixed
Apache Software Foundation Apache CXF 4.2.0 – < 4.2.2, 4.0.0 – < 4.1.7, < 3.6.12 4.2.2

Affected packages

EcosystemPackageAffectedFixedRecord
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 >= 4.2.0, < 4.2.2 4.2.2 GHSA-f8p7-h97q-7vx7
Maven org.apache.cxf:cxf-rt-rs-security-oauth2 < 4.1.7 4.1.7 GHSA-f8p7-h97q-7vx7

Advisories 1

References