GHSA-f8p7-h97q-7vx7

Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier

At a glance

Published
Updated
CVE
CVE-2026-50629
CVSS_V3
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

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.

Affected packages

PackageVersions
Maven · org.apache.cxf:cxf-rt-rs-security-oauth2introduced 4.2.0, fixed 4.2.2
Maven · org.apache.cxf:cxf-rt-rs-security-oauth2introduced 0, fixed 4.1.7

References

Sources

SourceLicence
OSV.devCC-BY 4.0 — GitHub Advisory Database