Missing Authentication for Critical Function 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.37% (29th 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 IDSNYK-JAVA-ORGAPACHECXF-17339178
  • published15 Jun 2026
  • disclosed12 Jun 2026
  • creditGuanping Zhang

Introduced: 12 Jun 2026

CVE-2026-50623  (opens in a new tab)
CWE-306  (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 Missing Authentication for Critical Function due to a missing 'throw' keyword in the security context check within the TokenIntrospectionService method. An attacker can gain unauthorized access to the /services/oauth2/introspect endpoint by sending unauthenticated network requests. This is only exploitable if authentication has not been enabled on the service.

CVSS Base Scores

version 4.0
version 3.1