Skip to main content
← All vulnerabilities
CVE-2026-50629GHSA-F8P7-H97Q-7VX7

Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier

Published
Last modified
published
Not listed in CISA KEV
Low (apache)
Fix
Fixed in 4.2.2, 4.1.7, 3.6.12
None on Exploit-DB, Metasploit or GitHub
  • Exploitation: none
  • Automatable: yes
  • Technical impact: partial

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

Timeline

  1. CVE published
  2. CISA SSVC assessment

    Exploitation: none · Automatable: yes · Technical impact: partial

  3. Record last updated

Affected versions

  • org.apache.cxf:cxf-rt-rs-security-oauth2

    From 4.2.0 · fixed in 4.2.2; From 4.0.0 · fixed in 4.1.7; fixed in 3.6.12

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    From 4.2.0 · fixed in 4.2.2

  • org.apache.cxf:cxf-rt-rs-security-oauth2Maven

    fixed in 4.1.7

References 1

lists.apache.org