CVE-2025-9312
Improper Certificate-Based Authentication Enforcement in Multiple WSO2 Products
Check your servers for CVE-2025-9312
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-9312 affects org.wso2.carbon.identity.auth.service, with the command that installs the fix. The free plan covers one server and one domain and does not need a credit card.
Description
A missing authentication enforcement vulnerability exists in the mutual TLS (mTLS) implementation used by System REST APIs and SOAP services in multiple WSO2 products. Due to improper validation of client certificate–based authentication in certain default configurations, the affected components may permit unauthenticated requests even when mTLS is enabled. This condition occurs when relying on the default mTLS settings for System REST APIs or when the mTLS authenticator is enabled for SOAP services, causing these interfaces to accept requests without enforcing additional authentication.
Successful exploitation allows a malicious actor with network access to the affected endpoints to gain administrative privileges and perform unauthorized operations. The vulnerability is exploitable only when the impacted mTLS flows are enabled and accessible in a given deployment. Other certificate-based authentication mechanisms such as Mutual TLS OAuth client authentication and X.509 login flows are not affected, and APIs served through the API Gateway of WSO2 API Manager remain unaffected.
Severity (CVSS)
CVSS:3.1/AV:N/AC:L/PR:N/UI:N/S:U/C:H/I:H/A:H
- Attack vector
- network: an attacker can reach the vulnerable part over the network, often from the internet
- Attack complexity
- low: an attack works without special conditions
- 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 high, integrity high, availability high: what an attacker can read (confidentiality), change (integrity) or stop (availability)
Exploitation
EPSS 0.25%: the probability of exploitation activity in the next 30 days, from the EPSS model of FIRST. The score is higher than 17.5% of all scored CVEs. Scores of 1 Dec 2026.
The assessment of CISA (SSVC, 18 Nov 2025):
- Exploitation
- none: CISA did not find evidence of exploitation or a public proof of concept
- Automatable
- yes: an attacker can automate the attack across many targets
- Technical impact
- partial: limited control or limited data
Weakness
- CWE-306 Missing Authentication for Critical Functionality
Affected products
As the CNA lists them.
| Product | Versions |
|---|---|
| WSO2 API Manager |
unknown before 2.2.0 affected from 2.2.0, before 2.2.0.58 affected from 2.5.0, before 2.5.0.84 affected from 2.6.0, before 2.6.0.145 affected from 3.0.0, before 3.0.0.175 affected from 3.1.0, before 3.1.0.339 affected from 3.2.0, before 3.2.0.439 affected from 3.2.1, before 3.2.1.59 affected from 4.0.0, before 4.0.0.359 affected from 4.1.0, before 4.1.0.222 affected from 4.2.0, before 4.2.0.161 affected from 4.3.0, before 4.3.0.73 affected from 4.4.0, before 4.4.0.37 affected from 4.5.0, before 4.5.0.21
Other versions: unaffected
|
| WSO2 API Control Plane |
affected from 4.5.0, before 4.5.0.22
Other versions: unaffected
|
| WSO2 Traffic Manager |
affected from 4.5.0, before 4.5.0.20
Other versions: unaffected
|
| WSO2 Universal Gateway |
affected from 4.5.0, before 4.5.0.20
Other versions: unaffected
|
| WSO2 Identity Server as Key Manager |
unknown before 5.3.0 affected from 5.3.0, before 5.3.0.39 affected from 5.5.0, before 5.5.0.52 affected from 5.6.0, before 5.6.0.74 affected from 5.7.0, before 5.7.0.124 affected from 5.9.0, before 5.9.0.175 affected from 5.10.0, before 5.10.0.358
Other versions: unaffected
|
| WSO2 Identity Server |
unknown before 5.2.0 affected from 5.2.0, before 5.2.0.33 affected from 5.3.0, before 5.3.0.34 affected from 5.4.0, before 5.4.0.33 affected from 5.4.1, before 5.4.1.37 affected from 5.5.0, before 5.5.0.51 affected from 5.6.0, before 5.6.0.59 affected from 5.7.0, before 5.7.0.125 affected from 5.8.0, before 5.8.0.109 affected from 5.9.0, before 5.9.0.168 affected from 5.10.0, before 5.10.0.368 affected from 5.11.0, before 5.11.0.411 affected from 6.0.0, before 6.0.0.243 affected from 6.1.0, before 6.1.0.241 affected from 7.0.0, before 7.0.0.116 affected from 7.1.0, before 7.1.0.23
Other versions: unaffected
|
| WSO2 Open Banking KM |
unknown before 1.4.0 affected from 1.4.0, before 1.4.0.132 affected from 1.5.0, before 1.5.0.122
Other versions: unaffected
|
| WSO2 Open Banking AM |
unknown before 1.4.0 affected from 1.4.0, before 1.4.0.138 affected from 1.5.0, before 1.5.0.139 affected from 2.0.0, before 2.0.0.388
Other versions: unaffected
|
| WSO2 Open Banking IAM |
affected from 2.0.0, before 2.0.0.408
Other versions: unaffected
|
|
org.wso2.carbon.identity.auth.service
package
org.wso2.carbon.identity.auth.service |
affected from 1.1.1, before 1.1.1.2 affected from 1.1.16, before 1.1.16.3 affected from 1.1.18, before 1.1.18.4 affected from 1.1.20, before 1.1.20.5 affected from 1.1.26, before 1.1.26.7 affected from 1.3.6, before 1.3.6.8 affected from 1.4.0, before 1.4.0.18 affected from 1.4.25, before 1.4.25.24 affected from 1.4.52, before 1.4.52.4 affected from 1.6.1, before 1.6.1.11 affected from 1.7.1, before 1.7.1.4 affected from 1.8.11, before 1.8.11.6 affected from 1.8.41, before 1.8.41.2 affected from 1.9.4, before 1.9.4.4 affected from 1.9.18, before 1.9.18.2 unaffected from 5.5.2 up to and including 5.5.2.*
Other versions: unknown
|
Is my server affected?
Find the installed version of org.wso2.carbon.identity.auth.service 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 org.wso2.carbon.identity.auth.service
# packages whose changelog names the CVE (fixed in the installed version)
zgrep -l CVE-2025-9312 /usr/share/doc/*/changelog.Debian.gz
# Ubuntu
pro fix CVE-2025-9312RHEL, Rocky, Alma, Fedora
rpm -q org.wso2.carbon.identity.auth.service
# lists the advisory while the fix is not installed
dnf updateinfo list --cve CVE-2025-9312Alpine
apk list --installed | grep -i org.wso2.carbon.identity.auth.serviceWith 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-9312
trivy image --scanners vuln IMAGE | grep CVE-2025-9312
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/2025/WSO2-2025-4494/ security.docs.wso2.com · vendor advisory
Source: the record CVE-2025-9312 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