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. 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.
- Products
- Not specified
- Affected versions
- Not specified
- Fixed versions
- Not specified
- CVEs
- CVE-2026-50629
- Confirmed fixed CVEs
- Not specified
- Updated in this feed
- 7 Nov 2026, 00:36 UTC · Revision 1
Source evidence
Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier
core-osv · Original sourcePublished 12 Jun 2026, 08:57 UTC
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.
osv:CVE-2026-50629
Complete source record
{
"id": "d164e21c61f05d583fece36b13d9322c28dbe446da2b0d91dfd93a911285a855",
"url": "https://osv.dev/vulnerability/CVE-2026-50629",
"method": "structured",
"payload": {
"kind": "advisory",
"title": "Apache CXF: OAuth2: Log Injection via Unsanitized Client Identifier",
"summary": "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.",
"evidence": "osv:CVE-2026-50629",
"products": [],
"severity": "medium",
"structured": {
"id": "CVE-2026-50629",
"aliases": [
"CVE-2026-50629",
"GHSA-f8p7-h97q-7vx7"
],
"metrics": [
{
"type": "CVSS_V3",
"score": "CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:N/I:L/A:N"
}
],
"affected": [
{
"ranges": [
{
"repo": "https://github.com/apache/cxf",
"type": "GIT",
"events": [
{
"introduced": "0"
},
{
"fixed": "82e9f60f994a7fad2d89f3c94e9090a4a8990c70"
},
{
"introduced": "04ccbfd709eef8f4af53d6237514fbe9db7ea81f"
},
{
"fixed": "d2b2776cd44a8d2f391194d90f50ce7b3d61a1f6"
}
],
"database_specific": {
"extracted_events": [
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "0"
},
{
"fixed": "4.1.7"
}
],
"source": "CPE_RANGE"
},
{
"cpe": "cpe:2.3:a:apache:cxf:*:*:*:*:*:*:*:*",
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.2"
}
],
"source": "CPE_RANGE"
}
]
}
}
],
"versions": [
"cxf-4.1.6",
"cxf-4.2.1",
"cxf-4.1.5",
"cxf-4.2.0",
"cxf-4.1.4",
"cxf-4.1.3",
"cxf-4.1.2",
"cxf-4.1.1",
"cxf-4.1.0",
"cxf-4.0.4",
"cxf-4.0.3",
"cxf-4.0.2",
"cxf-4.0.1",
"cxf-4.0.0",
"cxf-3.5.0",
"cxf-3.4.1",
"cxf-3.4.0",
"cxf-3.3.3",
"cxf-3.3.2",
"cxf-3.3.1",
"cxf-3.3.0",
"cxf-3.2.5",
"cxf-3.2.4",
"cxf-3.2.3",
"cxf-3.2.2",
"cxf-3.2.1",
"cxf-3.2.0",
"cxf-3.1.4",
"cxf-3.1.3",
"cxf-3.1.2",
"cxf-3.1.1",
"cxf-3.1.0",
"cxf-3.0.0",
"cxf-3.0.0-milestone2",
"cxf-2.7.2",
"cxf-2.7.1",
"cxf-2.7.0",
"cxf-2.6.1",
"cxf-2.6.0",
"cxf-2.5.1",
"cxf-2.5.0",
"cxf-2.4.0",
"cxf-2.3.0",
"cxf-2.2.2",
"cxf-2.2.1",
"cxf-2.2",
"cxf-2.1.2",
"cxf-2.1"
],
"database_specific": {
"source": "https://storage.googleapis.com/cve-osv-conversion/osv-output/CVE-2026-50629.json"
}
}
],
"modified": "2026-10-28T02:30:48.303046699Z",
"provider": "osv",
"references": [
"https://repo.maven.apache.org/maven2",
"https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50629.json",
"https://lists.apache.org/thread/xw95po30p8th58ms1no6b0f2375cql00",
"https://nvd.nist.gov/vuln/detail/CVE-2026-50629"
],
"provider_metadata": {
"cwe_ids": [
"CWE-93"
],
"cna_assigner": "apache",
"unresolved_ranges": [
{
"extracted_events": [
{
"range": [
{
"introduced": "4.2.0"
},
{
"fixed": "4.2.2"
},
{
"introduced": "4.0.0"
},
{
"fixed": "4.1.7"
},
{
"fixed": "3.6.12"
}
],
"source": "AFFECTED_FIELD",
"strategy": "StandardRange"
}
]
}
],
"osv_generated_from": "https://github.com/CVEProject/cvelistV5/tree/main/cves/2026/50xxx/CVE-2026-50629.json"
}
},
"related_cves": [
{
"value": "CVE-2026-50629",
"evidence": "/id"
}
],
"security_relevant": true,
"severity_evidence": "/severity/0/score"
},
"source_id": "core-osv",
"document_id": 516668,
"published_at": "2026-06-12T08:57:22.534+00:00"
}