Skip to content
RedCVE

CVE-2025-1397WSO2 Universal Gateway missing authorization

WSO2Published:

CVSS score

4.8

Medium

CVSS 3.1 from ed10eef1-636d-4fbe-9993-6890dfa878f8

Exploit probability (EPSS)

0.20%

0.20% chance of exploitation in the next 30 days, higher than 9.38% of all CVEs.

CISA KEV

Not in KEV

No confirmed exploitation reported by CISA so far.

Official description

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.

Source: NVD · CNA: ed10eef1-636d-4fbe-9993-6890dfa878f8

How to fix it, step by step

  1. Check whether you're affected

    Find every system running WSO2 Universal Gateway, WSO2 Traffic Manager, WSO2 API Manager, WSO2 API Control Plane, WSO2 Identity Server As Key Manager and compare its version with the affected versions.

  2. Update to a fixed version

    • Update WSO2 API Manager to 3.1.0.321, 3.2.0.414, 3.2.1.50, 4.0.0.335 or later, on the branch you run.
    • Update WSO2 Carbon OAuth to 6.4.2.155, 6.4.111.134, 6.4.176.25, 6.4.180.11 or later, on the branch you run.
    • Update JWT Grant Type For OAuth2 to 1.0.26.6, 1.0.26.7, 1.0.31.3, 1.1.0.2 or later, on the branch you run.
    • Update WSO2 Identity Server to 5.10.0.339, 5.10.0.346, 5.11.0.396, 6.0.0.232 or later, on the branch you run.
  3. Confirm the fix

    Check that every affected system now reports a fixed version, and recheck the vendor's advisory: fixes are sometimes revised.

Was this useful?

How it can be exploited

Attack vector
Network
Attack complexity
High
Privileges required
None
User interaction
None
Scope
Unchanged
Confidentiality
Low
Integrity
Low
Availability
None

Values in red make the vulnerability easier to exploit or more damaging. CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N

Affected products

Affected productsVersions
WSO2 WSO2 Universal Gateway≥ 4.5.0, < 4.5.0.10
WSO2 WSO2 Traffic Manager≥ 4.5.0, < 4.5.0.10
WSO2 WSO2 API Manager≥ 3.1.0, < 3.1.0.321 · ≥ 3.2.0, < 3.2.0.414 · ≥ 3.2.1, < 3.2.1.50 · ≥ 4.0.0, < 4.0.0.335 · ≥ 4.1.0, < 4.1.0.211 · ≥ 4.2.0, < 4.2.0.150
WSO2 WSO2 API Control Plane≥ 4.5.0, < 4.5.0.11
WSO2 WSO2 Identity Server≥ 5.10.0, < 5.10.0.346 · ≥ 5.11.0, < 5.11.0.396 · ≥ 6.0.0, < 6.0.0.232 · ≥ 6.1.0, < 6.1.0.224 · ≥ 7.0.0, < 7.0.0.93
WSO2 WSO2 Open Banking AM≥ 2.0.0, < 2.0.0.370
WSO2 WSO2 Open Banking IAM≥ 2.0.0, < 2.0.0.390
WSO2 WSO2 Identity Server As Key Manager≥ 5.10.0, < 5.10.0.339
WSO2 WSO2 Carbon OAuth≥ 6.4.2, < 6.4.2.155 · ≥ 6.4.111, < 6.4.111.134 · ≥ 6.4.176, < 6.4.176.25 · ≥ 6.4.180, < 6.4.180.11 · ≥ 6.8.0, < 6.8.0.49 · ≥ 6.9.6, < 6.9.6.22
WSO2 JWT Grant Type For OAuth2≥ 1.0.26, < 1.0.26.6 · ≥ 1.0.26, < 1.0.26.7 · ≥ 1.0.31, < 1.0.31.3 · ≥ 1.1.0, < 1.1.0.2 · ≥ 2.0.4, < 2.0.4.3 · ≥ 2.1.1, < 2.1.1.2

Weakness

Timeline

  1. Published:
  2. Last modified:

Frequently asked questions

Is CVE-2025-1397 being exploited?

There is no confirmed exploitation in CISA's KEV catalog so far. Its EPSS score estimates a 0.2% probability of exploitation in the next 30 days.

What is the CVSS score of CVE-2025-1397?

CVE-2025-1397 has a CVSS 3.1 base score of 4.8 (medium).

Which versions are affected?

Wso2 WSO2 Universal Gateway (≥ 4.5.0, < 4.5.0.10), Wso2 WSO2 Traffic Manager (≥ 4.5.0, < 4.5.0.10), Wso2 WSO2 API Manager (≥ 3.1.0, < 3.1.0.321; ≥ 3.2.0, < 3.2.0.414; ≥ 3.2.1, < 3.2.1.50; ≥ 4.0.0, < 4.0.0.335; ≥ 4.1.0, < 4.1.0.211; ≥ 4.2.0, < 4.2.0.150), Wso2 WSO2 API Control Plane (≥ 4.5.0, < 4.5.0.11), Wso2 WSO2 Identity Server (≥ 5.10.0, < 5.10.0.346; ≥ 5.11.0, < 5.11.0.396; ≥ 6.0.0, < 6.0.0.232; ≥ 6.1.0, < 6.1.0.224; ≥ 7.0.0, < 7.0.0.93), Wso2 WSO2 Open Banking AM (≥ 2.0.0, < 2.0.0.370)

Is there a patch for CVE-2025-1397?

The official record links to vendor advisories or patches; see “What to do” above.

References

Data: NVD, CVE.org (cvelistV5), CISA KEV and FIRST EPSS. Summary written by RedCVE with AI assistance from the official data.