CVE-2026-50629
JSON

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 packageVersionsReported by
org.apache.cxf:cxf-rt-rs-security-oauth2from 4.2.0 before 4.2.2, from 4.0.0 before 4.1.7, before 3.6.12CVE List
org.apache.cxf:cxf-rt-rs-security-oauth2 (Maven)from 4.2.0 before 4.2.2, before 4.1.7GitHub Advisory Database
apache cxfbefore 3.6.12, from 4.0.0 before 4.1.7, from 4.2.0 before 4.2.2NVD

All scores

CISA-ADP5.3medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N
GitHub8.2high CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:L/A:N

Classification

CWE-93

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

Sources

SourceRecordLicence
CVE ListCVE-2026-50629 changed 2026-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-f8p7-h97q-7vx7 changed 2026-08-20CC-BY-4.0
NVDCVE-2026-50629 changed 2026-11-05Public domain