← Back to CVE Explorer

CVE-2025-1397

Full vulnerability record from the local CVENow database.

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.

Severity
MEDIUM
CVSS score
4.8 (v3.1)
Vulnerability status
Received
Source identifier
ed10eef1-636d-4fbe-9993-6890dfa878f8
Published
2026-11-03 07:17:19.267000
Last modified
2026-11-03 07:17:19.267000
View original CVE JSON
{
  "id": "CVE-2025-1397",
  "sourceIdentifier": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
  "published": "2026-11-03T07:17:19.267",
  "lastModified": "2026-11-03T07:17:19.267",
  "vulnStatus": "Received",
  "cveTags": [],
  "descriptions": [
    {
      "lang": "en",
      "value": "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.\n\nA 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."
    }
  ],
  "affected": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "affectedData": [
        {
          "vendor": "WSO2",
          "product": "WSO2 Universal Gateway",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4.5.0",
              "lessThan": "4.5.0.10",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Traffic Manager",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4.5.0",
              "lessThan": "4.5.0.10",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 API Manager",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "3.1.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "3.1.0",
              "lessThan": "3.1.0.321",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "3.2.0",
              "lessThan": "3.2.0.414",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "3.2.1",
              "lessThan": "3.2.1.50",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.0.0",
              "lessThan": "4.0.0.335",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.1.0",
              "lessThan": "4.1.0.211",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.2.0",
              "lessThan": "4.2.0.150",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.3.0",
              "lessThan": "4.3.0.63",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.4.0",
              "lessThan": "4.4.0.26",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "4.5.0",
              "lessThan": "4.5.0.10",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 API Control Plane",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "4.5.0",
              "lessThan": "4.5.0.11",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Identity Server",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.10.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "5.10.0",
              "lessThan": "5.10.0.346",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "5.11.0",
              "lessThan": "5.11.0.396",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.0.0",
              "lessThan": "6.0.0.232",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.1.0",
              "lessThan": "6.1.0.224",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "7.0.0",
              "lessThan": "7.0.0.93",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Open Banking AM",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "2.0.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "2.0.0",
              "lessThan": "2.0.0.370",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Open Banking IAM",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "2.0.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "2.0.0",
              "lessThan": "2.0.0.390",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Identity Server as Key Manager",
          "defaultStatus": "unaffected",
          "versions": [
            {
              "version": "0",
              "lessThan": "5.10.0",
              "versionType": "custom",
              "status": "unknown"
            },
            {
              "version": "5.10.0",
              "lessThan": "5.10.0.339",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "WSO2 Carbon OAuth",
          "defaultStatus": "unknown",
          "packageName": "org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth",
          "versions": [
            {
              "version": "6.4.2",
              "lessThan": "6.4.2.155",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.4.111",
              "lessThan": "6.4.111.134",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.4.176",
              "lessThan": "6.4.176.25",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.4.180",
              "lessThan": "6.4.180.11",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.8.0",
              "lessThan": "6.8.0.49",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.9.6",
              "lessThan": "6.9.6.22",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.11.21",
              "lessThan": "6.11.21.75",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.13.16",
              "lessThan": "6.13.16.15",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.13.19",
              "lessThan": "6.13.19.9",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "6.13.27",
              "lessThan": "6.13.27.2",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "7.0.26",
              "lessThan": "7.0.26.58",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        },
        {
          "vendor": "WSO2",
          "product": "JWT Grant Type For OAuth2",
          "defaultStatus": "unknown",
          "packageName": "org.wso2.carbon.extension.identity.oauth2.grantType.jwt:org.wso2.carbon.identity.oauth2.grant.jwt",
          "versions": [
            {
              "version": "1.0.26",
              "lessThan": "1.0.26.6",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "1.0.26",
              "lessThan": "1.0.26.7",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "1.0.31",
              "lessThan": "1.0.31.3",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "1.1.0",
              "lessThan": "1.1.0.2",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "2.0.4",
              "lessThan": "2.0.4.3",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "2.1.1",
              "lessThan": "2.1.1.2",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "2.2.0",
              "lessThan": "2.2.0.3",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "2.2.4",
              "lessThan": "2.2.4.1",
              "versionType": "custom",
              "status": "affected"
            },
            {
              "version": "2.3.1",
              "lessThan": "2.3.1.4",
              "versionType": "custom",
              "status": "affected"
            }
          ]
        }
      ]
    }
  ],
  "metrics": {
    "cvssMetricV31": [
      {
        "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
        "type": "Secondary",
        "cvssData": {
          "version": "3.1",
          "vectorString": "CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N",
          "baseScore": 4.8,
          "baseSeverity": "MEDIUM",
          "attackVector": "NETWORK",
          "attackComplexity": "HIGH",
          "privilegesRequired": "NONE",
          "userInteraction": "NONE",
          "scope": "UNCHANGED",
          "confidentialityImpact": "LOW",
          "integrityImpact": "LOW",
          "availabilityImpact": "NONE"
        },
        "exploitabilityScore": 2.2,
        "impactScore": 2.5
      }
    ]
  },
  "weaknesses": [
    {
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8",
      "type": "Secondary",
      "description": [
        {
          "lang": "en",
          "value": "CWE-862"
        }
      ]
    }
  ],
  "references": [
    {
      "url": "https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4010/",
      "source": "ed10eef1-636d-4fbe-9993-6890dfa878f8"
    }
  ]
}