Token Validation Flaw in WSO2 Products Exposing Security Risks
CVE-2025-1397

4.8MEDIUM

What is CVE-2025-1397?

A vulnerability exists in WSO2 products where the system does not properly validate the status of the Identity Provider (IDP) before issuing access tokens when using JWT Bearer or SAML2 Bearer grant types. This flaw allows attackers to generate access tokens even if the associated IDP is disabled. By exploiting this issue, malicious actors can bypass security mechanisms, potentially gaining unauthorized access to sensitive resources that should be restricted due to the IDP's disabled status. Organizations using WSO2 products should review their configurations and apply necessary security measures to mitigate this risk.

Affected Version(s)

JWT Grant Type For OAuth2 1.0.26 < 1.0.26.6

JWT Grant Type For OAuth2 1.0.26 < 1.0.26.7

JWT Grant Type For OAuth2 1.0.31 < 1.0.31.3

References

CVSS V3.1

Score:
4.8
Severity:
MEDIUM
Confidentiality:
Low
Integrity:
Low
Availability:
Low
Attack Vector:
Network
Attack Complexity:
High
Privileges Required:
None
User Interaction:
None
Scope:
Unchanged

Timeline

  • Vulnerability published

  • Vulnerability Reserved

.