GHSA-f8p7-h97q-7vx7
Attack ChainAIDerived
Hypothetical attack flow derived from CVE metadata – not a confirmed exploit chain
-
AccessSend OAuth2 HTTP request to CXF endpoint
-
DeliverySupply clientId containing embedded CRLF sequences and forged log text
-
ExploitServer concatenates raw clientId into log warning message
-
ExecutionInjected content written to log file as apparently legitimate server entry
-
ImpactSIEM or analyst misled by fabricated log data
Vulnerability Assessment
| Weakness |
CWE
OWASP Top 10:2025
A05:2025 - Injection
ASVS 5.0
V1 - Encoding and Sanitization CRLF sequence sanitization
|
| Exploitation Conditions | Exploitation requires that the target Apache CXF deployment includes the |
| Impact | The vendor classifies this as Low severity, which is appropriate given that the sole exploitable impact is log file integrity - no code execution, data exfiltration, or service disruption is achievable. No CVSS vector was provided in the input data; metrics are inferred from the description: the attack vector is network (clientId arrives via standard OAuth2 HTTP requests), attack complexity is low (no special prerequisites beyond reaching the endpoint), and no authentication appears necessary since OAuth2 client credential requests inherently precede authentication. EPSS data is absent, and the vulnerability is not listed in CISA KEV, with no public exploit code identified - all signals consistent with a low-urgency, low-impact finding. The real-world risk is primarily to organizations relying on CXF OAuth2 server logs for SIEM alerting or forensic investigation: injected entries could mask attacker activity or generate false positive alerts. There is no conflict between the available signals, but the absence of a vendor-provided CVSS vector means attack complexity and privilege metrics are inferred rather than confirmed. |
| Exploit ScenarioDerived | An unauthenticated remote attacker sends an OAuth2 authorization or token request to the CXF server with a |
Get an e-mail when this CVE is exploited, patched or re-scored. Free account.
Alert meAnalysisAIv1 – Jun 11, 2026
Log injection in Apache CXF's OAuth2 module (org.apache.cxf:cxf-rt-rs-security-oauth2) permits remote attackers to forge arbitrary log entries by supplying crafted clientId values containing control characters or newline sequences in OAuth2 HTTP requests. Affected are CXF 4.2.0-4.2.1 and all 4.1.x versions before 4.1.7; fixed releases 4.2.2 and 4.1.7 were issued June 10, 2026. No public exploit code or active exploitation has been identified at time of analysis; practical impact is confined to log integrity compromise that could mislead security monitoring and incident response processes.
RemediationAI
Upgrade to Apache CXF 4.2.2 if running any 4.2.x build, or to 4.1.7 if running any 4.1.x build; both releases were made available June 10, 2026, and are downloadable from https://cxf.apache.org/. If immediate patching is not feasible, the following specific compensating controls reduce exposure: restrict network access to OAuth2 token and authorization endpoints to known, trusted client IP ranges via WAF rules or network ACLs, which limits the population of potential injectors; configure log aggregation pipelines (e.g., Logstash, Fluentd) to detect or strip raw CRLF sequences before log ingestion, reducing the effectiveness of injected entries in SIEM systems; and treat all OAuth2-related warning log output with heightened scrutiny during incident investigations until patching is complete. None of these workarounds fix the underlying concatenation flaw - they reduce opportunity or mitigate downstream confusion only.
Affected VersionsENISA
Affected Packages
Source: OSV (Open Source Vulnerabilities)
Affects your stack
Affects 2 packages in maven, euvd
Checking this CVE against your own stacks and servers is part of the Basic plan and up.
Technical ContextAI · show details
Apache CXF is a widely deployed open-source Java services framework supporting JAX-WS and JAX-RS for SOAP and RESTful web services. The vulnerable component is the cxf-rt-rs-security-oauth2 Maven artifact, which implements the OAuth2 authorization server logic. The root cause is a classic CWE-117 (Improper Output Neutralization for Logs) / CWE-93 (Improper Neutralization of CRLF Sequences) flaw: the clientId value extracted directly from incoming HTTP request parameters is concatenated into server log warning messages without stripping or escaping control characters such as carriage return (\r) and line feed (\n). An attacker-supplied clientId containing these characters terminates the current log line and injects synthetic log entries that appear indistinguishable from legitimate server-generated output, undermining the trustworthiness of log-based detection and audit trails.
Know when Cxf gets its next vulnerability
- Watch products and get an email when something new is published
- Check this CVE against your own stack and servers
- Exploit and PoC references, threat intelligence from 22 sources
No credit card · 7-day full trial
Severity by source
AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
Network-accessible OAuth2 endpoint accepts clientId without prior authentication; impact is limited to log integrity corruption with no confidentiality or availability effect.
Primary rating from Vendor (CNA).
CVSS VectorVendor
Lifecycle Timeline
3Description PRE-NVD
Blast Radius
ecosystem impact- 15 maven packages depend on org.apache.cxf:cxf-rt-rs-security-oauth2 (8 direct, 7 indirect)
Ecosystem-wide dependent count for version 4.2.0.
Executive ViewAI
Apache CXF versions 4.1.x (before 4.1.7) and 4.2.0-4.2.1 contain a log injection vulnerability in the OAuth2 module that allows remote attackers to forge arbitrary log entries, potentially compromising log integrity and disrupting security monitoring and incident response capabilities. While no public exploit identified at time of analysis, organizations using affected versions should prioritize patching to maintain reliable audit trail integrity.
Apply vendor patch.
Threat Intelligence Overview
How this decision was reached
The engine reads each signal below and applies a fixed list of rules from top to bottom. The first rule that matches sets the recommended action – like a statement, every line is shown.
What every action level means
SSVC AssessmentENISA
Priority Score
Attack Technique
Code injection occurs when an application accepts user input and passes it directly into a language interpreter or evaluator without proper sanitization.
A SSRF vulnerability using the Aegis DataBinding in versions of Apache CXF before 4.0.4, 3.6.3 and 3.5.8 allows an attac
The streaming XML parser in Apache CXF 2.5.x before 2.5.10, 2.6.x before 2.6.7, and 2.7.x before 2.7.4 allows remote att
Apache CXF 2.4.x before 2.4.8, 2.5.x before 2.5.4, and 2.6.x before 2.6.1, when a Supporting Token specifies a child WS-
The WS-SP UsernameToken policy in Apache CXF 2.4.5 and 2.5.1 allows remote attackers to bypass authentication by sending
Authentication bypass in Apache CXF's OAuthRequestFilter affects versions prior to 4.1.7 and 4.2.0-4.2.1, where an inver
XML External Entity (XXE) processing in Apache CXF versions prior to 4.1.7 and 4.2.0-4.2.1 allows remote attackers to tr
A SSRF vulnerability in parsing the href attribute of XOP:Include in MTOM requests in versions of Apache CXF before 3.5.
Apache CXF before 3.3.4 and 3.2.11 provides all of the components that are required to build a fully fledged OpenId Conn
All versions of Apache Santuario - XML Security for Java prior to 2.2.3 and 2.1.7 are vulnerable to an issue where the "
Token confusion in Apache CXF's JwtAccessTokenValidator allows an attacker holding a valid JWT issued for one Resource S
A SSRF vulnerability in WADL service description in versions of Apache CXF before 4.0.5, 3.6.4 and 3.5.9 allows an attac
The OAuth2 Hawk and JOSE MAC Validation code in Apache CXF prior to 3.0.13 and 3.1.x prior to 3.1.10 is not using a cons
EUVD-2026-36397
NVD
CVE.org
EPSS
Vulnrichment
VulDB
Exploit-DB