5.3medium
Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier
- Severity
- 5.3medium CVSS:3.1 by CISA-ADP
- Exploit likelihood
- 0.44% (higher than 39% of CVEs; EPSS, by FIRST)
- Published
- Last changed
- Assigned by
- apache
- Also known as
- GHSA-f8p7-h97q-7vx7
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 or 3.6.12, which fixes this issue.
Affected
| Product or package | Versions | Reported by |
|---|---|---|
| org.apache.cxf:cxf-rt-rs-security-oauth2 | from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12 | CVE List |
| org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven) | from 4.2.0 before 4.2.2, before 4.1.7 | GitHub Advisory Database |
| apache cxf | before 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2 | NVD |
All scores
| CISA-ADP | 5.3medium CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N |
| GitHub | 8.2high CVSS:3.1 | CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N |
Classification
SSVC (CISA-ADP): exploitation none, automatable yes, technical impact partial.
What each source says
CVE List
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.
GitHub Advisory Database
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.
NVD (es)
El parámetro ’clientId’ de las solicitudes HTTP entrantes se concatena directamente en los mensajes de advertencia del registro del servidor OAuth2 sin sanear los caracteres de control. Esto permite a un atacante inyectar contenido arbitrario, incluyendo entradas de registro falsas, en los archivos de registro del servidor. Se recomienda a los usuarios actualizar a las versiones 4.2.2 o 4.1.7, que corrigen este problema.
References
| https://lists.apache.org/thread/xw95po30p8th58ms1no6b0f2375cql00 | vendor-advisory, web | |
| http://www.openwall.com/lists/oss-security/2026/06/11/6 | mailing-list, third-party-advisory, web | |
| https://nvd.nist.gov/vuln/detail/CVE-2026-50629 | advisory | |
| https://github.com/apache/cxf | package | |
Sources
| Source | Record | Licence |
|---|---|---|
| CVE List | CVE-2026-50629 changed 2026-08-07 | CVE Terms of Use |
| GitHub Advisory Database | GHSA-f8p7-h97q-7vx7 changed 2026-08-20 | CC-BY-4.0 |
| NVD | CVE-2026-50629 changed 2026-11-05 | Public domain |