CVE-2026-50629
Apache CXF OAuth2 Log Injection via Unsanitized Client Identifier
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 Maven artifacts (1)
| Artifact | Affected versions | Fixed in |
|---|---|---|
| org.apache.cxf » cxf-rt-rs-security-oauth2 | < 4.1.7>= 4.2.0, < 4.2.2 | 4.1.7, 4.2.2 |
Blast radius
28% of the dependent artifacts (179) still pull an affected version in their latest release.
| Depth | Dependent versions |
|---|---|
| Direct | 5,317 |
| 2 hops | 5,886 |
| 3 hops | 4,121 |
| 4 hops | 1,226 |
| 5 hops | 724 |
| 6 hops | 704 |
Most used dependents
- org.apache.camel.springboot » camel-core-starter558 usages
- org.apache.camel.springboot » camel-spring-boot-starter478 usages
- org.apache.camel.quarkus » camel-quarkus-maven-plugin302 usages
- org.apache.camel.quarkus » camel-quarkus-package-maven-plugin152 usages
- org.apache.camel » camel-catalog87 usages
- org.apache.tomee » openejb-cxf-rs55 usages
- org.apache.camel.springboot » camel-jackson-starter37 usages
- org.apache.camel.springboot » camel-servlet-starter31 usages
- org.apache.camel.springboot » camel-http-starter29 usages
- org.teiid.connectors » feature-pack-ws28 usages
- ddf.platform.security » security-rest-cxfwrapper25 usages
- org.wildfly.camel » wildfly-camel-feature-pack25 usages
- org.apache.tomee » tomee-jaxrs24 usages
- org.teiid.connectors » feature-pack-jdbc23 usages
- org.apache.tomee » openejb-cxf23 usages
Computed from the dependency graph of build 20261128.0605 (compile and runtime scopes, nearest version wins). Exclusions and dependency management in consuming projects are not applied, so dependents are potentially affected. When several artifacts are affected, a dependent version that pulls more than one of them is counted once per artifact.
References
| Advisory | NVD CVE-2026-50629 | nvd.nist.gov |
| Package | apache/cxf | github.com |
| Web | thread/xw95po30p8th58ms1no6b0f2375cql00 | lists.apache.org |
| Web | lists/oss-security/2026/06/11/6 | openwall.com |
