Auth bypass in Wso2 Jwt Grant Type For Oauth2

CVE-2025-1397

When utilizing JWT Bearer or SAML2 Bearer grant types, the system fails to validate the status of the Identity Provider (IDP) before issuing access tokens. This oversight permits tokens to be generated even when the associated IDP has been disabled. A malicious actor could leverage this vulnerability to obtain access tokens by targeting a disabled IDP. This could enable them to bypass intended security controls and potentially access protected resources that should be inaccessible due to the IDP's disabled state.

Vulnerability class: Broken Access Control

Published .

CVSS v3 metric

CVSS v3 base score 4.8 (Medium). Vector: CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N.

EPSS exploit prediction

No EPSS score from FIRST.org yet. New CVEs usually get one within a few days; no score means no signal yet, not low risk. How EPSS works.

Affected products

Weakness classification (CWE)

References

Frequently asked questions

What is CVE-2025-1397?
CVE-2025-1397 is a medium-severity vulnerability in Wso2 Jwt Grant Type For Oauth2, classified under Missing Authorization. CVSS score: 4.8/10. Published 2026-11-03.
How severe is CVE-2025-1397?
Medium severity. CVSS v3 base score is 4.8 out of 10.