CVE-2026-50629 PUBLISHED

Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier

Assigner: apache
Reserved: 05.06.2026 Published: 12.06.2026 Updated: 12.06.2026

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.

Product Status

Vendor Apache Software Foundation
Product Apache CXF
Versions Default: unaffected
  • affected from 4.2.0 to 4.2.2 (excl.)
  • affected from 0 to 4.1.7 (excl.)

Credits

  • Guanping Zhang reported this vulnerability. finder

References

Problem Types

  • CWE-93 Improper Neutralization of CRLF Sequences ('CRLF Injection') CWE