CVE-2025-1397
Improper IDP Status Validation via JWT Bearer or SAML2 Bearer Grants in Multiple WSO2 Products Allows Access Token Issuance for Disabled Identity Providers
Check your servers for CVE-2025-1397
The Vulnpocalypse collector sends the package list of each Linux server and of its container images once a day. Vulnpocalypse shows every server where CVE-2025-1397 affects a package, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
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 (CVSS)
CVSS:3.1/AV:N/AC:H/PR:N/UI:N/S:U/C:L/I:L/A:N
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- high: an attack depends on conditions outside the control of the attacker, such as a race
- Privileges required
- none: the attacker does not need an account
- User interaction
- none: nobody has to click or open anything
- Scope
- unchanged: the damage stays inside the vulnerable component
- Impact
- confidentiality low, integrity low, availability none: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.24%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 8.97% of all scored CVEs. Scores of 30 Nov 2026.
The assessment of CISA (SSVC, 3 Nov 2026):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- no: each attack takes manual steps
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-862 Missing Authorization
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WSO2 Universal Gateway |
affected from 4.5.0, before 4.5.0.10
Other versions: unaffected
|
| WSO2 Traffic Manager |
affected from 4.5.0, before 4.5.0.10
Other versions: unaffected
|
| WSO2 API Manager |
unknown before 3.1.0 affected from 3.1.0, before 3.1.0.321 affected from 3.2.0, before 3.2.0.414 affected from 3.2.1, before 3.2.1.50 affected from 4.0.0, before 4.0.0.335 affected from 4.1.0, before 4.1.0.211 affected from 4.2.0, before 4.2.0.150 affected from 4.3.0, before 4.3.0.63 affected from 4.4.0, before 4.4.0.26 affected from 4.5.0, before 4.5.0.10
Other versions: unaffected
|
| WSO2 API Control Plane |
affected from 4.5.0, before 4.5.0.11
Other versions: unaffected
|
| WSO2 Identity Server |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.346 affected from 5.11.0, before 5.11.0.396 affected from 6.0.0, before 6.0.0.232 affected from 6.1.0, before 6.1.0.224 affected from 7.0.0, before 7.0.0.93
Other versions: unaffected
|
| WSO2 Open Banking AM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.370
Other versions: unaffected
|
| WSO2 Open Banking IAM |
unknown before 2.0.0 affected from 2.0.0, before 2.0.0.390
Other versions: unaffected
|
| WSO2 Identity Server as Key Manager |
unknown before 5.10.0 affected from 5.10.0, before 5.10.0.339
Other versions: unaffected
|
|
WSO2 Carbon OAuth
package
org.wso2.carbon.identity.inbound.auth.oauth2:org.wso2.carbon.identity.oauth |
affected from 6.4.2, before 6.4.2.155 affected from 6.4.111, before 6.4.111.134 affected from 6.4.176, before 6.4.176.25 affected from 6.4.180, before 6.4.180.11 affected from 6.8.0, before 6.8.0.49 affected from 6.9.6, before 6.9.6.22 affected from 6.11.21, before 6.11.21.75 affected from 6.13.16, before 6.13.16.15 affected from 6.13.19, before 6.13.19.9 affected from 6.13.27, before 6.13.27.2 affected from 7.0.26, before 7.0.26.58
Other versions: unknown
|
|
JWT Grant Type For OAuth2
package
org.wso2.carbon.extension.identity.oauth2.grantType.jwt:org.wso2.carbon.identity.oauth2.grant.jwt |
affected from 1.0.26, before 1.0.26.6 affected from 1.0.26, before 1.0.26.7 affected from 1.0.31, before 1.0.31.3 affected from 1.1.0, before 1.1.0.2 affected from 2.0.4, before 2.0.4.3 affected from 2.1.1, before 2.1.1.2 affected from 2.2.0, before 2.2.0.3 affected from 2.2.4, before 2.2.4.1 affected from 2.3.1, before 2.3.1.4
Other versions: unknown
|
Is my server affected?
Find the installed version of the package (replace PACKAGE with its name) and compare it with the fixed version of your distribution. Distributions often fix a CVE in a package version of their own, so the version number of the upstream project can mislead.
Debian, Ubuntu
dpkg -l | grep -i PACKAGE
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-1397 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-1397RHEL, Rocky, Alma, Fedora
rpm -q PACKAGE
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-1397Alpine
apk list --installed | grep -i PACKAGEWith Trivy, on the host and for a container image. When a package is affected, it prints the installed and the fixed version:
trivy rootfs --scanners vuln / | grep CVE-2025-1397
trivy image --scanners vuln IMAGE | grep CVE-2025-1397
Vulnpocalypse makes this comparison every day for the package lists of your servers and container images, including language packages (npm, PyPI, Go, Maven and others), and sends the command that installs the fix. Start free with one server and one domain or read how to install the collector.
References
Advisories
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4010/ security.docs.wso2.com · vendor advisory
Source: the record CVE-2025-1397 of the CVE List (CVE Program), CVE Terms of Use; the CISA KEV catalog and the CISA ADP container; EPSS of FIRST; the CWE catalog of MITRE, CWE Terms of Use. The text of the record is shown as published. Data sources and licences.
Vulnpocalypse