CRLF Injection Affecting org.apache.cxf:cxf-rt-rs-security-oauth2 package, versions [,4.1.7)[4.2.0,4.2.2)


Severity

Recommended
0.0
medium
0
10

CVSS assessment by Snyk's Security Team. Learn more

Threat Intelligence

EPSS
0.47% (37th percentile)

Do your applications use this vulnerable package?

In a few clicks we can analyze your entire application and see what components are vulnerable in your application, and suggest you quick fixes.

Test your applications

Snyk Learn

Learn about CRLF Injection vulnerabilities in an interactive lesson.

Start learning
  • Snyk IDSNYK-JAVA-ORGAPACHECXF-17339177
  • published15 Jun 2026
  • disclosed12 Jun 2026
  • creditGuanping Zhang

Introduced: 12 Jun 2026

CVE-2026-50629  (opens in a new tab)
CWE-93  (opens in a new tab)

How to fix?

Upgrade org.apache.cxf:cxf-rt-rs-security-oauth2 to version 4.1.7, 4.2.2 or higher.

Overview

org.apache.cxf:cxf-rt-rs-security-oauth2 is a services framework.

Affected versions of this package are vulnerable to CRLF Injection via the clientId parameter, which is directly concatenated into server log warning messages without sanitizing control characters. An attacker can manipulate log files by injecting arbitrary content, including fake log entries, through specially crafted HTTP requests.

CVSS Base Scores

version 4.0
version 3.1