
Cloud Vulnerability DB
A community-led vulnerabilities database
CVE-2026-50629 is a log injection vulnerability in Apache CXF's OAuth2 server component, classified as "Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier." The clientId parameter from incoming HTTP requests is directly concatenated into OAuth2 server log warning messages without sanitizing control characters, enabling attackers to inject arbitrary content — including fake log entries — into server log files. Affected versions include Apache CXF (org.apache.cxf:cxf-rt-rs-security-oauth2) before 4.1.7 and 4.2.0 before 4.2.2. The vulnerability was disclosed on June 11, 2026, and carries a CVSS v3.1 base score of 5.3 (Medium) per NVD, though the GitHub Advisory Database assigns a score of 8.2 (High) (Apache Advisory, GitHub Advisory, Openwall OSS-Sec).
The root cause is CWE-93 (Improper Neutralization of CRLF Sequences / CRLF Injection): the clientId value supplied in HTTP requests is concatenated directly into log warning messages in the OAuth2 server without stripping or escaping control characters such as carriage return (\r) and line feed (\n). An unauthenticated, network-accessible attacker can craft a malicious clientId value containing CRLF sequences to break log line boundaries and insert arbitrary fake log entries, potentially masking malicious activity or framing legitimate users. No authentication or user interaction is required, and attack complexity is low. The vulnerability was reported by Guanping Zhang (Openwall OSS-Sec, GitHub Advisory).
Successful exploitation allows an unauthenticated attacker to tamper with the integrity of OAuth2 server audit and application logs by injecting arbitrary content, including fabricated log entries. This can undermine forensic investigations, obscure evidence of malicious activity, and potentially mislead security operations teams. There is no direct impact on confidentiality or availability; the primary risk is integrity loss of log data, which can have downstream compliance and incident response consequences (Apache Advisory, GitHub Advisory).
clientId parameter containing CRLF sequences and arbitrary log content, such as: clientId=legitimate_client%0d%0a[FAKE LOG ENTRY] Admin login successful from 192.168.1.1.curl or a custom script). No authentication is required.clientId value into its log file, inserting the fake log entry as a new line, potentially masking attacker activity or injecting misleading audit records (Openwall OSS-Sec, GitHub Advisory).%0d%0a, %0a, %0d) in the clientId field.clientId parameter values containing encoded newline characters (\r\n, \n) or other control characters.cxf.log or equivalent application log files that appear structurally inconsistent with surrounding entries.Apache has released patched versions that sanitize the clientId parameter before logging: upgrade to Apache CXF 4.1.7 (for the pre-4.2.x branch) or Apache CXF 4.2.2 (for the 4.2.x branch). As a complementary measure, implement input validation and sanitization for the clientId parameter to remove or escape control characters before any logging occurs. Organizations should also review existing log files for anomalous entries that may indicate prior exploitation attempts (Apache Advisory, Openwall OSS-Sec).
The vulnerability was disclosed by Apache CXF committer Colm O hEigeartaigh via the oss-security mailing list on June 11, 2026, crediting Guanping Zhang as the finder (Openwall OSS-Sec). Community reaction has been limited, consistent with the low-to-medium severity rating and absence of active exploitation. The advisory was noted on Bluesky's infosec community feed shortly after disclosure (Apache Advisory).
Source: This report was generated using AI
Free Vulnerability Assessment
Evaluate your cloud security practices across 9 security domains to benchmark your risk level and identify gaps in your defenses.
Get a personalized demo
"Best User Experience I have ever seen, provides full visibility to cloud workloads."
"Wiz provides a single pane of glass to see what is going on in our cloud environments."
"We know that if Wiz identifies something as critical, it actually is."