Home / WSO2 / Identity Server / CVE-2025-12107
CVE-2025-12107: is it exploited, and which versions of WSO2 Identity Server are affected and fixed?
CVE-2025-12107 is a command injection vulnerability in WSO2 Identity Server. It is not known to be exploited: it is not in CISA's Known Exploited Vulnerabilities catalog (catalog 2026.11.30, read December 3, 2026, 18:39 UTC). Affected: Identity Server from 5.11.0 before 5.11.0.299, Identity Server from 6.0.0 before 6.0.0.140 and Identity Server from 6.1.0 before 6.1.0.122 (CVE record by WSO2). Fixed in 5.11.0.299, 6.0.0.140 and 6.1.0.122 (CVE record by WSO2). Severity: High (8.4, CVSS 3.1, from WSO2).
Data checked December 3, 2026: last read CISA KEV December 3, 2026, 18:39 UTC, CVE record November 19, 2026, 07:10 UTC and NVD November 19, 2026, 07:13 UTC.
What is CVE-2025-12107?
Server-Side Template Injection via Velocity Template Engine in Multiple WSO2 Products Allows Remote Code Execution
The Velocity template engine, utilized by the affected product, accepts and processes template syntax without sufficient sanitization or validation of user-controlled input. This allows an authenticated administrator to inject arbitrary template syntax. Successful exploitation enables an attacker with administrative privileges to execute arbitrary template code on the server. This can lead to significant security consequences, including remote code execution, manipulation of data, and unauthorized access to sensitive information.
From the CVE record by WSO2, last updated September 3, 2026, 13:25 UTC.
Which versions are affected, and which fix it?
| Vendor | Product | Affected | Fixed or not affected from |
|---|---|---|---|
| WSO2 | Identity Server | from 5.11.0 before 5.11.0.299 from 6.0.0 before 6.0.0.140 from 6.1.0 before 6.1.0.122 | 5.11.0.299, 6.0.0.140, 6.1.0.122 |
As the CVE record by WSO2 states it, last updated September 3, 2026. Version ranges are the CNA's; a version the record calls not affected is usually the fix.
Which products and versions does the NVD list as affected?
| Vendor | Product | Versions | Type |
|---|---|---|---|
| wso2 | identity server | 5.11.0 | application |
NVD analysis (status Modified), last modified September 3, 2026, 14:17 UTC.
How severe is CVE-2025-12107?
| Score | Version | Vector | Source |
|---|---|---|---|
| High 8.4 | CVSS 3.1 | CVSS:3.1/AV:A/AC:L/PR:H/UI:N/S:C/C:H/I:H/A:H | WSO2 |
| High 7.2 | CVSS 3.1 | CVSS:3.1/AV:N/AC:L/PR:H/UI:N/S:U/C:H/I:H/A:H | NVD |
Each score is shown as its source gave it: the CNA that wrote the record, CISA's ADP (vulnrichment) and the NVD. They can differ.
What the ratings mean: in CVSS 3 and 4, scores run from 0 to 10, with Low 0.1 to 3.9, Medium 4.0 to 6.9, High 7.0 to 8.9 and Critical 9.0 to 10.0. CVSS 2 has no Critical band: its High runs from 7.0 to 10.0. The vector lists how the flaw is reached (network, local), what an attacker needs (privileges, a user's click) and what it can harm.
Is CVE-2025-12107 exploited in the wild?
- CISA KEV
- Not listed (catalog 2026.11.30)
- CISA SSVC
- Exploitation: none; automatable: yes; technical impact: total (CISA ADP, February 20, 2026)
- EPSS
- 0.69% probability of exploitation activity in the next 30 days, percentile 54.2 (FIRST EPSS, scores of December 3, 2026)
What kind of flaw is it?
- CWE-77 Improper Neutralization of Special Elements used in a Command
- CWE-94 Improper Control of Generation of Code
How do I fix it? (from the CVE record)
Follow the instructions given on https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/#solution
Where are the vendor advisories and references?
- https://security.docs.wso2.com/en/latest/security-announcements/security-advisories/2026/WSO2-2025-4517/ vendor-advisory
Who found and reported it?
- Robert C. Raducioiu (finder)
As published in the CVE record; contact details are removed.
When was it published, and where is the official record?
- Reserved
- October 23, 2025
- Published
- February 19, 2026, 10:04 UTC
- CVE record updated
- September 3, 2026, 13:25 UTC by WSO2
- NVD
- Modified, last modified September 3, 2026, 14:17 UTC
- Last checked
- CVE list November 19, 2026, 07:10 UTC; NVD November 19, 2026, 07:13 UTC; KEV December 3, 2026, 18:39 UTC; EPSS December 3, 2026
- Official record
- cve.org · NVD
What other CVEs affect Identity Server?
- Apr 18, 2022CVE-2022-29464 Wso2 Api Manager: path traversal (reading or writing files outside the intended folder) exploited
- May 11, 2022CVE-2021-42646 Wso2 Api Manager: XML external entity (XXE)
- Apr 21, 2022CVE-2022-29548 Wso2 Api Manager: cross-site scripting (XSS)
- Dec 7, 2021CVE-2021-36760 Wso2 Api Manager: cross-site scripting (XSS)
- Apr 5, 2021CVE-2020-17453 Wso2 Api Manager: cross-site scripting (XSS)
- Aug 27, 2020CVE-2020-24706 Wso2 Api Manager: cross-site scripting (XSS)
- Aug 27, 2020CVE-2020-24705 Wso2 Api Manager: n/a
- Aug 27, 2020CVE-2020-24704 Wso2 Api Manager: cross-site scripting (XSS)
Questions about CVE-2025-12107
Is CVE-2025-12107 exploited in the wild?
Not as far as CISA knows: it is not in the Known Exploited Vulnerabilities catalog, read December 3, 2026, 18:39 UTC. FIRST's EPSS gives it a 0.69% chance of exploitation activity in the next 30 days (scores of December 3, 2026).
Which versions of WSO2 Identity Server are affected by CVE-2025-12107?
Identity Server from 5.11.0 before 5.11.0.299, Identity Server from 6.0.0 before 6.0.0.140 and Identity Server from 6.1.0 before 6.1.0.122, per the CVE record by WSO2. The tables above give every range the sources list.
Which version fixes CVE-2025-12107?
5.11.0.299, 6.0.0.140 and 6.1.0.122, per the CVE record by WSO2. Check the vendor's advisory before you rely on it.
How severe is CVE-2025-12107?
High (8.4, CVSS 3.1, from WSO2). The severity table above shows each score with its source.
Where is the official record of CVE-2025-12107?
The CVE Program's record is at cve.org and the NVD's at nvd.nist.gov. For a fix, the vendor's own advisory is the one to follow.