CVE-2026-50623
JSON

4.8medium

Apache CXF: Authentication Bypass in OAuth2 TokenIntrospectionService

Severity
4.8medium CVSS:3.1 by CISA-ADP
Exploit likelihood
0.37% (higher than 32% of CVEs; EPSS, by FIRST)
Published
Last changed
Assigned by
apache
Also known as
GHSA-542g-m3fx-q86f

Description

An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. Due to a missing 'throw' keyword in the security context check, the introspection endpoint (/services/oauth2/introspect) can be accessed by any unauthenticated network attacker. However note that this is a safeguard only in the case that someone forgot to enable authentication on the service. Users are recommended to upgrade to version 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-ADP4.8medium CVSS:3.1CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
GitHub6.5medium CVSS:3.1CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:L/I:L/A:N

Classification

CWE-287

SSVC (CISA-ADP): exploitation none, automatable no, technical impact total.

What each source says

CVE List

An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. Due to a missing 'throw' keyword in the security context check, the introspection endpoint (/services/oauth2/introspect) can be accessed by any unauthenticated network attacker. However note that this is a safeguard only in the case that someone forgot to enable authentication on the service. Users are recommended to upgrade to version 4.2.2 or 4.1.7 or 3.6.12, which fixes this issue.

GitHub Advisory Database

An authentication bypass vulnerability exists in the OAuth2 TokenIntrospectionService in Apache CXF. Due to a missing 'throw' keyword in the security context check, the introspection endpoint (/services/oauth2/introspect) can be accessed by any unauthenticated network attacker. However note that this is a safeguard only in the case that someone forgot to enable authentication on the service. Users are recommended to upgrade to version 4.2.2 or 4.1.7, which fixes this issue.

NVD (es)

Existe una vulnerabilidad de omisión de autenticación en el servicio OAuth2 TokenIntrospectionService en Apache CXF. Debido a la ausencia de la palabra clave ’throw’ en la verificación del contexto de seguridad, el endpoint de introspección (/services/oauth2/introspect) puede ser accedido por cualquier atacante de red no autenticado. Sin embargo, tenga en cuenta que esto es una salvaguarda solo en el caso de que alguien olvidara habilitar la autenticación en el servicio. Se recomienda a los usuarios actualizar a la versión 4.2.2 o 4.1.7, que corrige este problema.

References

Sources

SourceRecordLicence
CVE ListCVE-2026-50623 changed 2026-08-07CVE Terms of Use
GitHub Advisory DatabaseGHSA-542g-m3fx-q86f changed 2026-08-20CC-BY-4.0
NVDCVE-2026-50623 changed 2026-11-05Public domain